Template:Item: Difference between revisions

From Gempunks
No edit summary
No edit summary
Line 1: Line 1:
<table style="line-height: 1.25em; width:600px; border: 2px solid" cellpadding="0" cellspacing="0">
<table style="line-height: 1.25em; width:600px; border: 2px solid" cellpadding="0" cellspacing="0">


{{#set:Item Type={{{itemtype}}}}}{{#set:Weight={{{weight}}}}}{{#set:Value={{{value}}}}}
{{#set:Weight={{{weight}}}}}{{#set:Value={{{value}}}}}


<tr style="color: #fdf9d3; {{#switch: {{{itemtype}}}
<tr style="color: #fdf9d3; {{#switch: {{{itemtype}}}
Line 12: Line 12:
         |background-color: #FF00FF; [[Category:Typeless Items]]
         |background-color: #FF00FF; [[Category:Typeless Items]]
         }}">
         }}">
<td style="padding:0.625em 0.625em 0.0625em;text-align:inherit;" colspan="2"> <strong class="selflink"><span style="color:#fdf9d3;"><b>{{{name}}}</b></span></strong> <div style="text-align:right; float:right;"><span style="color:#fdf9d3;">{{{itemtype}}}</span></div>  
<td style="padding:0.625em 0.625em 0.0625em;text-align:inherit;" colspan="2"> <strong class="selflink"><span style="color:#fdf9d3;"><b>{{{name}}}</b></span></strong> <div style="text-align:right; float:right;"><span style="color:#fdf9d3;">[[Item Type::{{{itemtype}}}]]</span></div>  
</td></tr>
</td></tr>
{{#if: {{{fluff|}}} |
{{#if: {{{fluff|}}} |
Line 19: Line 19:
</td></tr>}}
</td></tr>}}
<tr style="background: #ddd293;">
<tr style="background: #ddd293;">
<td style="padding:0.0625em 0.625em 0.0625em 1.25em;text-align:inherit;text-indent: -0.625em;" colspan="2"> <b>Value</b>&nbsp;{{{value}}}    <div style="text-align:right; float:right;"><span style="color:#000000;"><b>Weight</b>&nbsp;{{{weight}}}</span></div>
<td style="padding:0.0625em 0.625em 0.0625em 1.25em;text-align:inherit;text-indent: -0.625em;" colspan="2"> <b>Value</b>&nbsp;[[Value::{{{value}}}]] [[copper]]     <div style="text-align:right; float:right;"><span style="color:#000000;"><b>Weight</b>&nbsp;[[Weight::{{{weight}}}]]</span></div>
</td></tr>
</td></tr>
{{#if: {{{chakra|}}} |  
{{#if: {{{chakra|}}} |  

Revision as of 03:06, 24 June 2013

{{#set:Weight={{{weight}}}}}{{#set:Value={{{value}}}}}
{{{name}}}
[[Item Type::{{{itemtype}}}]]
Value [[Value::{{{value}}}]] copper
Weight [[Weight::{{{weight}}}]]