Template:Infobox Mod: Difference between revisions

From [N8]
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="mod_container" align="left">
<div class="modinfo_container" align="left">
<div class="mod-right-corner">Requires Level {{{rlvl}}}<br> <span style="color:white;">Item Level {{{rarity}}}<br>ID: {{{id}}}<br>Install Multiple: {{{multi}}} </span></div>
<div class="modinfo-right-corner">Requires Level {{{rlvl}}}<br> <span style="color:white;">Item Level {{{rarity}}}<br>ID: {{{id}}}<br>Install Multiple: {{{multi}}} </span></div>
<div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{img}}}|100px|link=]]</div>
<div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{img}}}|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 10: Line 10:
}}">{{{name}}}</span></div>
}}">{{{name}}}</span></div>
<div style="font-size:10pt;">Location: {{{local}}}<br>{{{stats}}}</div></div>
<div style="font-size:10pt;">Location: {{{local}}}<br>{{{stats}}}</div></div>
<div class="mod_details">
<div class="modinfo_details">
<div style="font-size:10pt;">{{{desc}}}</div>
<div style="font-size:10pt;">{{{desc}}}</div>
<hr>
<hr>

Revision as of 21:27, 11 June 2020

Requires Level {{{rlvl}}}
Item Level {{{rarity}}}
ID: {{{id}}}
Install Multiple: {{{multi}}}
[[File:{{{img}}}|100px|link=]]
{{{name}}}
Location: {{{local}}}
{{{stats}}}
{{{desc}}}

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
JayCo Historian's Tractor Beam
Location: {{{local}}}
  • +10 Cargo Space
  • +10 Cargo Shielding
  • +10% Hacking
Awarded to pilots who are dedicated to learning and passing on the JayCo histories