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

From Zoophilia Wiki
Jump to navigationJump to search
meta>Omniplex
allow to document optional substitution with subst=subst:
Ookami (talk | contribs)
m 41 revisions imported
 
(22 intermediate revisions by 14 users not shown)
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>
{{[[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: {{Tlx|Tlsp|template name|first parameter|...}}<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 {{Tlx|Tlx}} and the [[{{TALKPAGENAME}}|talk]] page.
 
[[Category:Internal link templates|Tlsp]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude>

Latest revision as of 05:16, 3 September 2020

{{subst:Tlsp}}