Difference between revisions of "Template:Obtain"
From Twilight Heroes Wiki
(images should always be 40px) |
(added multiple gained at once) |
||
Line 1: | Line 1: | ||
− | <includeonly>You got an item: '''[[{{{1}}}]]''' [[image:{{{2}}}|40px]]</includeonly><noinclude>=Template= | + | <includeonly>You got an item: '''{{#if:{{{3|}}}|{{{4}}} [[{{{1}}}|{{{3}}}]]|[[{{{1}}}]]}}''' [[image:{{{2}}}|40px]]</includeonly><noinclude>=Template= |
− | '''<nowiki>{{obtain|item|image}}</nowiki>''' | + | '''<nowiki>{{obtain|item|image}}</nowiki>'''<br> |
+ | '''<nowiki>{{obtain|item|image|plural|amount}}</nowiki>''' | ||
=Usage= | =Usage= | ||
'''Adding...''' | '''Adding...''' | ||
Line 8: | Line 9: | ||
'''Results in...''' | '''Results in...''' | ||
− | + | {{obtain|hammer|hammer.gif}} | |
+ | |||
+ | <nowiki>{{obtain|hammer|hammer.gif|hammers|10}}</nowiki> | ||
+ | |||
+ | '''Results in...''' | ||
+ | |||
+ | {{obtain|hammer|hammer.gif|hammers|10}} | ||
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude> | [[Category:Standardization Templates|{{PAGENAME}}]] </noinclude> |
Latest revision as of 00:29, 19 July 2009
Template
{{obtain|item|image}}
{{obtain|item|image|plural|amount}}
Usage
Adding...
{{obtain|hammer|hammer.gif}}
Results in...
You got an item: hammer
{{obtain|hammer|hammer.gif|hammers|10}}
Results in...
You got an item: 10 hammers