Template:Modbox: Difference between revisions

mNo edit summary
m updated template to have ship class field
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><div class="mod_container" align="left">
<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}}} </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}}}<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="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>
<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>