Toggle 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
Content added Content deleted
(Undo revision 1147 by Impect (talk))
Tag: Undo
No edit summary
Tag: Reverted
Line 2: Line 2:
<pre><nowiki>{{Infobox Item
<pre><nowiki>{{Infobox Item
| Image =
| Image =
| Type =
| Category =
| Sold By = (Name)
| Type =
| Manufacturer =
| Variants =
| Weight =
| Weight =
| Related =
| Vendor =
| Buy =
| Sell =
}}</nowiki></pre>
}}</nowiki></pre>


==Template Data==
==Template Data==

<templatedata>
<templatedata>
{
{
"params": {
"params": {
"Image": {
"Image": {
"type": "wiki-file-name"
"suggested": true
},
},
"Type": {
"Category": {
"description": "Pick one of the suggested values",
"example": "Weapons",
"type": "string",
"type": "string",
"suggestedvalues": [
"description": "What type of item is this?",
"Weapons",
"example": "Weapon / Meds / Armor",
"Wearables",
"Medical",
"Ammunition",
"Keys"
],
"required": true
"required": true
},
},
"Sold By": {
"Type": {
"description": "Sub category of item",
"example": "Assault Rifle, Container, Medkit, etc.",
"type": "string",
"type": "string",
"required": true,
"suggested": true
"description": "Name of the Vendor who gave the sold the Item",
"example": "Lab Rat"
},
},
"Weight": {
"Manufacturer": {
"description": "Who makes the item?",
"type": "string",
"type": "string",
"required": true,
"suggested": true
},
"description": "What is the weight of the item",
"example": "3.613 kg"
"Variants": {
"description": "Any alternative variations of the item?",
"type": "string"
},
"Weight": {
"description": "How heavy is a single item?",
"type": "number",
"suggested": true
},
"Vendor": {
"description": "Who can this item be bought or sold to?",
"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",
"Weight"
]
}
}
</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.

Template parameters

ParameterDescriptionTypeStatus
ImageImage

no description

Unknownsuggested
CategoryCategory

Pick one of the suggested values

Suggested values
Weapons Wearables Medical Ammunition Keys
Example
Weapons
Stringrequired
TypeType

Sub category of item

Example
Assault Rifle, Container, Medkit, etc.
Stringsuggested
ManufacturerManufacturer

Who makes the item?

Stringsuggested
VariantsVariants

Any alternative variations of the item?

Stringoptional
WeightWeight

How heavy is a single item?

Numbersuggested
VendorVendor

Who can this item be bought or sold to?

Page nameoptional
BuyBuy

What is the buy value of one item?

Stringoptional
SellSell

What is the sell value of one item?

Unknownoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.