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}}}}} ({{testdroprate|#if:{{{drop1|}}}|{{{drop1}}}|!}}}}|)<br>}} |
{{#if:{{{item2|}}}|{{obtain|{{{item2}}}|{{{image2}}}}} ({{droprate|{{{drop2}}}}})<br>}} | {{#if:{{{item2|}}}|{{obtain|{{{item2}}}|{{{image2}}}}} ({{droprate|{{{drop2}}}}})<br>}} | ||
{{#if:{{{item3|}}}|{{obtain|{{{item3}}}|{{{image3}}}}} ({{droprate|{{{drop3}}}}})<br>}} | {{#if:{{{item3|}}}|{{obtain|{{{item3}}}|{{{image3}}}}} ({{droprate|{{{drop3}}}}})<br>}} |
Revision as of 02:32, 20 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.