Template:ShopLine: Difference between revisions

393 bytes added ,  Yesterday at 21:57
m
no edit summary
No edit summary
mNo edit summary
 
(6 intermediate revisions by 4 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><!--
<td -->{{#ifswitch:{{{buy|}}}|{{Currency|{{{buy}}}}}|{{Unknown}}}}</td>
|N/A=<td colspan="10" class="table-na" data-sort-value="">N/A</td>
<td>{{#if:{{{sell|}}}|{{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 sell price={{#if:{{{sell|}}}|{{{sell}}}|}}|Shop buy price={{#if:{{{buy|}}}|{{{buy}}}|}}}}</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>
<td>{{#if:{{{sell|}}} |{{Currency cell|{{{sell}}}}}|{{Unknownhtml=yes}}}}</td>!--
-->{{#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 sellbuy price={{#if:{{{sellbuy|}}}|{{{sellbuy}}}|}}|Shop buysell price={{#if:{{{buysell|}}}|{{{buysell}}}|}}}}</includeonly><noinclude/onlyinclude>{{ShopTableBottom}}{{/doc}}</noinclude>
133

edits