T: Difference between revisions

From SL Pro Wrestling Wiki
/>Dinoguy1000-fduser
m moved Template:Infobox Film to Template:T: rv - this is NOT how you create new templates
/>Dinoguy1000-fduser
add "style" parameter allowing output to be displayed as code
Line 1: Line 1:
<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!--
{{#ifeq:{{{style|}}}|code|<code>}}<nowiki>{{</nowiki>{{#if:{{{prefix|}}}|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]<!--
-->{{#if:{{{2|}}}|&#124;<span style="color:gray;">''&lt;{{{2}}}&gt;''</span>}}<!--
-->{{#if:{{{2|}}}|&#124;<span style="color:gray;">''&lt;{{{2}}}&gt;''</span>}}<!--
-->{{#if:{{{3|}}}|&#124;<span style="color:gray;">''&lt;{{{3}}}&gt;''</span>}}<!--
-->{{#if:{{{3|}}}|&#124;<span style="color:gray;">''&lt;{{{3}}}&gt;''</span>}}<!--
Line 20: Line 20:
-->{{#if:{{{20|}}}|&#124;<span style="color:gray;">''&lt;{{{20}}}&gt;''</span>}}<!--
-->{{#if:{{{20|}}}|&#124;<span style="color:gray;">''&lt;{{{20}}}&gt;''</span>}}<!--
-->{{#if:{{{21|}}}|&#124;<span style="color:gray;">''&lt;{{{21}}}&gt;''</span>}}<!--
-->{{#if:{{{21|}}}|&#124;<span style="color:gray;">''&lt;{{{21}}}&gt;''</span>}}<!--
--><nowiki>}}</nowiki><noinclude>
--><nowiki>}}</nowiki>{{#ifeq:{{{style|}}}|code|</code>}}<noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 19:55, 17 July 2011

{{#ifeq:|code|}}{{{{#if:|{{{prefix}}}:}}[[Template:{{{1}}}|{{{1}}}]]{{#if:||<{{{2}}}>}}{{#if:||<{{{3}}}>}}{{#if:||<{{{4}}}>}}{{#if:||<{{{5}}}>}}{{#if:||<{{{6}}}>}}{{#if:||<{{{7}}}>}}{{#if:||<{{{8}}}>}}{{#if:||<{{{9}}}>}}{{#if:||<{{{10}}}>}}{{#if:||<{{{11}}}>}}{{#if:||<{{{12}}}>}}{{#if:||<{{{13}}}>}}{{#if:||<{{{14}}}>}}{{#if:||<{{{15}}}>}}{{#if:||<{{{16}}}>}}{{#if:||<{{{17}}}>}}{{#if:||<{{{18}}}>}}{{#if:||<{{{19}}}>}}{{#if:||<{{{20}}}>}}{{#if:||<{{{21}}}>}}}}{{#ifeq:|code|}} Template:Documentation