Template:Infobox item: Difference between revisions
Template page
More actions
Content deleted Content added
added infobox-image background gradient by rarity |
VertopolkaLF (talk | contribs) m added "icon" class to icon to fix the styles |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 38: | Line 38: | ||
}} |
}} |
||
|rowclass1 = data-tag {{#switch: {{{rarity|}}} |
|rowclass1 = data-tag icon {{#switch: {{{rarity|}}} |
||
|= data-tag-common |
|||
|Common = data-tag-common |
|Common = data-tag-common |
||
|Uncommon = data-tag-uncommon |
|Uncommon = data-tag-uncommon |
||
| Line 48: | Line 49: | ||
|data2 = {{#invoke:String|replace|{{{type|}}}|%-.*||plain=false}} |
|data2 = {{#invoke:String|replace|{{{type|}}}|%-.*||plain=false}} |
||
|rowclass2 = data-tag {{#switch: {{{rarity|}}} |
|rowclass2 = data-tag {{#switch: {{{rarity|}}} |
||
|= data-tag-common |
|||
|Common = data-tag-common |
|Common = data-tag-common |
||
|Uncommon = data-tag-uncommon |
|Uncommon = data-tag-uncommon |
||
| Line 83: | Line 85: | ||
|label8 = Weight |
|label8 = Weight |
||
|data8 = {{{weight|}}} |
|data8 = {{Weight|{{{weight|}}}}} |
||
|rowclass8 = data-weight infobox-data infobox-col1 |
|rowclass8 = data-weight infobox-data infobox-col1 |
||
| Line 161: | Line 163: | ||
}}</includeonly> |
}}</includeonly> |
||
<noinclude> |
<noinclude> |
||
<div style="width:min-content; float:left;">Example: |
|||
Example: |
|||
<pre> |
<pre> |
||
|type accepts one of these: |
|type accepts one of these: |
||
| Line 187: | Line 189: | ||
] |
] |
||
</pre> |
</pre> |
||
</div> |
|||
{{Infobox item |
{{Infobox item |
||
|image=Rubber Duck.png |
|image=Rubber Duck.png |
||
| Line 195: | Line 198: | ||
|type=Basic Material |
|type=Basic Material |
||
|location=ARC<br>Exodus<br>Medical<br>Security<br>Electrical<br>Industrial<br>Old World<br>Residential<br>Mechanical<br>Commercial<br>Technological |
|location=ARC<br>Exodus<br>Medical<br>Security<br>Electrical<br>Industrial<br>Old World<br>Residential<br>Mechanical<br>Commercial<br>Technological |
||
|weight=0. |
|weight=0.3 |
||
|sellprice=500 |
|sellprice=500 |
||
|stacksize=5 |
|stacksize=5 |
||
Latest revision as of 03:12, 10 November 2025
Example:
|type accepts one of these: [ Nature Trinket Recyclable Misc Basic Material Topside Material Refined Material Advanced Material Quick Use-Regen Quick Use-Utility Quick Use-Gadget Quick Use-Grenade Quick Use-Trap Ammunition-Heavy Ammunition-Medium Ammunition-Light Ammunition-Shotgun Ammunition-Energy Ammunition-Launcher Key ]