Template:Tlsp: Difference between revisions
Jump to navigation
Jump to search
(copying template:tlsp from wikipedia) |
(fixing links) |
||
| Line 1: | Line 1: | ||
{{<small> </small>[ | {{<small> </small>[http://en.wikipedia.org/wiki/Wikipedia:Template_substitution|subst]<tt>:</tt>[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}|<tt>|</tt>{{{2}}}}}{{#if:{{{3|}}}|<tt>|</tt>{{{3}}}}}{{#if:{{{4|}}}|<tt>|</tt>{{{4}}}}}{{#if:{{{5|}}}|<tt>|</tt><i>etc.</i>}}{{#if:{{{subst|}}}|<tt>|</tt>subst={{{subst}}}}}<small> </small>}}<noinclude> | ||
---- | ---- | ||
Usage: {{Tlx|Tlsp|template name|first parameter|...}}<br /> | Usage: {{Tlx|Tlsp|template name|first parameter|...}}<br /> | ||
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see {{Tlx|Tlx}} and the [[{{TALKPAGENAME}}|talk]] page. | Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see {{Tlx|Tlx}} and the [[{{TALKPAGENAME}}|talk]] page. | ||
;If the template supports [ | ;If the template supports [http://en.wikipedia.org/wiki/Help:Substitution#Optional_substitution optional substitution] with <tt>subst=subst:</tt> just add this info: | ||
:{{Tlx|Tlsp|template name|up to three parameters|4=subst=subst:}} | :{{Tlx|Tlsp|template name|up to three parameters|4=subst=subst:}} | ||
[[Category:Templates|Tlsp]] | [[Category:Templates|Tlsp]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude> | [[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude> | ||
Revision as of 05:09, 21 February 2007
Usage: {{Tlsp|template name|first parameter|...}}
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "|etc.", for details see {{Tlx}} and the talk page.
- If the template supports optional substitution with subst=subst: just add this info:
- {{Tlsp|template name|up to three parameters|subst=subst:}}