Template:Infobox Item: Difference between revisions

From [N8]
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 57: Line 57:
"description": "Name of the Update Page, if none then leave blank",
"description": "Name of the Update Page, if none then leave blank",
"suggested": true
"suggested": true
},
"size": {
"label": "Size",
"description": "Using {{/Size}} Template to Display Size of Item",
"required": true
},
},
"buy": {
"buy": {
Line 76: Line 71:
"label": "Imports",
"label": "Imports",
"description": "List of Import Locations",
"description": "List of Import Locations",
"required": true
"required": true,
"example": "* {{plinksized|Jupiter|pic=Jupiter Icon|txt=Jupiter|size=30}}"
},
},
"exports": {
"exports": {
"label": "Exports",
"label": "Exports",
"description": "List of Export Locations",
"description": "List of Export Locations",
"required": true,
"example": "* {{plinksized|Jupiter|pic=Jupiter Icon|txt=Jupiter|size=30}}"
},
"Cargo": {
"label": "Cargo",
"description": "Using {{Cargo}} Template to Display Size of Item",
"example": "{{Cargo|M}}",
"required": true
"required": true
}
}
},
},
"description": "An infobox used to display item information on the right side of the page.",
"description": "An infobox used to display item information on the right side of the page.",
"format": "block"
"format": "block",
"paramOrder": [
"name",
"image",
"release",
"update",
"Cargo",
"buy",
"sell",
"imports",
"exports"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 10:22, 14 January 2021

Template documentation
This documentation is transcluded from Template:Infobox Item/doc. [edit] [purge]

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}}
}}

An infobox used to display item information on the right side of the page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Item Name

Unknownrequired
Imageimage

Image Name

Example
Black Ice Shards.png
Unknownrequired
Releaserelease

Date of Release, if none then leave blank

Unknownsuggested
Updateupdate

Name of the Update Page, if none then leave blank

Unknownsuggested
CargoCargo

Using {{Cargo}} Template to Display Size of Item

Example
{{Cargo|M}}
Unknownrequired
Buybuy

# of Locations you can buy the item from

Unknownrequired
Sellsell

# of Locations you can sell the item to

Unknownrequired
Importsimports

List of Import Locations

Example
* {{plinksized|Jupiter|pic=Jupiter Icon|txt=Jupiter|size=30}}
Unknownrequired
Exportsexports

List of Export Locations

Example
* {{plinksized|Jupiter|pic=Jupiter Icon|txt=Jupiter|size=30}}
Unknownrequired