Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Item/doc: Difference between revisions

Template page
m 1 revision imported
No edit summary
Line 1: Line 1:
{{Documentation}}
;Template Usage


The Item Infobox template is used for any item that is not considered a weapon, space suit or clothing. Copy and paste the following code into the top of an article, filling all known fields. Leave all the unknown fields empty and they will not appear on the infobox.
<templatedata>
 
{
;Example
"params": {
 
"name": {
<pre><nowiki>{{Infobox Item
"label": "Name",
| Name =
"description": "Name of item",
| Image =
"type": "string",
| Manufacturer =
"required": true
| Type =
},
| Mass =
"image": {
| Usage =
"label": "Image",
| UEC Cost =
"type": "wiki-file-name"
| REC Cost =
},
| Range =
"item_type": {
| Whitley Rating =
"label": "Item Type",
| Ammo Count =
"description": "The type the item is",
| Rate =
"type": "string",
| Overheat Time =
"required": true
| Cool Time =
},
| Power Drain =
"aliases": {
| IR Signature =
"label": "Aliases",
}}</nowiki></pre>
"description": "Aliases of the item",
;Example Input
"type": "string"
 
},
<pre><nowiki>
"rarity": {
"label": "Rarity",
</nowiki></pre>
"description": "Rarity of the item",
"type": "string"
},
"materials": {
"label": "Materials",
"description": "Materials that make up the item",
"type": "string"
},
"price": {
"label": "Price",
"description": "Typical price of the item",
"type": "string"
},
"attunement": {
"label": "Attunement",
"description": "If this item requires attunement",
"type": "boolean"
},
"properties": {
"label": "Properties",
"description": "Any properties of the item",
"type": "string"
},
"spells": {
"label": "Spells",
"description": "Any spells the item can cast",
"type": "string"
},
"charges": {
"label": "Charges",
"description": "Amount of charges the item has",
"type": "string"
},
"dc": {
"label": "Save DC",
"description": "The save DC for this items spells/effects",
"type": "string"
},
"creator": {
"label": "Creator",
"description": "Creator of the item",
"type": "string"
},
"owner": {
"label": "Owner",
"description": "Owner of the item",
"type": "string"
}
}
}
</templatedata>

Revision as of 18:40, 23 May 2025

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of item

Stringrequired
Imageimage

no description

Fileoptional
Item Typeitem_type

The type the item is

Stringrequired
Aliasesaliases

Aliases of the item

Stringoptional
Rarityrarity

Rarity of the item

Stringoptional
Materialsmaterials

Materials that make up the item

Stringoptional
Priceprice

Typical price of the item

Stringoptional
Attunementattunement

If this item requires attunement

Booleanoptional
Propertiesproperties

Any properties of the item

Stringoptional
Spellsspells

Any spells the item can cast

Stringoptional
Chargescharges

Amount of charges the item has

Stringoptional
Save DCdc

The save DC for this items spells/effects

Stringoptional
Creatorcreator

Creator of the item

Stringoptional
Ownerowner

Owner of the item

Stringoptional