Plantilla:Template/doc Ver historial

Revisión del 17:25 5 jul 2017 de Carloslaso (discusión | contribs.) (Página creada con «{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> __NOTOC__ The '''template link''' template is a simple w:Macro (comput...»)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
This is a documentation subpage for Plantilla:Template.
It contains usage information, categories and other content that is not part of the original plantilla page.


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:

{{Tl|Example}}
generates
{{Example}}

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.

Parámetros de la plantilla

ParámetroDescripciónTipoEstado
template name1

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

Cadenaobligatorio

More complex variations are described below.

Example

Code Result
{{Tl|Void}} {{Void}}
{{Tl2|X1}} {{X1}}
{{Tl2|SISTER=M:|3x}} {{3x}}
{{Tl2|SISTER=wikibooks|LANG=de:|WP}} {{WP}}
{{Tl|1==)}} {{=)}}