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
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/Item
<pre><nowiki>{{Infobox Item
| Image =
| Image =
| Category =
| Type =
| Type =
| Sold By = (Name)
| Manufacturer =
| Variants =
| Weight =
| Weight =
| Vendor =
| Related =
| Buy =
| Sell =
}}</nowiki></pre>
}}</nowiki></pre>


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

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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ImageImage

no description

Fileoptional
TypeType

What type of item is this?

Example
Weapon / Meds / Armor
Stringrequired
Sold BySold By

Name of the Vendor who gave the sold the Item

Example
Lab Rat
Stringrequired
WeightWeight

What is the weight of the item

Example
3.613 kg
Stringrequired
Cookies help us deliver our services. By using our services, you agree to our use of cookies.