Difference between revisions of "Template:Obtain"

From Twilight Heroes Wiki
Jump to: navigation, search
(added multiple gained at once)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>You got an item: '''[[{{{1}}}]]''' [[image:{{{2}}}]]</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...'''
  
You got an item: '''[[hammer]]''' [[image:hammer.gif]]
+
{{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 Hammer.gif

{{obtain|hammer|hammer.gif|hammers|10}}

Results in...

You got an item: 10 hammers Hammer.gif