Difference between revisions of "User:T burnout/infotest"

From Hobowars Wiki
Jump to: navigation, search
(#if param test)
 
m (test)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#if: {{{supercat|}}} | [[Category:{{{supercat}}}]] }}
+
{{ #if: {{{subcat1|}}} | [[Category:{{{subcat1}}}]] }}
{{#if: {{{cat|}}} | [[Category:{{{cat}}}]] }}
+
{{ #if: {{{subcat2|}}} | [[Category:{{{subcat2}}}]] }}
{{#if: {{{subcat|}}} | [[:Category:{{{subcat}}}]] }}
+
{{ #if: {{{subcat3|}}} | true | false }}
{{#if: {{{subcat2|}}} | [[Category:{{{subcat2}}}]] }}
+
{{ #if: {{{subcat4|}}} | true | false }}
{{#if: {{{subcat3|}}} | xxxx3 }}
+
 
</includeonly>
 
</includeonly>
  
 +
<noinclude>
 +
source markup:<br /><br />
 +
<nowiki><includeonly></nowiki><br />
 +
<nowiki>{{{ if: {{{subcat1|}}} | [[Category:{{{subcat1}}}]] }}}</nowiki><br />
 +
<nowiki>{{{ if: {{{subcat2|}}} | [[Category:{{{subcat2}}}]] }}}</nowiki><br />
 +
<nowiki>{{{ if: {{{subcat3|}}} | true | false }}}</nowiki><br />
 +
<nowiki>{{{ if: {{{subcat4|}}} | true | false }}}</nowiki><br />
 +
<nowiki></includeonly></nowiki><br /><br />
  
<noinclude>
+
Copy Pasta:<br />
supercat & sub cats are included in the params but are omitted below, they should have no appearance on the article. similarly any unfilled params below should not appear on the article. you should only see a single catagory link at the bottom on article for each param you fill out.
+
Copy Pasta:<br /><br />
+
 
<nowiki>{{User:T burnout/infotest</nowiki><br />
 
<nowiki>{{User:T burnout/infotest</nowiki><br />
|cat= <br />
+
|subcat1= <br />
|subcat= <br />
+
 
|subcat2= <br />
 
|subcat2= <br />
 +
|subcat3= <br />
 +
|subcat4= <br />
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
[[Category:All wiki templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 06:35, 12 July 2014


source markup:

<includeonly>
{{{ if: {{{subcat1|}}} | [[Category:{{{subcat1}}}]] }}}
{{{ if: {{{subcat2|}}} | [[Category:{{{subcat2}}}]] }}}
{{{ if: {{{subcat3|}}} | true | false }}}
{{{ if: {{{subcat4|}}} | true | false }}}
</includeonly>

Copy Pasta:
{{User:T burnout/infotest
|subcat1=
|subcat2=
|subcat3=
|subcat4=
}}