Content added Content deleted
BloodThermic (talk | contribs) Tag: Undo |
No edit summary Tag: Reverted |
||
Line 2: | Line 2: | ||
<pre><nowiki>{{Infobox Item |
<pre><nowiki>{{Infobox Item |
||
| Image = |
| Image = |
||
| |
| Category = |
||
| |
| Type = |
||
| Manufacturer = |
|||
| Variants = |
|||
| Weight = |
| Weight = |
||
| |
| Vendor = |
||
| Buy = |
|||
| Sell = |
|||
}}</nowiki></pre> |
}}</nowiki></pre> |
||
==Template Data== |
==Template Data== |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
"Image": { |
"Image": { |
||
" |
"suggested": true |
||
}, |
}, |
||
" |
"Category": { |
||
⚫ | |||
⚫ | |||
"type": "string", |
"type": "string", |
||
"suggestedvalues": [ |
|||
⚫ | |||
"Weapons", |
|||
"example": "Weapon / Meds / Armor", |
|||
"Wearables", |
|||
"Medical", |
|||
"Ammunition", |
|||
"Keys" |
|||
], |
|||
"required": true |
"required": true |
||
}, |
}, |
||
" |
"Type": { |
||
⚫ | |||
"example": "Assault Rifle, Container, Medkit, etc.", |
|||
"type": "string", |
"type": "string", |
||
" |
"suggested": true |
||
⚫ | |||
⚫ | |||
}, |
}, |
||
" |
"Manufacturer": { |
||
"description": "Who makes the item?", |
|||
"type": "string", |
"type": "string", |
||
" |
"suggested": true |
||
}, |
|||
⚫ | |||
"Variants": { |
|||
"description": "Any alternative variations of the item?", |
|||
"type": "string" |
|||
}, |
|||
⚫ | |||
"description": "How heavy is a single item?", |
|||
"type": "number", |
|||
"suggested": true |
|||
}, |
|||
"Vendor": { |
|||
⚫ | |||
"type": "wiki-page-name" |
|||
}, |
|||
"Buy": { |
|||
"description": "What is the buy value of one item?", |
|||
"type": "string" |
|||
}, |
|||
"Sell": { |
|||
"description": "What is the sell value of one item?" |
|||
} |
} |
||
} |
} |
||
"description": "A Templated used in the creation of items", |
|||
"format": "block", |
|||
"paramOrder": [ |
|||
"Image", |
|||
"Type", |
|||
"Sold By", |
|||
⚫ | |||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Revision as of 22:11, 9 May 2024
Usage
{{Infobox Item | Image = | Category = | Type = | Manufacturer = | Variants = | Weight = | Vendor = | Buy = | Sell = }}
Template Data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | Image | no description | Unknown | suggested |
Category | Category | Pick one of the suggested values
| String | required |
Type | Type | Sub category of item
| String | suggested |
Manufacturer | Manufacturer | Who makes the item? | String | suggested |
Variants | Variants | Any alternative variations of the item? | String | optional |
Weight | Weight | How heavy is a single item? | Number | suggested |
Vendor | Vendor | Who can this item be bought or sold to? | Page name | optional |
Buy | Buy | What is the buy value of one item? | String | optional |
Sell | Sell | What is the sell value of one item? | Unknown | optional |