Difference between revisions of "Template:Test"
From Twilight Heroes Wiki
Line 38: | Line 38: | ||
{{#if:{{{xp|}}}|{{exp|amt={{{xp}}}}}|''Unspecified XP''[[Category:Incomplete]]}} | {{#if:{{{xp|}}}|{{exp|amt={{{xp}}}}}|''Unspecified XP''[[Category:Incomplete]]}} | ||
− | {{#if:{{{item1|}}}|{{obtain|{{{item1}}}|{{{image1}}}}} ({{ | + | {{#if:{{{item1|}}}|{{obtain|{{{item1}}}|{{{image1}}}}} ({{droprate|{{{drop1}}}}})<br>}} |
{{#if:{{{item2|}}}|{{obtain|{{{item2}}}|{{{image2}}}}} ({{#if:{{{drop2|}}}|{{{drop2}}}%|''Unspecified Drop Rate''[[Category:Needs Drop Rate Spading]]}})<br>}} | {{#if:{{{item2|}}}|{{obtain|{{{item2}}}|{{{image2}}}}} ({{#if:{{{drop2|}}}|{{{drop2}}}%|''Unspecified Drop Rate''[[Category:Needs Drop Rate Spading]]}})<br>}} | ||
{{#if:{{{item3|}}}|{{obtain|{{{item3}}}|{{{image3}}}}} ({{#if:{{{drop3|}}}|{{{drop3}}}%|''Unspecified Drop Rate''[[Category:Needs Drop Rate Spading]]}})<br>}} | {{#if:{{{item3|}}}|{{obtain|{{{item3}}}|{{{image3}}}}} ({{#if:{{{drop3|}}}|{{{drop3}}}%|''Unspecified Drop Rate''[[Category:Needs Drop Rate Spading]]}})<br>}} |
Revision as of 06:13, 17 November 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.