Template:Modbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 2: | Line 2: | ||
<div class="mod-right-corner">Requires Level {{{ReqLevel}}}<br> <span style="color:white;">Item Level {{{ItemLevel}}}<br>ID: {{{ID}}}<br>Install Multiple: {{{Multi}}} </span></div> | <div class="mod-right-corner">Requires Level {{{ReqLevel}}}<br> <span style="color:white;">Item Level {{{ItemLevel}}}<br>ID: {{{ID}}}<br>Install Multiple: {{{Multi}}} </span></div> | ||
<div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{Image}}}|120px]]</div> | <div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{Image}}}|120px]]</div> | ||
<span style="color:{{#switch: {{#expr: floor( {{{ItemLevel}}} / 100 )}} | <div style="font-size:12pt;"><span style="color:{{#switch: {{#expr: floor( {{{ItemLevel}}} / 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> | ||
<div style="font-size:10pt;">Location: {{{Location}}}<br>{{{Attr}}}</div></div> | <div style="font-size:10pt;">Location: {{{Location}}}<br>{{{Attr}}}</div></div> | ||
<div class="mod_details"> | <div class="mod_details"> | ||
Revision as of 20:31, 12 March 2020
Template documentation
This documentation is transcluded from Template:Modbox/doc. [edit] [purge]
Not to be confused with Template:Infobox Mod.
This template creates a Mod Infobox for usage only for the Mod Stores.
Usage
Name– Name of the ModImage– Mod Image. Example: Armor.pngLocation– Location of the Mod (Armor, Weapons, Sensors, etc.)ReqLevel– Required Level of the ModItemLevel– Item Rating/Tier of ModID– Mod IDMulti Install?– Yes or NoShip- Ship Class: Any? Freighter? Fighter? Scout?Condition- 1 = Craftable
- 2 = Purchasable
- 3 = Both Purchasable & Craftable
Attr– The Mod Attribute(s)Desc– Mod Description/SummaryCost– Mod CostRep– Reputation Required to use ModMatsReq– Materials Required to Craft a Craftable Mod
Example
{{Modbox
|Name= Martian Mirror Panel
|Image= Armor.png
|Location= Armor
|ReqLevel= 2
|ItemLevel= 515
|ID= 283
|Multi= Yes
|Ship=Any
|Condition= 1
|Attr= +1% Damage Reflection
|Desc= Info: This Martian damage reflector sends 1% of all damage back to the attacker's shields
|Cost= $5,000
|Rep= 0
|MatsReq=
* Energy Cell: 0/1000
* Disrupter Cartridges: 0/150
* Tier III Mod Component: 0/100
* Military Grade Mod Frame: 0/1
}}
Result
Requires Level 2
Item Level 515
ID: 283
Install Multiple: Yes
Item Level 515
ID: 283
Install Multiple: Yes
Martian Mirror Panel
Location: Armor
+1% Damage Reflection
+1% Damage Reflection
Info: This Martian damage reflector sends 1% of all damage back to the attacker's shields
Materials Required:
- Energy Cell: 0/1000
- Disrupter Cartridges: 0/150
- Tier III Mod Component: 0/100
- Military Grade Mod Frame: 0/1
TemplateData
Detailed Guidelines for Parameter Usage
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | Name of the Mod
| String | required |
| Image | Image | Mod Image.
| String | required |
| Location | Location | Location of the Mod (Armor, Weapons, Sensors, etc.)
| String | required |
| ReqLevel | ReqLevel | Required Level of the Mod
| String | required |
| ItemLevel | ItemLevel | Item Rating/Tier of Mod
| String | required |
| ID | ID | Mod ID
| String | required |
| Multi | Multi | Is it Multi Install? Yes or No.
| String | required |
| Condition | Condition | Is Mod Craftable, Purchasable or Both?
| String | required |
| Attr | Attr | The Mod Attribute(s)
| String | required |
| Desc | Desc | Mod Description/Summary
| String | required |
| Cost | Cost | Mod Cost
| String | required |
| Rep | Rep | Reputation Required to use Mod
| String | required |
| MatsReq | MatsReq | Materials Required to Craft a Craftable Mod
| String | required |
| Ship | Ship | Ship Class?
| String | optional |