Template:Infobox weapon: Difference between revisions
Template page
More actions
Content deleted Content added
No edit summary |
added ammo data tag |
||
| Line 5: | Line 5: | ||
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|348px]]|}} |
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|348px]]|}} |
||
|imagerowclass1 = infobox-image |
|imagerowclass1 = infobox-image |
||
|data1 = {{#switch: {{{ammo|}}} |
|||
|Heavy Ammo = [[File:Ammo_Heavy.png|22px|link=]] |
|||
|Medium Ammo = [[File:Ammo_Medium.png|22px|link=]] |
|||
|Light Ammo = [[File:Ammo_Light.png|22px|link=]] |
|||
|Shotgun Ammo = [[File:Ammo_Shotgun.png|22px|link=]] |
|||
|Energy Ammo = [[File:Ammo_Energy.png|22px|link=]] |
|||
}} |
|||
|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 = {{{type|}}} |
|data2 = {{{type|}}} |
||
| Line 40: | Line 55: | ||
|Shotgun Ammo = [[File:Ammo_Shotgun.png|24px|link=]] Shotgun Ammo |
|Shotgun Ammo = [[File:Ammo_Shotgun.png|24px|link=]] Shotgun Ammo |
||
|Energy Ammo = [[File:Ammo_Energy.png|24px|link=]] Energy Ammo |
|Energy Ammo = [[File:Ammo_Energy.png|24px|link=]] Energy Ammo |
||
}} |
|||
|rowclass6 = data-ammo infobox-data infobox-col1 |
|rowclass6 = data-ammo infobox-data infobox-col1 |
||
Revision as of 17:44, 19 October 2025
Example: