Content added Content deleted
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 9: | Line 9: | ||
}}</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":{ |
|||
"type":"wiki-file-name" |
|||
}, |
|||
"Description": {"label": "Description of the item", "type": "string"}, |
|||
"Type":{ |
|||
"Variants": {"label": "Available variants of the item", "type": "string"}, |
|||
"type":"string", |
|||
"description":"What type of item is this?", |
|||
"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"}, |
|||
"Sold By":{ |
|||
"Buy Cost": {"label": "Cost to buy the item", "type": "number"}, |
|||
"type":"string", |
|||
"required":true, |
|||
"Trader": {"label": "Trader selling the item", "type": "string"}, |
|||
"description":"Name of the Vendor who gave the sold the Item", |
|||
"example":"Lab Rat" |
|||
} |
|||
}, |
|||
"Weight":{ |
|||
"type":"string", |
|||
"required":true, |
|||
"description":"What is the weight of the item", |
|||
"example":"3.613 kg" |
|||
}, |
|||
"Manufacturer":{ |
|||
"type":"string", |
|||
"required":true, |
|||
"description":"What company manufactures this item", |
|||
"example":"Daniel Defense" |
|||
} |
|||
}, |
|||
"description":"A Templated used in the creation of items", |
|||
"format":"block", |
|||
"paramOrder":[ |
|||
"Image", |
|||
"Type", |
|||
"Sold By", |
|||
"Weight", |
|||
"Manufacturer" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
Revision as of 20:06, 8 May 2024
Usage
{{Infobox Item | Image = | Type = | Sold By = (Name) | Weight = | Manufacturer = | Related = }}
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 |
Sold By | Sold By | Name of the Vendor who gave the sold the Item
| String | required |
Weight | Weight | What is the weight of the item
| String | required |
Manufacturer | Manufacturer | What company manufactures this item
| String | required |