Template:Infobox Item: Difference between revisions
mNo edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| class="gsw-infobox plainlinks {{parentitle|{{{name}}}}}" id="infobox-city" cellpadding="0" cellspacing="0" | {| class="gsw-infobox plainlinks {{parentitle|{{{name}}}}}" id="infobox-city" cellpadding="0" cellspacing="0" | ||
| class="infobox-image" colspan="2" | {{#if:{{{image|}}}|{{clean image|file={{{image}}}|width= | | class="infobox-image" colspan="2" | {{#if:{{{image|}}}|{{clean image|file={{{image}}}|width=300|height=300}}|{{Mainonly|[[Category:Needs image]]}}[[Special:Upload|Please upload an image!]]}} | ||
|- | |- | ||
! class="infobox-header" colspan="2" | '''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}''' | ! class="infobox-header" colspan="2" | '''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }}''' | ||
| Line 33: | Line 33: | ||
|- | |- | ||
| class="infobox-template-links" colspan="2" | [[Template:Infobox Items|Infobox]] {{*}} [[Template talk:Infobox Items|Talk page]] | | class="infobox-template-links" colspan="2" | [[Template:Infobox Items|Infobox]] {{*}} [[Template talk:Infobox Items|Talk page]] | ||
|}{{PreloadPage}}{{mainonly|[[Category:Items | |}{{PreloadPage}}{{mainonly|[[Category:Items]]}}<noinclude> | ||
{{/doc}}</noinclude> | {{/doc}}<templatedata> | ||
{ | |||
"params": { | |||
"name": { | |||
"label": "Name", | |||
"description": "Item Name", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Image Name", | |||
"example": "Black Ice Shards.png", | |||
"required": true | |||
}, | |||
"release": { | |||
"label": "Release", | |||
"description": "Date of Release, if none then leave blank", | |||
"suggested": true | |||
}, | |||
"update": { | |||
"label": "Update", | |||
"description": "Name of the Update Page, if none then leave blank", | |||
"suggested": true | |||
}, | |||
"buy": { | |||
"label": "Buy", | |||
"description": "# of Locations you can buy the item from", | |||
"required": true | |||
}, | |||
"sell": { | |||
"label": "Sell", | |||
"description": "# of Locations you can sell the item to", | |||
"required": true | |||
}, | |||
"imports": { | |||
"label": "Imports", | |||
"description": "List of Import Locations", | |||
"required": true, | |||
"example": "* {{plinksized|Jupiter|pic=Jupiter Icon|txt=Jupiter|size=30}}" | |||
}, | |||
"exports": { | |||
"label": "Exports", | |||
"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 | |||
} | |||
}, | |||
"description": "An infobox used to display item information on the right side of the page.", | |||
"format": "block", | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"release", | |||
"update", | |||
"Cargo", | |||
"buy", | |||
"sell", | |||
"imports", | |||
"exports" | |||
] | |||
} | |||
</templatedata></noinclude> | |||