Template:ShopLine: Difference between revisions
m
no edit summary
No edit summary |
Californ1a (talk | contribs) mNo edit summary |
||
Line 2:
<td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td>
<td>{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td>
<td {{#ifeq:{{{buy|}}}|N/A|class="table-na" style="text-align:center"}}>{{#if:{{{buy|}}}|{{#ifeq:{{{sell|}}}|N/A|N/A|{{Currency|{{{buy}}}}}}}|{{Unknown}}}}</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>
{{#varexists:profession|<td>{{#if:{{{level|}}}|{{{level}}}|{{Unknown}}}}</td>|}}
</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>
|