Template:Tlx: Difference between revisions
remove bolding effect--a bit too much, also refactored to move usage up where can be seen, added one perameter (I needed it last week!)
m>AzaToth (includeonly) |
m>Fabartus (remove bolding effect--a bit too much, also refactored to move usage up where can be seen, added one perameter (I needed it last week!)) |
||
Line 1: | Line 1: | ||
<includeonly><tt><nowiki>{{</nowiki>{{#if:{{{2|}}}| }}[[{{ns:Template}}:{{{1|}}}| | <includeonly><tt><nowiki>{{</nowiki>{{#if:{{{2|}}}| }}[[{{ns:Template}}:{{{1|}}}|{{{1|}}}]]<!-- | ||
-->{{#if:{{{2|}}}| | -->{{#if:{{{2|}}}| | ||
 | {{{2}}} |  | {{{2}}} | ||
Line 10: | Line 10: | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{5|}}}| | -->{{#if:{{{5|}}}| | ||
 | {{{4}}} | |||
}}<!-- | |||
-->{{#if:{{{6|}}}| | |||
 | <i>...</i> |  | <i>...</i> | ||
}}{{#if:{{{2|}}}| }}<nowiki>}}</nowiki></tt></includeonly><noinclude> | }}{{#if:{{{2|}}}| }}<nowiki>}}</nowiki></tt></includeonly><noinclude> | ||
{{tlx|tlx}} | {{tlx|tlx}} | ||
;Purpose:Mnemonically 'Template list expanded'... after {{TL|Tl}} 'Template list' {{I2}}This template takes another ''templatename'' and some associated pipe-tricked perameters, and aggregates them into an 'example demonstration' of how the ''templatename'' template might be used. If given no additional perameters, it presents the same as the similar {{lts|TL}} template-- a blue link nested in squiggley-braces-- the same as a user would apply the template without perameters. | |||
Usage: {{Tlx|Tlx|template name|first parameter|second perameter|...}}<br /> | |||
Up to four parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see the [[{{TALKPAGENAME}}|talk]] page. | |||
{{-}} | {{-}} | ||
----- | ----- | ||
{{Interwikitmp-grp|{{PAGENAME}}}} | {{Interwikitmp-grp|{{PAGENAME}}}} | ||
---- | ---- | ||
[[Category:Miscellaneous templates|{{PAGENAME}}]] | [[Category:Miscellaneous templates|{{PAGENAME}}]] | ||
[[Category:Internal link templates|{{PAGENAME}}]] | [[Category:Internal link templates|{{PAGENAME}}]] |