Content added Content deleted
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<includeonly>[[Category:Items]] |
<includeonly>[[Category:Items]]<table class="infobox-table floatright" style="padding-top:0"> |
||
<table class="infobox-table floatright" style="padding-top:0"> |
|||
{{#if:{{{Image|}}}|<tr id="infobox-table-img-bg"> |
{{#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> |
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">[[File:{{{Image}}}|400px]]</td> |
||
Line 11: | Line 10: | ||
<td width="60%" style="padding:3px;">[[:Category:Item: {{{Type}}}|{{{Type}}}]]</td> |
<td width="60%" style="padding:3px;">[[:Category:Item: {{{Type}}}|{{{Type}}}]]</td> |
||
</tr>}} |
</tr>}} |
||
{{#if:{{{ |
{{#if:{{{Sold By|}}}|<tr> |
||
<td width="40%" valign="top" colspan="2" style="padding:3px;"> |
<td width="40%" valign="top" colspan="2" style="padding:3px;">Sold By</td> |
||
<td width="60%" style="padding:3px;">{{{ |
<td width="60%" style="padding:3px;">[[{{{Sold By}}}]]</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>}} |
</tr>}} |
||
{{#if:{{{Weight|}}}|<tr> |
{{#if:{{{Weight|}}}|<tr> |
||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Weight</td> |
<td width="40%" valign="top" colspan="2" style="padding:3px;">Weight</td> |
||
<td width="60%" style="padding:3px;">{{{Weight}}} |
<td width="60%" style="padding:3px;">{{{Weight}}}</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>}} |
</tr>}} |
||
{{#if:{{{Manufacturer|}}}|<tr> |
{{#if:{{{Manufacturer|}}}|<tr> |
||
<td width="40%" valign="top" colspan="2" style="padding:3px;">Manufacturer</td> |
<td width="40%" valign="top" colspan="2" style="padding:3px;">Manufacturer</td> |
||
<td width="60%" 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>}} |
</tr>}} |
||
</table> |
</table> |
||
Line 63: | Line 30: | ||
[[Category:Infobox Templates]][[Category:Templates]] |
[[Category:Infobox Templates]][[Category:Templates]] |
||
</noinclude> |
</noinclude> |
||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"Image": {"label": "Image of the item", "type": "string"}, |
|||
"Type": {"label": "Type of item", "type": "string"}, |
|||
"Description": {"label": "Description of the item", "type": "string"}, |
|||
"Variants": {"label": "Available variants of the item", "type": "string"}, |
|||
"Weight": {"label": "Weight of the item in kilograms", "type": "number"}, |
|||
"Protection Level": {"label": "Level of protection offered by the item", "type": "string"}, |
|||
"Flash Protection": {"label": "Level of flash protection offered by the item", "type": "string"}, |
|||
"Material": {"label": "Materials used in the item", "type": "string"}, |
|||
"Manufacturer": {"label": "Manufacturer of the item", "type": "string"}, |
|||
"Buy Cost": {"label": "Cost to buy the item", "type": "number"}, |
|||
"Sell Cost": {"label": "Cost at which the item can be sold", "type": "number"}, |
|||
"Trader": {"label": "Trader selling the item", "type": "string"}, |
|||
"Usage": {"label": "Usage information or guidelines for the item", "type": "string"} |
|||
} |
|||
} |
|||
</templatedata> |
Revision as of 20:10, 8 May 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 |