« Modèle:Tlnf » : différence entre les versions

De Adadov.net wiki
Page créée avec « <includeonly>[[Template:{{{1}}}|Template:{{{1}}}]]</includeonly><noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </n... »
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<includeonly>[[Template:{{{1}}}|Template:{{{1}}}]]</includeonly><noinclude>
<includeonly>[[Template:{{{1}}}|Modèle:{{{1}}}]]</includeonly><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
</noinclude>

Version du 6 février 2015 à 01:32

Documentation icon Documentation Modèle[voir] [éditer] [historique] [purger]

Utilisation

The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation. A short example is that the code:

{{tlnf|Exemple}}
generates
Modèle:Exemple

This template displays a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.

Paramètres du modèle[Modifier les données du modèle]

ParamètreDescriptionTypeÉtat
template name1

the template name without the namespace prefix “Template:”, which is added automatically

Chaîneobligatoire

More complex variations are described below.

Exemple

Code Résultat Notes Mnémonique
{{tl|Void}} {{Void}} Utilisation standard Template Link
{{tlnf|Void}} {{Modèle:Void}} Affichage du nom complet Template Link Normal Full