Template:Modbox: Difference between revisions
Jump to navigation
Jump to search
Created page with "* {{{Name}}} * {{{Image}}} * {{{Location}}} * {{{ReqLevel}}} * {{{ItemLevel}}} * {{{ID}}} * {{{Multi}}} * {{{Attr}}} * {{{Desc}}} * {{{Cost}}} * {{{Rep}}}" |
Oscillator (talk | contribs) m updated template to have ship class field |
||
| (29 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><div class="mod_container" align="left"> | |||
<div class="mod-right-corner">Requires Level {{{ReqLevel}}}<br> <span style="color:white;">Item Level {{{ItemLevel}}}<br>ID: {{{ID}}}<br>Install Multiple: {{{Multi}}}<br>Ship Class: {{#if:{{{Ship|}}}|{{{Ship}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}} </span></div> | |||
<div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{Image}}}|120px]]</div> | |||
<div style="font-size:12pt;"><span style="color:{{#switch: {{#expr: floor( {{{ItemLevel}}} / 100 )}} | |||
| 1 = #fff | |||
| 2 = #048000 | |||
| 3 = #0B33CB | |||
| 4 = #9702C6 | |||
| 5 = #FFA500 | |||
}}">{{{Name}}}</span></div> | |||
<div style="font-size:10pt;">Location: {{{Location}}}<br>{{{Attr}}}</div></div> | |||
<div class="mod_details"> | |||
<div style="font-size:10pt;">{{{Desc}}}</div> | |||
<hr> | |||
<div style="margin-top: 0; padding-top:3px; padding-left:5px; padding-right: 5px; padding-bottom: 3px; background-color: #ececec; color:black; font-size:10pt;">{{#switch: {{{Condition}}} | |||
| 1 = Materials Required: <br> | |||
{{{MatsReq}}} | |||
| 2 = Cost: {{{Cost}}} {{!}} Reputation Required: {{{Rep}}} | |||
| 3 = Cost: {{{Cost}}} {{!}} Reputation Required: {{{Rep}}}<br><hr>Materials Required: <br> | |||
{{{MatsReq}}} | |||
}}</div> | |||
</div></includeonly><noinclude>{{/doc}}[[Category: Templates]]</noinclude> | |||
Latest revision as of 03:27, 3 February 2021
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
Ship Class: Any
Item Level 515
ID: 283
Install Multiple: Yes
Ship Class: Any
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 |