Template:ShopLine: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
(Currency -> Currency cell) |
||
Line 1: | Line 1: | ||
{{ShopTableHead}}<onlyinclude><tr><!-- |
|||
<includeonly><tr> |
|||
<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><!-- |
||
-->{{#switch:{{{buy|}}} |
|||
<td {{#ifeq:{{{buy|}}}|N/A|class="table-na" style="text-align:center"}}>{{#if:{{{buy|}}}|{{#ifeq:{{{buy|}}}|N/A|N/A|{{Currency|{{{buy}}}}}}}|{{Unknown}}}}</td> |
|||
|N/A=<td colspan="10" class="table-na" data-sort-value="">N/A</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 colspan="10" data-sort-value="">{{Unknown}}</td> |
|||
⚫ | |||
|{{Currency cell|{{{buy}}}|html=yes}}}}<!-- |
|||
⚫ | |||
-->{{#switch:{{{sell|}}} |
|||
|N/A=<td colspan="10" class="table-na" data-sort-value="">N/A</td> |
|||
|=<td colspan="10" data-sort-value="">{{Unknown}}</td> |
|||
|{{Currency cell|{{{sell}}}|html=yes}}}}<!-- |
|||
⚫ | |||
⚫ | --></tr><includeonly>{{#subobject:{{{name}}}_{{#if:{{{sell|}}}|{{{sell}}}|Unknown}}_{{#if:{{{buy|}}}|{{{buy}}}|Unknown}}|Sold by={{FULLPAGENAME}}|Sold item={{{name}}}|Shop buy price={{#if:{{{buy|}}}|{{{buy}}}|}}|Shop sell price={{#if:{{{sell|}}}|{{{sell}}}|}}}}</includeonly></onlyinclude><noinclude>{{ShopTableBottom}}{{/doc}}</noinclude> |