Template:Infobox Item/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
===Usage===
===Usage===
<pre>{{Infobox Item
<pre>{{Infobox Item
|name = The item name
|name = Item Name
|image = A item image
|image = Image Name, e.g. Black Ice Shards.png
|
|release = Date of Release, If none then leave blank
|update = Name of the Update Page, If none then leave blank
|size = {{/Size}} This is solely for wiki hacks to get a 1 cell table to work in the infobox
|buy = # of locations you can buy the item from
|sell = # of locations you can sell the item to
|imports = List of import locations
|exports = List of export locations
}}</pre>
===Example===
<pre>{{Infobox Item
|name = Black Ice Shards
|image = Black Ice Shards.png
|release =
|update =
|size = {{/Size}}
|buy = 0
|sell = 1
|imports =
* None
|exports =
* {{plinksized|Eris|pic=Eris Icon|txt=Eris|size=30}}
}}</pre>
}}</pre>
<includeonly>[[Category:Infobox templates|City]]</includeonly>
<includeonly>[[Category:Infobox templates|City]]</includeonly>

Latest revision as of 09:47, 2 June 2020

This is a documentation subpage for Template:Infobox Item.
It contains usage information, categories, and other content that is not part of the original template page.

Documentation

Usage

{{Infobox Item
|name = Item Name
|image = Image Name, e.g. Black Ice Shards.png
|release = Date of Release, If none then leave blank
|update = Name of the Update Page, If none then leave blank
|size = {{/Size}} This is solely for wiki hacks to get a 1 cell table to work in the infobox
|buy = # of locations you can buy the item from
|sell = # of locations you can sell the item to
|imports = List of import locations
|exports = List of export locations
}}

Example

{{Infobox Item
|name = Black Ice Shards
|image = Black Ice Shards.png
|release = 
|update = 
|size = {{/Size}}
|buy = 0
|sell = 1
|imports = 
* None
|exports = 
* {{plinksized|Eris|pic=Eris Icon|txt=Eris|size=30}}
}}