Template:Infobox Mod: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div | <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: {{{id}}}<br>Install Multiple: {{{multi}}}<br>Ship Class: {{{ship}}}</span></div> | ||
[[File:{{{img}}}|100px|link=]] | <div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{img}}}|100px|link=]]</div> | ||
<span style="color:{{#switch: {{#expr: floor( {{{rarity}}} / 100 )}} | <div style="font-size:12pt;"><span style="color:{{#switch: {{#expr: floor( {{{rarity}}} / 100 )}} | ||
| 1 = #fff | | 1 = #fff | ||
| 2 = #048000 | | 2 = #048000 | ||
| Line 8: | Line 8: | ||
| 4 = #9702C6 | | 4 = #9702C6 | ||
| 5 = #FFA500 | | 5 = #FFA500 | ||
}}">{{{name}}}</span>< | }}">{{{name}}}</span></div> | ||
<hr> | <div style="font-size:10pt;">Slot: {{{slot}}}<br>{{{stats}}}</div></div> | ||
--- | <div class="modinfo_details"> | ||
<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">}} | |||
<div style="font-size:10pt;"><strong>Details</strong><br>Value: {{{value}}}<br>Random Drop: {{{rdrop}}}<br>Tradeble: {{{trade}}}<br>Install Multiple: {{{multi}}}<br>Craftable: {{{craft}}}</div><hr class="modinfohr"> | |||
{{#if:{{{mreq|}}}|<div style="font-size:10pt;"><strong>Crafting Materials</strong><br> | |||
{{{mreq}}}</div><hr class="modinfohr">}} | |||
</div></includeonly><noinclude>{{/doc}}[[Category: Templates]]</noinclude> | |||
<!--Template Construction Notes; | |||
{{#if:{{{3|}}}|{{#switch:{{{3}}}| | |||
{{#if:{{{desc|}}}| | |||
<td style=" background-color: #0c191d;"><div class="mod_container" align="left"> | |||
<div class="mod-right-corner">Requires Level 2<br> <span style="color:white;">Item Level 115<br>ID: 4<br>Install Multiple: Yes<br>Ship Class: Any </span></div> | |||
<img src="/images/mods/armor_1_white.png" style="float:left; padding-right:5px; margin-right:5px; height:100px; width:100px;"> | |||
<span style="color:white">Hammered Garbage</span> | |||
<div style="font-size:10pt;"> | |||
Location: Armor<br> | |||
+15 armor </div> | |||
</div> | </div> | ||
< | <div class="mod_details"><div style="float:right"></div><div style="font-size:10pt;"><strong>Description</strong><br> Armor plating obviously fused together out of various pieces of miscellaneous garbage. Still, it's better than nothing...maybe. | ||
< | <br><hr><strong>Availability</strong><br>Gemini Station (0 rep) This mod can be acquired from missions, encounters, hacking, or defeating NPC ships. | ||
</div> | |||
<hr><strong>Details</strong><br> | |||
Value: $250 | |||
<br> | |||
Random Drop: Yes<br> | |||
Tradeble: Yes<br> | |||
Install Multiples: Yes<br> | |||
Craftable: No | |||
<br> | |||
</div> | |||
</td>--> | |||
Latest revision as of 23:22, 11 June 2020
Template documentation
This documentation is transcluded from Template:Infobox Mod/doc. [edit] [purge]
Not to be confused with Template:Modbox.
This template is used for individual mod pages as an Infobox.
Syntax
name - Name of Mod
img - Mod Image, e.g: sensor 3 orange.png
slot - Utility? Weapon? Sensor?
rlvl - Required Level
rarity - Item Level
id - Id of Mod. Use {{ModID|<ID>}}
multi - Install Multiple?
ship - Freighter? Scout? Fighter? Any?
stats - Attributes/Stats
desc - Information about Mod
avail - Availability Info
value - Cost of the Mod
rdrop - Random Drop?
trade - tradable?
craft - Craftable?
mreq - If craftable, list materials
Usage
{{Infobox Mod
|name =
|img =
|slot =
|rlvl =
|rarity =
|id =
|multi =
|ship =
|stats =
|desc =
|avail =
|value =
|rdrop =
|trade =
|craft =
}}
Example
{{Infobox Mod
|name = JayCo Historian's Tractor Beam
|img = sensor 3 orange.png
|slot = Sensor
|rlvl = 15
|rarity = 545
|id = {{ModID|21222}}
|multi = No
|ship = Any
|stats = {{plainlist|
* +10 Cargo Space
* +10 Cargo Shielding
* +10% Hacking
}}
|desc = Awarded to pilots who are dedicated to learning and passing on the JayCo histories
|avail =
|value = $100,000
|rdrop = No
|trade = No
|craft = No
}}
Outputs:
Requires Level 15
Item Level 545
ID: 21222
Install Multiple: No
Ship Class: Any
Item Level 545
ID: 21222
Install Multiple: No
Ship Class: Any
JayCo Historian's Tractor Beam
Slot: Sensor
- +10 Cargo Space
- +10 Cargo Shielding
- +10% Hacking
Description
Awarded to pilots who are dedicated to learning and passing on the JayCo histories
Awarded to pilots who are dedicated to learning and passing on the JayCo histories
Details
Value: $100,000
Random Drop: No
Tradeble: No
Install Multiple: No
Craftable: No
Value: $100,000
Random Drop: No
Tradeble: No
Install Multiple: No
Craftable: No