Difference between revisions of "Template:Test"
From Twilight Heroes Wiki
Line 44: | Line 44: | ||
</noinclude>{{#ifeq:{{{caffeine|}}}|yes|<br>'''Contains caffeine ({{{caffeinefullness}}})'''[[Category:Caffeine]]}}{{#vardefine:consumable|{{#ifeq:{{{caffeine|}}}|yes|yes|no}}}}<noinclude> | </noinclude>{{#ifeq:{{{caffeine|}}}|yes|<br>'''Contains caffeine ({{{caffeinefullness}}})'''[[Category:Caffeine]]}}{{#vardefine:consumable|{{#ifeq:{{{caffeine|}}}|yes|yes|no}}}}<noinclude> | ||
− | </noinclude>{{#ifeq:{{{sugar|}}}|yes|<br>'''Contains sugar ({{{sugarfullness}}})'''[[Category:Sugar]]}}<noinclude> | + | </noinclude>{{#ifeq:{{{sugar|}}}|yes|<br>'''Contains sugar ({{{sugarfullness}}})'''[[Category:Sugar]]}}{{#vardefine:consumable|{{#ifeq:{{{sugar|}}}|yes|yes|{{#var:consumable}}}}}}<noinclude> |
</noinclude>{{#ifeq:{{{usable|}}}|yes|<br>'''Usable'''[[Category:Usables]]|{{#ifeq:{{{returnable|}}}|yes|<br>'''Usable'''[[Category:Returnables]]}}}}<noinclude> | </noinclude>{{#ifeq:{{{usable|}}}|yes|<br>'''Usable'''[[Category:Usables]]|{{#ifeq:{{{returnable|}}}|yes|<br>'''Usable'''[[Category:Returnables]]}}}}<noinclude> |
Revision as of 14:46, 19 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.