Difference between revisions of "Template:Obtain"

From Twilight Heroes Wiki
Jump to: navigation, search
(New page: <includeonly>You got an item: '''[[{{{item}}}]]''' [[image:{{{image}}}]]</includeonly> <noinclude>=Template= '''<nowiki>{{obtain|item=|image=}}</nowiki>''' =Usage= '''Adding...''' <nowik...)
 
(added multiple gained at once)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>You got an item: '''[[{{{item}}}]]''' [[image:{{{image}}}]]</includeonly>
+
<includeonly>You got an item: '''{{#if:{{{3|}}}|{{{4}}} [[{{{1}}}|{{{3}}}]]|[[{{{1}}}]]}}''' [[image:{{{2}}}|40px]]</includeonly><noinclude>=Template=
 
+
'''<nowiki>{{obtain|item|image}}</nowiki>'''<br>
<noinclude>=Template=
+
'''<nowiki>{{obtain|item|image|plural|amount}}</nowiki>'''
'''<nowiki>{{obtain|item=|image=}}</nowiki>'''
 
 
=Usage=
 
=Usage=
 
'''Adding...'''
 
'''Adding...'''
  
<nowiki>{{obtain|item=hammer|image=hammer.gif}}</nowiki>
+
<nowiki>{{obtain|hammer|hammer.gif}}</nowiki>
 +
 
 +
'''Results in...'''
 +
 
 +
{{obtain|hammer|hammer.gif}}
 +
 
 +
<nowiki>{{obtain|hammer|hammer.gif|hammers|10}}</nowiki>
  
 
'''Results in...'''
 
'''Results in...'''
  
You got an item: '''[[hammer]]''' [[image:hammer.gif]]
+
{{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