Template:ShopLine: Difference between revisions

197 bytes added ,  Yesterday at 21:57
m
no edit summary
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1:
{{ShopTableHead}}<onlyinclude><tr><!--
<includeonly><tr>
--><td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</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>
{{#varexists:profession|<td>{{#if:{{{level|}}}|{{{level}}}|{{Unknown}}}}</td>|}}
|{{Currency cell|{{{buy}}}|html=yes}}}}<!--
</tr>{{#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><noinclude>{{/doc}}</noinclude>
-->{{#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}}}}<!--
-->{{#varexists:profession|<td>{{#if:{{{level|}}}|{{Profession|{{#var:profession}}|{{{level}}}|1}}|{{Unknown}}}}</td>|}}<!--
--></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><noinclude/onlyinclude>{{ShopTableBottom}}{{/doc}}</noinclude>
121

edits