Template:ShopLine: Difference between revisions

Check for profession var being non-blank instead of just defined
mNo edit summary
(Check for profession var being non-blank instead of just defined)
Line 10:
|=<td colspan="10" data-sort-value="">{{Unknown}}</td>
|{{Currency cell|{{{sell}}}|html=yes}}}}<!--
-->{{#varexistsif:{{#var:profession}}|<td>{{#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}}