Template:Modbox: Difference between revisions

Created page with "* {{{Name}}} * {{{Image}}} * {{{Location}}} * {{{ReqLevel}}} * {{{ItemLevel}}} * {{{ID}}} * {{{Multi}}} * {{{Attr}}} * {{{Desc}}} * {{{Cost}}} * {{{Rep}}}"
 
m updated template to have ship class field
 
(29 intermediate revisions by one other user not shown)
Line 1: Line 1:
* {{{Name}}}
<includeonly><div class="mod_container" align="left">
* {{{Image}}}
<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>
* {{{Location}}}
<div style="float:left; padding-right:5px; margin-right:5px;">[[File:{{{Image}}}|120px]]</div>
* {{{ReqLevel}}}
<div style="font-size:12pt;"><span style="color:{{#switch: {{#expr: floor( {{{ItemLevel}}} / 100 )}}
* {{{ItemLevel}}}
| 1 = #fff
* {{{ID}}}
| 2 = #048000
* {{{Multi}}}
| 3 = #0B33CB
* {{{Attr}}}
| 4 = #9702C6
* {{{Desc}}}
| 5 = #FFA500
* {{{Cost}}}
}}">{{{Name}}}</span></div>
* {{{Rep}}}
<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>