Template:Infobox weapon: Difference between revisions
Template page
More actions
Content deleted Content added
mNo edit summary |
VertopolkaLF (talk | contribs) m increased size of mod slots |
||
| (16 intermediate revisions by 4 users not shown) | |||
| Line 4: | Line 4: | ||
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|348px]]|}} |
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|348px]]|}} |
||
|imagerowclass1 = infobox-image |
|imagerowclass1 = infobox-image {{#switch: {{{rarity|}}} |
||
|Common = gradient-common |
|||
|Uncommon = gradient-uncommon |
|||
|Rare = gradient-rare |
|||
|Epic = gradient-epic |
|||
|Legendary = gradient-legendary |
|||
|{{{rarity|}}} = gradient-common <!--else--> |
|||
|}} |
|||
|data1 = {{#switch: {{{ammo|}}} |
|data1 = {{#switch: {{{ammo|}}} |
||
| Line 11: | Line 18: | ||
|Light Ammo = [[File:Ammo_Light.png|22px|link=]] |
|Light Ammo = [[File:Ammo_Light.png|22px|link=]] |
||
|Shotgun Ammo = [[File:Ammo_Shotgun.png|22px|link=]] |
|Shotgun Ammo = [[File:Ammo_Shotgun.png|22px|link=]] |
||
|Energy |
|Energy Clip = [[File:Ammo_Energy.png|22px|link=]] |
||
|Launcher Ammo = [[File:Ammo_Launcher.png|22px|link=]] |
|||
}} |
}} |
||
|rowclass1 = data-tag {{#switch: {{{rarity|}}} |
|rowclass1 = data-tag icon {{#switch: {{{rarity|}}} |
||
|Common = data-tag-common |
|Common = data-tag-common |
||
|Uncommon = data-tag-uncommon |
|Uncommon = data-tag-uncommon |
||
| Line 19: | Line 28: | ||
|Epic = data-tag-epic |
|Epic = data-tag-epic |
||
|Legendary = data-tag-legendary |
|Legendary = data-tag-legendary |
||
|{{{rarity|}}} = data-tag-common <!--else--> |
|||
|}} |
|}} |
||
| Line 28: | Line 38: | ||
|Epic = data-tag-epic |
|Epic = data-tag-epic |
||
|Legendary = data-tag-legendary |
|Legendary = data-tag-legendary |
||
|{{{rarity|}}} = data-tag-common <!--else--> |
|||
|}} |
|}} |
||
| Line 37: | Line 48: | ||
|Epic = data-tag-epic |
|Epic = data-tag-epic |
||
|Legendary = data-tag-legendary |
|Legendary = data-tag-legendary |
||
|{{{rarity|}}} = data-tag-common <!--else--> |
|||
|}} |
|}} |
||
| Line 44: | Line 56: | ||
|data5 = {{{weaponquote|}}} |
|data5 = {{{weaponquote|}}} |
||
|rowclass5 = data-weaponquote infobox-quote infobox-col1 |
|rowclass5 = data-weaponquote infobox-quote infobox-col1 |
||
<!-- |
|||
|data6 |
|data6 = {{#if:{{{compatiblemods|}}}|{{#invoke:String|replace |
||
| source = {{{compatiblemods|}}} |
|||
| ⚫ | |||
| pattern = [^%s]+ |
|||
--> |
|||
| replace = [[File:Mods %1.png|38px|link=|%1]] |
|||
| ⚫ | |||
| plain = false |
|||
| ⚫ | |||
}}|}} |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
|Heavy Ammo = [[File:Ammo_Heavy.png|24px|link=]] Heavy Ammo |
|Heavy Ammo = [[File:Ammo_Heavy.png|24px|link=]] Heavy Ammo |
||
|Medium Ammo = [[File:Ammo_Medium.png|24px|link=]] Medium Ammo |
|Medium Ammo = [[File:Ammo_Medium.png|24px|link=]] Medium Ammo |
||
|Light Ammo = [[File:Ammo_Light.png|24px|link=]] Light Ammo |
|Light Ammo = [[File:Ammo_Light.png|24px|link=]] Light Ammo |
||
|Shotgun Ammo = [[File:Ammo_Shotgun.png|24px|link=]] Shotgun Ammo |
|Shotgun Ammo = [[File:Ammo_Shotgun.png|24px|link=]] Shotgun Ammo |
||
|Energy |
|Energy Clip = [[File:Ammo_Energy.png|24px|link=]] Energy Clip |
||
}} |
}} |
||
| |
|rowclass7 = data-ammo infobox-data infobox-col1 |
||
| |
|label8 = Magazine Size |
||
| |
|data8 = {{{magsize|}}} |
||
| |
|rowclass8 = data-magsize infobox-data infobox-col1 |
||
| |
|label9 = Firing Mode |
||
| |
|data9 = {{{firingmode|}}} |
||
| |
|rowclass9 = data-firingmode infobox-data infobox-col1 |
||
| |
|label10 = ARC Armor Penetration |
||
| |
|data10 = {{{ARCarmorpenetr|}}} |
||
| |
|rowclass10 = data-ARCarmorpenetr infobox-data infobox-col1 |
||
| |
|label11 = Special Trait |
||
| |
|data11 = {{{SpecialTrait|}}} |
||
| |
|rowclass11 = data-SpecialTrait infobox-data infobox-col1 |
||
| |
|label12 = Price |
||
| |
|data12 = {{{price|}}} |
||
| |
|rowclass12 = data-price infobox-data infobox-col1 |
||
| |
|label13 = Damage |
||
| |
|data13 = {{{damage|}}} |
||
| |
|rowclass13 = data-damage infobox-data infobox-col1 |
||
| |
|label14 = Fire Rate |
||
| |
|data14 = {{{firerate|}}} |
||
| |
|rowclass14 = data-firerate infobox-data infobox-col1 |
||
| |
|label15 = Range |
||
| |
|data15 = {{{range|}}} |
||
| |
|rowclass15 = data-range infobox-data infobox-col1 |
||
| |
|label16 = Stability |
||
| |
|data16 = {{{stability|}}} |
||
| |
|rowclass16 = data-stability infobox-data infobox-col1 |
||
| |
|label17 = Agility |
||
| |
|data17 = {{{agility|}}} |
||
| |
|rowclass17 = data-agility infobox-data infobox-col1 |
||
| |
|label18 = Stealth |
||
| |
|data18 = {{{stealth|}}} |
||
| |
|rowclass18 = data-stealth infobox-data infobox-col1 |
||
|header19 = General Data |
|header19 = General Data |
||
| Line 106: | Line 123: | ||
|label20 = Weight |
|label20 = Weight |
||
|data20 = {{{weight|}}} |
|data20 = {{Weight|{{{weight|}}}}} |
||
|rowclass20 = data-weight infobox-data infobox-col1 |
|rowclass20 = data-weight infobox-data infobox-col1 |
||
| Line 113: | Line 130: | ||
|rowclass21 = data-sellprice infobox-data infobox-col1 |
|rowclass21 = data-sellprice infobox-data infobox-col1 |
||
|header22 = Upgrade Perks |
|header22 = {{#if: {{{upgradep2|}}} | Upgrade Perks }} |
||
|rowclass22 = infobox-header |
|rowclass22 = infobox-header |
||
| Line 127: | Line 144: | ||
|data25 = {{{upgradep4|}}} |
|data25 = {{{upgradep4|}}} |
||
|rowclass25 = data-upgradep4 infobox-data infobox-col1 |
|rowclass25 = data-upgradep4 infobox-data infobox-col1 |
||
|label26 = N/A |
|||
|data26 = {{{na|}}} |
|||
|rowclass26 = data-na infobox-data infobox-col1 |
|||
|}}<templatestyles src="Template:Infobox/styles.css" />{{#ifeq:{{NAMESPACE}}||[[Category:Weapons]]}}</includeonly> |
|}}<templatestyles src="Template:Infobox/styles.css" />{{#ifeq:{{NAMESPACE}}||[[Category:Weapons]]}}</includeonly> |
||
| Line 138: | Line 151: | ||
{{Infobox weapon |
{{Infobox weapon |
||
|name=Tempest I/II/III/IV |
|name=Tempest I/II/III/IV |
||
|image=Tempest-Level1.png |
|||
|rarity=Epic |
|rarity=Epic |
||
|weaponquote = Fully automatic assault rifle with moderate fire rate and accuracy. |
|weaponquote = Fully automatic assault rifle with moderate fire rate and accuracy. |
||
|compatiblemods = Muzzle Grip Medium-Mag Stock |
|||
|type=Assault Rifle |
|type=Assault Rifle |
||
|ammo=Medium Ammo |
|ammo=Medium Ammo |
||
| Line 154: | Line 169: | ||
|magazine=true |
|magazine=true |
||
|muzzle=true |
|muzzle=true |
||
|weight= |
|weight=5.0 |
||
|sellprice=5,000 |
|sellprice={{Price|5,000}}{{Price|6,000}}{{Price|7,000}}{{Price|8,000}} |
||
|upgradep2=filler<br>filler |
|upgradep2=filler<br>filler |
||
|upgradep3=Filler |
|upgradep3=Filler |
||
|upgradep4=Words |
|upgradep4=Words |
||
}} |
|||
[[Category:Infobox templates]]</noinclude> |
|||
Latest revision as of 04:18, 10 November 2025
Example: