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
(added new params)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Usage==
==Usage==
<pre><nowiki>{{Infobox/Item
<pre><nowiki>{{Infobox Item
| Image =
| Image =
| Category =
| Type =
| Type =
| Manufacturer =
| Variants =
| Weight =
| Weight =
| Vendor =
| Recoil Control =
| Buy =
| Arm Stamina =
| Weapon Handling =
| Sell =
| Reload Time =
| Recoil Reduction =
| Dispersion =
| Loudness =
| Size Change =
| Manufacturer =
| Variants =
| Material =
| Protection Level =
| Plates =
| Container Size =
| Flash Protection =
| Buy Cost =
| Sell Cost =
| Trader = (Name)
}}</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": {
"Trader": {
"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": {
"Manufacturer": {},
"Accuracy": {},
"description": "What is the sell value of one item?"
"Recoil Control": {},
}
"Arm Stamina Drain": {},
}
"Weapon Handling": {},
"Reload Time": {},
"Variants": {},
"Protection Level": {},
"Flash Protection": {},
"Plates": {},
"Container Size": {},
"Material": {},
"Buy Cost": {},
"Sell Cost": {}
},
"description": "A Templated used in the creation of items",
"format": "block",
"paramOrder": [
"Image",
"Type",
"Weight",
"Variants",
"Manufacturer",
"Accuracy",
"Recoil Control",
"Arm Stamina Drain",
"Weapon Handling",
"Reload Time",
"Protection Level",
"Plates",
"Container Size",
"Flash Protection",
"Material",
"Buy Cost",
"Sell Cost",
"Trader"
]
}
}
</templatedata>
</templatedata>

Latest revision as of 02:52, 10 June 2024

Usage

{{Infobox Item
| Image =
| Type = 
| Weight = 
| Recoil Control =
| Arm Stamina = 
| Weapon Handling = 
| Reload Time = 
| Recoil Reduction =
| Dispersion =
| Loudness = 
| Size Change = 
| Manufacturer = 
| Variants =
| Material = 
| Protection Level =
| Plates =
| Container Size =
| Flash Protection =
| Buy Cost =
| Sell Cost = 
| Trader = (Name)
}}

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
WeightWeight

What is the weight of the item

Example
3.613 kg
Stringrequired
VariantsVariants

no description

Unknownoptional
ManufacturerManufacturer

no description

Unknownoptional
AccuracyAccuracy

no description

Unknownoptional
Recoil ControlRecoil Control

no description

Unknownoptional
Arm Stamina DrainArm Stamina Drain

no description

Unknownoptional
Weapon HandlingWeapon Handling

no description

Unknownoptional
Reload TimeReload Time

no description

Unknownoptional
Protection LevelProtection Level

no description

Unknownoptional
PlatesPlates

no description

Unknownoptional
Container SizeContainer Size

no description

Unknownoptional
Flash ProtectionFlash Protection

no description

Unknownoptional
MaterialMaterial

no description

Unknownoptional
Buy CostBuy Cost

no description

Unknownoptional
Sell CostSell Cost

no description

Unknownoptional
TraderTrader

Name of the Vendor who gave the sold the Item

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