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

From Zoophilia Wiki
Jump to navigationJump to search
meta>Locke Cole
Update to use #if
Ookami (talk | contribs)
m 41 revisions imported
 
(28 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{<small>&#160;</small>[[w:Wikipedia:Template substitution|subst]]<tt>:</tt>[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}|<tt>&#124;</tt>{{{2}}}}}{{ifdef|{{{3|}}}|<tt>&#124;</tt>{{{3}}}}}{{ifdef|{{{4|}}}|<tt>&#124;</tt>{{{4}}}}}{{ifdef|{{{5|}}}|<tt>&#124;</tt><i>etc.</i>}}<small>&#160;</small>}}<noinclude>
{{[[Wikipedia:Substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}|&#124;{{{2}}}}}{{#if:{{{3|}}}|&#124;{{{3}}}}}{{#if:{{{4|}}}|&#124;{{{4}}}}}{{#if:{{{5|}}}|&#124;{{{5}}}}}{{#if:{{{6|}}}|&#124;{{{6}}}}}{{#if:{{{subst|}}}|&#124;subst={{{subst}}}}}}}{{#if:{{{7|}}}|{{error|{{tl|tlsp}} only supports up to 5 template parameters}}}}<noinclude>
----
{{documentation}}
Usage: <tt><nowiki>{{Tlsp|template name|first parameter|...}}</nowiki></tt><br />
</noinclude>
 
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see {{Lts}}.
 
[[Category:Internal link templates|Tlsp]]</noinclude>

Latest revision as of 05:16, 3 September 2020

{{subst:Tlsp}}