Template:ShopLine: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
mNo edit summary
Line 2: Line 2:
<td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td>
<td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td>
<td>{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td>
<td>{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td>
<td {{#ifeq:{{{buy|}}}|N/A|class="table-na" style="text-align:center"}}>{{#if:{{{buy|}}}|{{#ifeq:{{{sell|}}}|N/A|N/A|{{Currency|{{{buy}}}}}}}|{{Unknown}}}}</td>
<td {{#ifeq:{{{buy|}}}|N/A|class="table-na" style="text-align:center"}}>{{#if:{{{buy|}}}|{{#ifeq:{{{buy|}}}|N/A|N/A|{{Currency|{{{buy}}}}}}}|{{Unknown}}}}</td>
<td {{#ifeq:{{{sell|}}}|N/A|class="table-na" style="text-align:center"}}>{{#if:{{{sell|}}}|{{#ifeq:{{{sell|}}}|N/A|N/A|{{Currency|{{{sell}}}}}}}|{{Unknown}}}}</td>
<td {{#ifeq:{{{sell|}}}|N/A|class="table-na" style="text-align:center"}}>{{#if:{{{sell|}}}|{{#ifeq:{{{sell|}}}|N/A|N/A|{{Currency|{{{sell}}}}}}}|{{Unknown}}}}</td>
{{#varexists:profession|<td>{{#if:{{{level|}}}|{{{level}}}|{{Unknown}}}}</td>|}}
{{#varexists:profession|<td>{{#if:{{{level|}}}|{{{level}}}|{{Unknown}}}}</td>|}}