Template:ShopLine: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
Californ1a (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
<td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td> |
<td>{{#if:{{{image|}}}|[[File:{{{image}}}|30px|link={{{name}}}]]|[[File:{{{name}}}.png|30px]]}}</td> |
||
<td>{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td> |
<td>{{#if:{{{displayname|}}}|[[{{{name}}}|{{{displayname}}}]]|[[{{{name}}}]]}}</td> |
||
<td>{{#if:{{{buy|}}}|{{Currency|{{{buy}}}}}|{{Unknown}}}}</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>{{#if:{{{sell|}}}|{{Currency|{{{sell}}}}}|{{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>|}} |
{{#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> |
</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> |