Template:Infobox modification: Difference between revisions
Template page
More actions
Content deleted Content added
added icon types |
added type name next to type icon |
||
| Line 6: | Line 6: | ||
|imagerowclass1 = infobox-image |
|imagerowclass1 = infobox-image |
||
| |
|data1 = {{#switch: {{{type|}}} |
||
|Modification-Light-Mag = [[File:Mods_Light-Mag.png|20px|link=]] |
|Modification-Light-Mag = [[File:Mods_Light-Mag.png|20px|link=]] |
||
|Modification-Medium-Mag = [[File:Mods_Medium-Mag.png|20px|link=]] |
|Modification-Medium-Mag = [[File:Mods_Medium-Mag.png|20px|link=]] |
||
| Line 18: | Line 18: | ||
}} |
}} |
||
|rowclass1 = data-tag {{#switch: {{{rarity|}}} |
|||
|Common = data-tag-common |
|||
|Uncommon = data-tag-uncommon |
|||
|Rare = data-tag-rare |
|||
|Epic = data-tag-epic |
|||
|Legendary = data-tag-legendary |
|||
|}} |
|||
|data2 = {{#invoke:String|replace|{{{type|}}}|%-.*||plain=false}} |
|||
|rowclass2 = data-tag {{#switch: {{{rarity|}}} |
|rowclass2 = data-tag {{#switch: {{{rarity|}}} |
||
|Common = data-tag-common |
|Common = data-tag-common |
||
| Line 82: | Line 91: | ||
{{infobox Attachment |
{{infobox Attachment |
||
|image= |
|image= |
||
|type= |
|type=Modification-Stock |
||
|rarity=Epic |
|rarity=Epic |
||
|name=The Attachments |
|name=The Attachments |
||
Revision as of 14:09, 22 October 2025
Example: Template:Infobox Attachment