Template:ShopLine: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Check for profession var being non-blank instead of just defined) |
mNo edit summary |
||
Line 10: | Line 10: | ||
|=<td colspan="10" data-sort-value="">{{Unknown}}</td> |
|=<td colspan="10" data-sort-value="">{{Unknown}}</td> |
||
|{{Currency cell|{{{sell}}}|html=yes}}}}<!-- |
|{{Currency cell|{{{sell}}}|html=yes}}}}<!-- |
||
-->{{#if:{{#var:profession}}|<td>{{#if:{{{level|}}}|{{Profession|{{#var:profession}}|{{{level}}}}}|{{Unknown}}}}</td>|}}<!-- |
-->{{#if:{{#var:profession}}|<td style="text-align:right;">{{#if:{{{level|}}}|{{Profession|{{#var:profession}}|{{{level}}}}}|{{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></onlyinclude>{{ShopTableBottom}}{{/doc}} |
--></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>{{ShopTableBottom}}{{/doc}} |