Template:Mod Data: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="modinfo_container" align="left"> | <includeonly><div class="modinfo_container" align="left"> | ||
<div class="modinfo-right-corner">Requires Level {{{rlvl}}}<br> <span style="color:white;">Item Level {{{rarity}}}<br>ID: {{ModID|{{{id}}}}}<br>Install Multiple: {{#switch: {{{multi}}} | <div class="modinfo-right-corner">Requires Level {{{rlvl}}}<br> <span style="color:white;">Item Level {{{rarity}}}<br>ID: {{ModID|{{{id}}}}}<br>Install Multiple: {{#switch: {{{multi}}} | 0 = No| 1 = Yes}}<br>Ship Class: {{#ifeq:{{{freighter|}}}|0|Freighter}}{{#ifeq:{{{fighter|}}}|0|Fighter}}{{#ifeq:{{{scout|}}}|0|Scout}}</span></div><!--{{#switch: {{{ship}}}| 1 = Freighter| 2 = Fighter| 3 = Scout| #default = Any}}--><!--{{#if:{{{map|}}}|{{#ifeq:{{{map|}}}|name|[[File:{{PAGENAME}} location.png]]--> | ||
| 0 = No | |||
| 1 = Yes | |||
}}<br>Ship Class: {{#switch: {{{ship}}} | |||
| 1 = Freighter | |||
| 2 = Fighter | |||
| 3 = Scout | |||
| #default = Any | |||
}} | |||
<div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{img}}}.png|100px|link=]]</div> | <div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{img}}}.png|100px|link=]]</div> | ||
<div style="font-size:12pt;"><span style="color:{{#switch: {{#expr: floor( {{{rarity}}} / 100 )}} | <div style="font-size:12pt;"><span style="color:{{#switch: {{#expr: floor( {{{rarity}}} / 100 )}} | ||
| Line 24: | Line 16: | ||
| 5 = Sensor | | 5 = Sensor | ||
| 6 = Utility | | 6 = Utility | ||
}}<br>{{plainlist|* {{{stat1}}}<br>{{#if: {{{stat2}}}|* {{{stat2}}}}}{{#if: {{{stat3}}}|* {{{stat3}}}}}</div></div> | }}<br>{{plainlist|* {{{stat1}}}<br>{{#if: {{{stat2|}}}|* {{{stat2}}}}}{{#if: {{{stat3|}}}|* {{{stat3}}}}}}}</div></div> | ||
<div class="modinfo_details"> | <div class="modinfo_details"> | ||
<div style="font-size:10pt;"><strong>Description</strong><br>{{{desc}}}</div><hr class="modinfohr"> | <div style="font-size:10pt;"><strong>Description</strong><br>{{{desc}}}</div><hr class="modinfohr"> | ||
{{#if:{{{avail|}}}|<div style="font-size:10pt;"><strong>Availability</strong><br>{{{avail}}}</div><hr class="modinfohr">}} | {{#if:{{{avail|}}}|<div style="font-size:10pt;"><strong>Availability</strong><br>{{{avail}}}</div><hr class="modinfohr">}} | ||
<div style="font-size:10pt;"><strong>Details</strong><br>Value: ${{{value}}}<br>Random Drop: {{#switch: {{{rdrop}}}| 0 = No | 1 = Yes}}<br>Tradeble: {{#switch: {{{trade}}}| 0 = No | 1 = Yes}}<br> Install Multiple: {{#switch: {{{multi}}}| 0 = No | 1 = Yes}}<br>Craftable: {{#switch: {{{craft}}}| 0 = No | 1 = Yes}}</div><hr class="modinfohr"> | <div style="font-size:10pt;"><strong>Details</strong><br>Value: ${{{value}}}<br>Random Drop: {{#switch: {{{rdrop}}}| 0 = No | 1 = Yes}}<br>Tradeble: {{#switch: {{{trade}}}| 0 = No | 1 = Yes}}<br> Install Multiple: {{#switch: {{{multi}}}| 0 = No | 1 = Yes}}<br>Craftable: {{#switch: {{{craft}}}| 0 = No | 1 = Yes}}</div><hr class="modinfohr"> | ||
{{# | {{#ifeq:{{{craft|}}}|1|<div style="font-size:10pt;"><strong>Crafting Materials</strong><br> | ||
{{{ | {{#switch: {{{mats}}}| 1 = [[File:Martian_Rocks.png|50px|link=]] Martian Rocks | 2 = [[File:Martian Foods.png|50px|link=]] Martian Foods | 3 = [[File:Water.png|50px|link=]] Water | 4 = [[File:Energy Cell.png|50px|link=]] Energy Cell | 5 = [[File:Miscellanous Garbage.png|50px|link=]] Miscellanous Garbage | 6 = [[File:Jupiter Gas.png|50px|link=]] Jupiter Gas | 7 = [[File:Eris Ice.png|50px|link=]] Eris Ice | 9 = [[File:Iron Ore.png|50px|link=]] Iron Ore | 10 = [[File:Tungsten Plate.png|50px|link=]] Tungsten Plate | 11 = [[File:Heavy Water.png|50px|link=]] Heavy Water | 12 = [[File:Silica Gem.png|50px|link=]] Silica Gem(s) | 13 = [[File:Titanium.png|50px|link=]] Titanium | 14 = [[File:Heavy Titanium.png|50px|link=]] Heavy Titanium | 15 = [[File:Compacted Iron Ore.png|50px|link=]] Compacted Iron Ore | 16 = [[File:Hydrogen.png|50px|link=]] Hydrogen | 17 = [[File:Mercurium.png|50px|link=]] Mercurium | 18 = [[File:Polished Diamond.png|50px|link=]] Polished Diamond(s) | 19 = [[File:Small Helium Canister.png|50px|link=]] Small Helium Canister(s) | 20 = [[File:Black Ice Shards.png|50px|link=]] Black Ice Shard(s) | 21 = [[File:Tier1 Mod Component.png|50px|link=]] Tier I Mod Component(s) | 22 = [[File:Tier2 Mod Component.png|50px|link=]] Tier II Mod Component(s) | 23 = [[File:Tier3 Mod Component.png|50px|link=]] Tier III Mod Component(s) | 24 = [[File:Tier4 Mod Component.png|50px|link=]] Tier IV Mod Component(s) | 25 = [[File:Tier5 Mod Component.png|50px|link=]] Tier V Mod Component(s) | 26 = [[File:Tier6 Mod Component.png|50px|link=]] Tier VI Mod Component(s) | 27 = [[File:Supercharged Fuel Cell.png|50px|link=]] Supercharged Fuel Cell | 28 = [[File:General Trade Goods.png|50px|link=]] General Trade Goods | 29 = [[File:Synthplast.png|50px|link=]] Synthplast | 30 = [[File:Anti-Gravity Components.png|50px|link=]] Anti-Gravity Components | 31 = [[File:Targeting Chip.png|50px|link=]] Targeting Chips | 32 = [[File:Micro Shield Generator.png|50px|link=]] Micro Shield Generators | 33 = [[File:Empty Gas Cylinders.png|50px|link=]] Empty Gas Cylinders | 34 = [[File:Disrupter Cartridges.png|50px|link=]] Disrupter Cartridges | 35 = [[File:Empty Shipping Container.png|50px|link=]] Empty Shipping Containers | 36 = [[File:Mining Grenade.png|50px|link=]] Mining Grenade(s) | 37 = [[File:Radiation Suit.png|50px|link=]] Radiation Suits | 38 = [[File:Acetylene Tanks.png|50px|link=]] Acetylene Tanks | 39 = [[File:Sensor Pack.png|50px|link=]] Sensor Packs | 40 = [[File:General Purpose Scanner.png|50px|link=]] General Purpose Scanner | 41 = [[File:Maintenance Kit.png|50px|link=]] Maintenance Kit | 42 = [[File:Space Moth Trap.png|50px|link=]] Space Moth Traps | 43 = [[File:Military Grade Mod Frame.png|50px|link=]] Military Grade Mod Frame(s) | 44 = [[File:Commercial Grade Mod Frame.png|50px|link=]] Commercial Grade Mod Frame(s) | 45 = [[File:Medical Supplies.png|50px|link=]] Medical Supplies | 46 = [[File:Gemini Supply Crate.png|50px|link=]] Gemini Supply Crate(s) | 47 = [[File:Captured Moths.png|50px|link=]] Captured Space Moths | 48 = [[File:Nesellium.png|50px|link=]] Nesellium | 49 = [[File:Moon Rocks.png|50px|link=]] Moon Rock(s) | 50 = [[File:Ship Transponder.png|50px|link=]] Ship Transponder | 51 = [[File:Token cavmas.png|50px|link=]] Token (Christmas) | 52 = [[File:Token harvest.png|50px|link=]] Token (Harvest) | 53 = [[File:Wiki token.png|50px|link=]] Token (Wiki) | 54 = [[File:Earth token.png|50px|link=]] Token (Earth) | 55 = [[File:Mars token.png|50px|link=]] Token (Mars) | 56 = [[File:Jupiter token.png|50px|link=]] Token (Jupiter) | 57 = [[File:Eris token.png|50px|link=]] Token (Eris) | 58 = [[File:Gem token.png|50px|link=]] Token (Gem) | 59 = [[File:Freighter token.png|50px|link=]] Token (Freighter) | 60 = [[File:Fighter token.png|50px|link=]] Token (Fighter) | 61 = [[File:Scout token.png|50px|link=]] Token (Scout) | 62 = [[File:Token pancake.png|50px|link=]] Framed Picture of Pancake | 63 = [[File:Moon token.png|50px|link=]] Token (Moon) | 64 = [[File:Token medal.png|50px|link=]] Medal of Peace | 65 = [[File:Token birthday.png|50px|link=]] Token (Birthday) | 66 = [[File:Contraband.png|50px|link=]] Contraband | 67 = [[File:Mothite.png|50px|link=]] Mothite | 68 = [[File:Deed light freighter.png|50px|link=]] Drone Deed: Diaster's Might | 69 = [[File:Blue Methane.png|50px|link=]] Blue Methane}}</div><hr class="modinfohr">}} | ||
{{mainonly|[[Category:Mods]]{{#ifeq:{{{slot|}}}|1|[[Category:Armor mods]]}}{{#ifeq:{{{slot|}}}|2|[[Category:Shield mods]]}}{{#ifeq:{{{slot|}}}|3|[[Category:Weapon mods]]}}{{#ifeq:{{{slot|}}}|4|[[Category:Engine mods]]}}{{#ifeq:{{{slot|}}}|5|[[Category:Sensor mods]]}}{{#ifeq:{{{slot|}}}|6|[[Category:Utility mods]]}}{{#ifeq:{{{freighter|}}}|0|[[Category:Freighter-specific mods]]}}{{#ifeq:{{{fighter|}}}|0|[[Category:Fighter-specific mods]]}}{{#ifeq:{{{scout|}}}|0|[[Category:Scout-specific mods]]}}{{#ifeq:{{{craft|}}}|1|[[Category:Craftable mods]]}}{{#ifeq:{{{trade|}}}|1|[[Category:Tradeable mods]]}}{{#ifeq:{{{multi|}}}|1|[[Category:Multi-install mods]]}}{{#ifeq:{{{rarity|}}}|1|[[Category:White tier mods]]}}{{#ifeq:{{{rarity|}}}|2|[[Category:Green tier mods]]}}{{#ifeq:{{{rarity|}}}|3|[[Category:Blue tier mods]]}}{{#ifeq:{{{rarity|}}}|4|[[Category:Purple tier mods]]}}{{#ifeq:{{{rarity|}}}|5|[[Category:Orange tier mods]]}}}} | |||
</div></includeonly><noinclude>{{/doc}}[[Category: Templates]]</noinclude> | </div></includeonly><noinclude>{{/doc}}[[Category: Templates]]</noinclude> | ||