Template:Tl: Difference between revisions
Jump to navigation
Jump to search
(new, from wikipedia) |
(other example) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><tt>{{{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}[[ | <includeonly><tt>{{{{#if:{{{subst|}}}|[[w:Help:Substitution|subst]]:}}[[Template:{{{1|}}}|{{{1|}}}]]<!-- | ||
-->{{#if:{{{2|}}}| | -->{{#if:{{{2|}}}||{{{2}}}}}<!-- | ||
|{{{2}}} | -->{{#if:{{{3|}}}||{{{3}}}}}<!-- | ||
}}{{#if:{{{3|}}}| | -->{{#if:{{{4|}}}||{{{4}}}}}<!-- | ||
|{{{3}}} | -->{{#if:{{{5|}}}||{{{5}}}}}<!-- | ||
}}{{#if:{{{4|}}}| | -->{{#if:{{{6|}}}||{{{6}}}}}<!-- | ||
|{{{4}}} | -->{{#if:{{{7|}}}||{{{7}}}}}}}</tt></includeonly><noinclude> | ||
}}{{#if:{{{5|}}}| | '''T'''emplate '''l'''ink displays a formatted link to a template: | ||
|{{{5}}} | |||
}}{{#if:{{{6|}}}| | |||
|{{{6}}} | |||
}}{{#if:{{{7|}}}| | |||
|{{{7}}} | |||
}}}}</tt></includeonly><noinclude> | |||
{{tl|tl|CiteTemp|param}} shows {{tl|CiteTemp|param}} | {{tl|tl|CiteTemp|param}} shows {{tl|CiteTemp|param}} | ||
[[Category: | {{tl|tl|CiteTemp|param<nowiki>{{=}}</nowiki>value}} shows {{tl|CiteTemp|param{{=}}value}} | ||
A parameter '''subst''' can be added: | |||
{{tl|tl|Delreq|<nowiki>subst=y</nowiki>}} shows {{tl|Delreq|subst=y}} | |||
[[Category:Internal link templates]] | |||
</noinclude> |