Difference between revisions of "Template:ItemInfobox"

From ZFGCpedia
Jump to: navigation, search
(This approach doesn't work when viewing the main page. Title now required on every transclusion or else you'll see this obnoxious message.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
|title = {{SUBPAGENAME}}
+
|title = {{#if:{{{title|}}}|{{{title}}}|EMPTY TITLE FIELD}}
|img_art = {{{img_art|}}}
+
|image = {{{img1|}}}
|img_inventory = {{{img_inventory|}}}
+
|caption = {{{cap1|}}}
|img_sprite = {{{img_sprite|}}}
+
|image2 = {{{img2|}}}
 +
|caption2 = {{{cap2|}}}
  
 +
|label1 = Type
 +
|data1 = {{{type|}}}
 
|label5 = Location
 
|label5 = Location
 
|data5 = {{{location|}}}
 
|data5 = {{{location|}}}
 
|label10 = Obtained
 
|label10 = Obtained
 
|data10 = {{{obtained|}}}
 
|data10 = {{{obtained|}}}
|label15 = Cost
+
|label15 = Required
|data15 = {{{cost|}}}
+
|data15 = {{{required|}}}
 +
|label20 = Cost
 +
|data20 = {{{cost|}}}
 +
|label25 = Damage rate
 +
|data25 = {{{damagerate|}}}
 +
|label30 = Ammo
 +
|data30 = {{{ammo|}}}
 
}}</includeonly>
 
}}</includeonly>
<noinclude>Infobox used to display information on an item.
+
<noinclude>Infobox used to display information on a KOT item. The infobox appears when this template is transcluded onto a page.
[[Category:King of Thieves]]
+
[[Category:King Of Thieves]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:49, 22 September 2012

Infobox used to display information on a KOT item. The infobox appears when this template is transcluded onto a page.