Difference between revisions of "Template:Test"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly></includeonly><noinclude>__NOTOC__
+
<includeonly>{{#if:{{{level|}}}|'''Level Required: {{{level}}}'''<br>{{#ifeq:{{IsEquipment|{{{type}}}}}|yes|[[Category:Level {{{level}}} Equipment]]|[[Category:Level Restricted Misc Items]]}}|{{#ifeq:{{IsEquipment|{{{type}}}}}|yes||[[Category:Level Free Equipment]]}}}}</includeonly><noinclude>__NOTOC__
 
==Instructions==
 
==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 <nowiki>{{test|list of parameters}}</nowiki> on any other page to view the test results.
 
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 <nowiki>{{test|list of parameters}}</nowiki> on any other page to view the test results.
  
 
[[Category:Test Templates]]</noinclude>
 
[[Category:Test Templates]]</noinclude>

Revision as of 01:06, 14 June 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.