Difference between revisions of "Template:Test"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 4: Line 4:
  
 
{{#ifeq:{{{button|}}}|yes|<br clear=all>
 
{{#ifeq:{{{button|}}}|yes|<br clear=all>
{{#if:{{{option1|}}}|{{button|{{{option1}}}|center}}<br>|''Unspecified''[[Category:Incomplete]]}}
+
{{#if:{{{option1|}}}|{{button|{{{option1}}}|center}}|''Unspecified''[[Category:Incomplete]]}}
{{#if:{{{option2|}}}|{{button|{{{option2}}}|center}}<br>|''Unspecified''[[Category:Incomplete]]}}
+
{{#if:{{{option2|}}}|{{button|{{{option2}}}|center}}|''Unspecified''[[Category:Incomplete]]}}
{{#if:{{{option3|}}}|{{button|{{{option3}}}|center}}<br>}}
+
{{#if:{{{option3|}}}|{{button|{{{option3}}}|center}}}}
{{#if:{{{option4|}}}|{{button|{{{option3}}}|center}}<br>}}
+
{{#if:{{{option4|}}}|{{button|{{{option3}}}|center}}}}
{{#if:{{{option5|}}}|{{button|{{{option3}}}|center}}<br>}}|'''Options:'''<br>
+
{{#if:{{{option5|}}}|{{button|{{{option3}}}|center}}}}|'''Options:'''<br>
 
{{#if:{{{option1|}}}|*'''{{{option1}}} '''{{#if:{{{comment1|}}}|({{{comment1}}})}}<br>|''Unspecified''[[Category:Incomplete]]}}
 
{{#if:{{{option1|}}}|*'''{{{option1}}} '''{{#if:{{{comment1|}}}|({{{comment1}}})}}<br>|''Unspecified''[[Category:Incomplete]]}}
 
{{#if:{{{option2|}}}|*'''{{{option2}}} '''{{#if:{{{comment2|}}}|({{{comment2}}})}}<br>|''Unspecified''[[Category:Incomplete]]}}
 
{{#if:{{{option2|}}}|*'''{{{option2}}} '''{{#if:{{{comment2|}}}|({{{comment2}}})}}<br>|''Unspecified''[[Category:Incomplete]]}}

Revision as of 00:54, 2 May 2010

Instructions

This is a test template for use in testing template code before pushing it live onto the wiki. To test template code, insert it between the "includeonly" tags. The template can then be called with {{test|list of parameters}} on any other page to view the test results.