Content added Content deleted
No edit summary Tag: Reverted |
m (Reverted edits by Graze (talk) to last revision by BloodThermic) Tag: Rollback |
||
Line 1: | Line 1: | ||
==Usage== |
==Usage== |
||
<pre><nowiki>{{Infobox |
<pre><nowiki>{{Infobox Item |
||
| Image = |
| Image = |
||
| |
| Type = |
||
| |
| Sold By = (Name) |
||
| Manufacturer = |
|||
| Variants = |
|||
| Weight = |
| Weight = |
||
| |
| Related = |
||
| Buy = |
|||
| Sell = |
|||
}}</nowiki></pre> |
}}</nowiki></pre> |
||
==Template Data== |
==Template Data== |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
"params": { |
||
"Image": { |
"Image": { |
||
" |
"type": "wiki-file-name" |
||
}, |
}, |
||
" |
"Type": { |
||
⚫ | |||
⚫ | |||
"type": "string", |
"type": "string", |
||
⚫ | |||
"suggestedvalues": [ |
|||
"example": "Weapon / Meds / Armor", |
|||
"Weapons", |
|||
"Wearables", |
|||
"Medical", |
|||
"Ammunition", |
|||
"Keys" |
|||
], |
|||
"required": true |
"required": true |
||
}, |
}, |
||
" |
"Sold By": { |
||
⚫ | |||
"example": "Assault Rifle, Container, Medkit, etc.", |
|||
"type": "string", |
"type": "string", |
||
" |
"required": true, |
||
⚫ | |||
⚫ | |||
}, |
}, |
||
" |
"Weight": { |
||
"description": "Who makes the item?", |
|||
"type": "string", |
"type": "string", |
||
" |
"required": true, |
||
⚫ | |||
}, |
|||
" |
"example": "3.613 kg" |
||
"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 17:50, 10 May 2024
Usage
{{Infobox Item | Image = | Type = | Sold By = (Name) | Weight = | Related = }}
Template Data
A Templated used in the creation of items
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | Image | no description | File | optional |
Type | Type | What type of item is this?
| String | required |
Sold By | Sold By | Name of the Vendor who gave the sold the Item
| String | required |
Weight | Weight | What is the weight of the item
| String | required |