Template:ShopLine: Difference between revisions
m
no edit summary
Californ1a (talk | contribs) mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
{{ShopTableHead}}<onlyinclude><tr><!--
--><td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td><!--
--><td>{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td><!--
-->{{#switch:{{{buy|}}}
|N/A=<td colspan="10" class="table-na" data-sort-value="">N/A</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><
|