Modèle:Tlnf

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ètre | Description | Type | État | |
---|---|---|---|---|
template name | 1 | the template name without the namespace prefix “Template:”, which is added automatically | Chaîne | obligatoire |
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 |
La documentation ci-dessus est inclus depuis Modèle:Tlnf/doc. (éditer | historique) Les éditeurs peuvent tester ce modèle dans sandbox (créer | miroir) et testcases (créer). Sous-pages de ce modèle. |