Content added Content deleted
No edit summary Tag: Reverted |
(added new params) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
| Image = |
| Image = |
||
| Type = |
| Type = |
||
| Sold By = (Name) |
|||
| Weight = |
| 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) |
|||
}}</nowiki></pre> |
}}</nowiki></pre> |
||
==Template Data== |
|||
<includeonly>[[Category:Items]] |
|||
<table class="infobox-table floatright" style="padding-top:0"> |
|||
{{#if:{{{Image|}}}|<tr id="infobox-table-img-bg"> |
|||
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">[[File:{{{Image}}}|400px]]</td> |
|||
</tr>|}} |
|||
<tr> |
|||
<th width="100%" colspan="3" class="infobox-table-name">{{PAGENAME}}</th> |
|||
</tr> |
|||
{{#if:{{{Type|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type</td> |
|||
<td width="60%" style="padding:3px;">[[:Category:Item: {{{Type}}}|{{{Type}}}]]</td> |
|||
</tr>}} |
|||
{{#if:{{{Description|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Description</td> |
|||
<td width="60%" style="padding:3px;">{{{Description}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{Variants|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Variants</td> |
|||
<td width="60%" style="padding:3px;">{{{Variants}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{Weight|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Weight</td> |
|||
<td width="60%" style="padding:3px;">{{{Weight}}} kg</td> |
|||
</tr>}} |
|||
{{#if:{{{Protection Level|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Protection Level</td> |
|||
<td width="60%" style="padding:3px;">{{{Protection Level}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{Flash Protection|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Flash Protection</td> |
|||
<td width="60%" style="padding:3px;">{{{Flash Protection}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{Material|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Material</td> |
|||
<td width="60%" style="padding:3px;">{{{Material}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{Manufacturer|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Manufacturer</td> |
|||
<td width="60%" style="padding:3px;">[[{{{Manufacturer}}}]]</td> |
|||
</tr>}} |
|||
{{#if:{{{Buy Cost|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Buy Cost</td> |
|||
<td width="60%" style="padding:3px;">${{{Buy Cost}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{Sell Cost|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Sell Cost</td> |
|||
<td width="60%" style="padding:3px;">${{{Sell Cost}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{Trader|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Trader</td> |
|||
<td width="60%" style="padding:3px;">[[{{{Trader}}}]]</td> |
|||
</tr>}} |
|||
{{#if:{{{Usage|}}}|<tr> |
|||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Usage</td> |
|||
<td width="60%" style="padding:3px;">{{{Usage}}}</td> |
|||
</tr>}} |
|||
</table> |
|||
{{Short description|Item}} |
|||
[[Category:Item: {{{Type}}}]] |
|||
<templatestyles src="Template:Infobox/styles.css" /></includeonly> |
|||
<noinclude> |
|||
{{/doc}} |
|||
[[Category:Infobox Templates]][[Category:Templates]] |
|||
</noinclude> |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"params": { |
|||
"Image": { |
|||
"Image": {"label": "Image of the item", "type": "string"}, |
|||
"type": "wiki-file-name" |
|||
"Type": {"label": "Type of item", "type": "string"}, |
|||
}, |
|||
"Description": {"label": "Description of the item", "type": "string"}, |
|||
"Type": { |
|||
"Variants": {"label": "Available variants of the item", "type": "string"}, |
|||
"type": "string", |
|||
"Weight": {"label": "Weight of the item in kilograms", "type": "number"}, |
|||
"description": "What type of item is this?", |
|||
"Protection Level": {"label": "Level of protection offered by the item", "type": "string"}, |
|||
"example": "Weapon / Meds / Armor", |
|||
"Flash Protection": {"label": "Level of flash protection offered by the item", "type": "string"}, |
|||
"required": true |
|||
"Material": {"label": "Materials used in the item", "type": "string"}, |
|||
}, |
|||
"Manufacturer": {"label": "Manufacturer of the item", "type": "string"}, |
|||
"Trader": { |
|||
"Buy Cost": {"label": "Cost to buy the item", "type": "number"}, |
|||
"type": "string", |
|||
"Sell Cost": {"label": "Cost at which the item can be sold", "type": "number"}, |
|||
"required": true, |
|||
"Trader": {"label": "Trader selling the item", "type": "string"}, |
|||
"description": "Name of the Vendor who gave the sold the Item", |
|||
"Usage": {"label": "Usage information or guidelines for the item", "type": "string"} |
|||
"example": "Lab Rat" |
|||
} |
|||
}, |
|||
"Weight": { |
|||
"type": "string", |
|||
"required": true, |
|||
"description": "What is the weight of the item", |
|||
"example": "3.613 kg" |
|||
}, |
|||
"Manufacturer": {}, |
|||
"Accuracy": {}, |
|||
"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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | Image | no description | File | optional |
Type | Type | What type of item is this?
| String | required |
Weight | Weight | What is the weight of the item
| String | required |
Variants | Variants | no description | Unknown | optional |
Manufacturer | Manufacturer | no description | Unknown | optional |
Accuracy | Accuracy | no description | Unknown | optional |
Recoil Control | Recoil Control | no description | Unknown | optional |
Arm Stamina Drain | Arm Stamina Drain | no description | Unknown | optional |
Weapon Handling | Weapon Handling | no description | Unknown | optional |
Reload Time | Reload Time | no description | Unknown | optional |
Protection Level | Protection Level | no description | Unknown | optional |
Plates | Plates | no description | Unknown | optional |
Container Size | Container Size | no description | Unknown | optional |
Flash Protection | Flash Protection | no description | Unknown | optional |
Material | Material | no description | Unknown | optional |
Buy Cost | Buy Cost | no description | Unknown | optional |
Sell Cost | Sell Cost | no description | Unknown | optional |
Trader | Trader | Name of the Vendor who gave the sold the Item
| String | required |