आकृति:Tl2

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश


Template documentation[view] [edit] [history] [purge]

This is the आकृति:Tlpad template.

आकृति:Tpad is similar to आकृति:Tlpad. Tl stands for Template link. आकृति:Tpad is a 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.

आकृति:Tpad differs from आकृति:Tpad in that it displays with a wider, monospaced text style (like आकृति:Plaincode) and also takes the named parameters |sister= and |lang= so that it may also be used to list and link templates on other English and non-English-language sister projects.

Related template[सम्पादन करी]

आकृति:Tlpad displays with the same enhanced presentation and can also expand several placeholder parameters to generate a sample template call.

Usage[सम्पादन करी]

{{tl2|template_name}}
equivalent to आकृति:Plaincode
{{tl2 |sister=sister_id |template_name}}
to display a template from a sister project (e.g. आकृति:Plaincode for Wikiversity)
{{tl2 |lang=lang_id |sister=sister_id |template_name}}
to display a template from a sister project in another language (e.g. आकृति:Plaincode for a template from the French Wikisource project)

Examples[सम्पादन करी]

Code Result
{{tl|x0}} {{x0}}
{{tl2|x1}} {{x1}}
{{tl2|sister=M|3x}} {{3x}}
{{tl2|sister=wikibooks|lang=de|WP}} {{WP}}

See also[सम्पादन करी]