Template:Infobox modification: Difference between revisions
Template page
More actions
Content deleted Content added
mNo edit summary |
VertopolkaLF (talk | contribs) m added icon class |
||
| (13 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: {{{type|}}} |
|||
|Modification-Light-Mag = [[File:Mods_Light-Mag.png|20px|link=]] |
|||
|Modification-Medium-Mag = [[File:Mods_Medium-Mag.png|20px|link=]] |
|||
|Modification-Heavy-Mag = [[File:Mods_Heavy-Mag.png|20px|link=]] |
|||
|Modification-Shotgun-Mag = [[File:Mods_Shotgun-Mag.png|20px|link=]] |
|||
|Modification-Stock = [[File:Mods_Stock.png|20px|link=]] |
|||
|Modification-Grip = [[File:Mods_Grip.png|20px|link=]] |
|||
|Modification-Muzzle = [[File:Mods_Muzzle.png|20px|link=]] |
|||
|Modification-Shotgun-Muzzle = [[File:Mods_Shotgun-Muzzle.png|20px|link=]] |
|||
|Modification-Tech-Mod = [[File:Mods_Tech-Mod.png|20px|link=]] |
|||
|#default = {{{type|}}} |
|||
}} |
|||
|rowclass1 = data-tag icon {{#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 = {{#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 33: | Line 61: | ||
|rowclass6 = data-warning infobox-data infobox-col1 |
|rowclass6 = data-warning infobox-data infobox-col1 |
||
|label7 = Function |
|||
|data7 = {{{fun1|}}} |
|data7 = {{{fun1|}}} |
||
|rowclass7 = data-fun1 infobox-data infobox-col1 |
|rowclass7 = data-fun1 infobox-data infobox-col1 |
||
|label8 = Function |
|||
|data8 = {{{fun2|}}} |
|data8 = {{{fun2|}}} |
||
|rowclass8 = data-fun2 infobox-data infobox-col1 |
|rowclass8 = data-fun2 infobox-data infobox-col1 |
||
|label9 = Function |
|||
|data9 = {{{fun3|}}} |
|data9 = {{{fun3|}}} |
||
|rowclass9 = data-fun3 infobox-data infobox-col1 |
|rowclass9 = data-fun3 infobox-data infobox-col1 |
||
|label10 = Function |
|||
|data10 = {{{fun4|}}} |
|data10 = {{{fun4|}}} |
||
|rowclass10 = data-fun4 infobox-data infobox-col1 |
|rowclass10 = data-fun4 infobox-data infobox-col1 |
||
|label11 = Function |
|||
|data11 = {{{fun5|}}} |
|data11 = {{{fun5|}}} |
||
|rowclass11 = data-fun5 infobox-data infobox-col1 |
|rowclass11 = data-fun5 infobox-data infobox-col1 |
||
|label12 = Function |
|||
|data12 = {{{fun6|}}} |
|data12 = {{{fun6|}}} |
||
|rowclass12 = data-fun6 infobox-data infobox-col1 |
|rowclass12 = data-fun6 infobox-data infobox-col1 |
||
| Line 55: | Line 82: | ||
|rowclass13 = infobox-header |
|rowclass13 = infobox-header |
||
|label14 = |
|label14 = Blueprint Locked |
||
|data14 = {{{recipe|}}} |
|data14 = {{{recipe|}}} |
||
|rowclass14 = data-recipe infobox-data infobox-col1 |
|rowclass14 = data-recipe infobox-data infobox-col1 |
||
| Line 64: | Line 91: | ||
|label16 = Sell Price |
|label16 = Sell Price |
||
|data16 = {{{sellprice|}}} |
|data16 = {{Price|{{{sellprice|}}}}} |
||
|rowclass16 = data-sellprice infobox-data infobox-col1 |
|rowclass16 = data-sellprice infobox-data infobox-col1 |
||
|}}</includeonly><templatestyles src="Template:Infobox/styles.css" /> |
|}}</includeonly><templatestyles src="Template:Infobox/styles.css" />{{#ifeq:{{NAMESPACE}}||[[Category:Modifications]]}}<noinclude> |
||
<noinclude> |
|||
Example: |
Example: |
||
<pre> |
|||
| ⚫ | |||
|type accepts one of these: |
|||
[ |
|||
Modification-Light-Mag, |
|||
Modification-Medium-Mag, |
|||
Modification-Heavy-Mag, |
|||
Modification-Shotgun-Mag, |
|||
Modification-Stock, |
|||
Modification-Grip, |
|||
Modification-Muzzle, |
|||
Modification-Shotgun-Muzzle, |
|||
Modification-Tech-Mod |
|||
] |
|||
</pre> |
|||
| ⚫ | |||
|image= |
|image= |
||
|type= |
|type=Modification-Stock |
||
|rarity=Epic |
|rarity=Epic |
||
|name=The Attachments |
|name=The Attachments |
||
| Line 86: | Line 126: | ||
|weight=Heavy |
|weight=Heavy |
||
|sellprice=Coin |
|sellprice=Coin |
||
}}[[Category:Infobox templates]] |
|||
| ⚫ | |||
Latest revision as of 04:15, 10 November 2025
Example:
|type accepts one of these: [ Modification-Light-Mag, Modification-Medium-Mag, Modification-Heavy-Mag, Modification-Shotgun-Mag, Modification-Stock, Modification-Grip, Modification-Muzzle, Modification-Shotgun-Muzzle, Modification-Tech-Mod ]
| Modification | |
| Epic | |
| The Attachments | |
|---|---|
| Gun go brrr | |
| ⓘ Compatible with: Anvil | |
| 10% luck | |
| 20% skill | |
| 15% power of will | |
| 5% pleasure | |
| 50% pain | |
| 100% reason | |
| General Data | |
| Blueprint Locked | Yes |
| Weight | Heavy |
| Sell Price | |