T: Difference between revisions
/>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|}}}||<span style="color:gray;">''<{{{2}}}>''</span>}}<!-- | -->{{#if:{{{2|}}}||<span style="color:gray;">''<{{{2}}}>''</span>}}<!-- | ||
-->{{#if:{{{3|}}}||<span style="color:gray;">''<{{{3}}}>''</span>}}<!-- | -->{{#if:{{{3|}}}||<span style="color:gray;">''<{{{3}}}>''</span>}}<!-- | ||
Line 20: | Line 20: | ||
-->{{#if:{{{20|}}}||<span style="color:gray;">''<{{{20}}}>''</span>}}<!-- | -->{{#if:{{{20|}}}||<span style="color:gray;">''<{{{20}}}>''</span>}}<!-- | ||
-->{{#if:{{{21|}}}||<span style="color:gray;">''<{{{21}}}>''</span>}}<!-- | -->{{#if:{{{21|}}}||<span style="color:gray;">''<{{{21}}}>''</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