Difference between revisions of "Template:Test"
From Twilight Heroes Wiki
Line 32: | Line 32: | ||
</noinclude>{{#if:{{{range|}}}|'''Range: {{{range}}}'''<br>}}<noinclude> | </noinclude>{{#if:{{{range|}}}|'''Range: {{{range}}}'''<br>}}<noinclude> | ||
− | </noinclude>{{#if:{{{level|}}}|'''Level Required: {{{level}}}'''<br>[[Category:Level {{{level}}} Equipment]]|[[Category:Level Free Equipment]]}}<noinclude> | + | </noinclude>{{#if:{{{level|}}}|'''Level Required: {{{level}}}'''<br>}}{{#ifeq:{{IsEquipment|{{{type}}}}}|yes|{{#if:{{{level|}}}|[[Category:Level {{{level}}} Equipment]]}}|[[Category:Level Free Equipment]]}}}}<noinclude> |
</noinclude>{{#ifeq:{{{notrade|}}}|yes|'''Item cannot be traded or sold'''<br>}}<noinclude> | </noinclude>{{#ifeq:{{{notrade|}}}|yes|'''Item cannot be traded or sold'''<br>}}<noinclude> |
Revision as of 01:05, 18 December 2009
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.