Difference between revisions of "Template:Test"

From Twilight Heroes Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{| cellspacing="0" align={{#ifeq:{{{2}}}|center|center|left}} style="margin-left: auto; margin-right: auto; border: 2px black solid; padding-right: 8px; padding-left: 8px; background-color: #EEEEEE"  
 
<includeonly>{| cellspacing="0" align={{#ifeq:{{{2}}}|center|center|left}} style="margin-left: auto; margin-right: auto; border: 2px black solid; padding-right: 8px; padding-left: 8px; background-color: #EEEEEE"  
 
| {{{1}}}  
 
| {{{1}}}  
|}</includeonly><noinclude>__NOTOC__
+
|}{{#ifeq:{{{2}}}|inline||<br clear=all>}}</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 11:18, 9 February 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.