Template:Test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
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>{{#ifeq:{{{sugar|}}}|yes|<br>'''Contains sugar ({{{sugarfullness}}})'''[[Category:Sugar]]}}<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 22:42, 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.