Template:Modbox: Difference between revisions

mNo edit summary
m updated template to have ship class field
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude>
<includeonly><div class="mod_container" align="left">
<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 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 9: Line 8:
| 4 = #9702C6
| 4 = #9702C6
| 5 = #FFA500
| 5 = #FFA500
}}">{{{Name}}}</span>
}}">{{{Name}}}</span></div>
<div style="font-size:10pt;">Location: {{{Location}}}<br>
<div style="font-size:10pt;">Location: {{{Location}}}<br>{{{Attr}}}</div></div>
{{{Attr}}} </div>
</div>
<div class="mod_details">
<div class="mod_details">
<div style="font-size:10pt;">{{{Desc}}}</div>
<div style="font-size:10pt;">{{{Desc}}}</div>
<hr>
<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}}}  
<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}}}
| 1 = Materials Required: <br>
{{{MatsReq}}}
| 2 = Cost: {{{Cost}}} {{!}} Reputation Required: {{{Rep}}}
| 2 = Cost: {{{Cost}}} {{!}} Reputation Required: {{{Rep}}}
| 3 = Cost: {{{Cost}}} {{!}} Reputation Required: {{{Rep}}}<br><hr>Materials Required: <br>{{{MatsReq}}}
| 3 = Cost: {{{Cost}}} {{!}} Reputation Required: {{{Rep}}}<br><hr>Materials Required: <br>
{{{MatsReq}}}
}}</div>
}}</div>
</div>
</div></includeonly><noinclude>{{/doc}}[[Category: Templates]]</noinclude>