Template:Template link with subst and parameters: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Omniplex
add optional substitution blurb
meta>Tariqabjotu
- seemingly unnecessary uses of <tt>
Line 1: Line 1:
{{<small>&#160;</small>[[Wikipedia:Template substitution|subst]]<tt>:</tt>[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}|<tt>&#124;</tt>{{{2}}}}}{{#if:{{{3|}}}|<tt>&#124;</tt>{{{3}}}}}{{#if:{{{4|}}}|<tt>&#124;</tt>{{{4}}}}}{{#if:{{{5|}}}|<tt>&#124;</tt><i>etc.</i>}}{{#if:{{{subst|}}}|<tt>&#124;</tt>subst={{{subst}}}}}<small>&#160;</small>}}<noinclude>
{{<small>&#160;</small>[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}|&#124;{{{2}}}}}{{#if:{{{3|}}}|&#124;{{{3}}}}}{{#if:{{{4|}}}|&#124;{{{4}}}}}{{#if:{{{5|}}}|&#124;<i>etc.</i>}}{{#if:{{{subst|}}}|&#124;subst={{{subst}}}}}<small>&#160;</small>}}<noinclude>
----
----
Usage: {{Tlx|Tlsp|template name|first parameter|...}}<br />
Usage: {{Tlx|Tlsp|template name|first parameter|...}}<br />

Revision as of 04:10, 27 January 2007

{{ subst:Tlsp }}


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:}}