Template:ExchangeItem: Difference between revisions

From Darkan
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
(Replaced content with "<includeonly>{{#invoke:Exchange|view}}</includeonly>")
Tags: Replaced Reverted
Line 1: Line 1:
{{#switch:{{{View}}}|table={{ExcgTable|Item={{{Item|}}}|Icon={{{Icon|}}}|Price={{,|{{{Price|}}}}}|Date={{{Date|}}}|Last={{,|{{{Last|}}}}}|LastDate={{{LastDate|}}}|Value={{{Value|}}}|ItemId={{{ItemId|}}}}}
<includeonly>{{#invoke:Exchange|view}}</includeonly>
|price={{,|{{{Price|}}}}}
|diff={{#if:{{{Last|}}}{{{Price|}}}|{{#expr:{{,|{{{Price|}}}-{{{Last|}}}}}}}|0}}
|date={{{Date|}}}
|lastdate={{{LastDate|}}}
|itemid={{{ItemId|}}}
|icon=[[File:{{#if:{{{Icon|}}}|{{{Icon|Coins 1000.png}}}|Coins 1000.png}}|link={{{Item|}}}|{{{Item|}}}]]
|highalch|HighAlch={{#ifeq:{{lc:{{{Alchable|}}}}}|no|No|{{#expr:floor({{,|{{{Value}}}}}*0.6)}}}}
|lowalch|LowAlch={{#ifeq:{{lc:{{{Alchable|}}}}}|no|No|{{#expr:floor({{,|{{{Value}}}}}*0.4)}}}}
|value|Value={{{Value|}}}
|limit|Limit={{{Limit|}}}
|category|Category={{{Category|}}}
|#default=<includeonly><verbatim>ExchangeMobile</verbatim>{{Template:GEMWHelp}}<br>{{ExcgDefault|Item={{{Item|}}}|Icon={{{Icon|}}}|Price={{,|{{{Price|}}}}}|Date={{{Date|}}}|LowAlch={{,|{{{LowAlch|}}}}}|HighAlch={{,|{{{HighAlch|}}}}}|Value={{{Value|}}}|Limit={{{Limit|}}}|Category={{{Category|}}}|ItemId={{{ItemId|}}}|Value={{,|{{{Value|}}}}}|Alchable={{{Alchable|}}}|AbsMinPrice={{,|{{{AbsMinPrice|}}}}}|AbsMaxPrice={{,|{{{AbsMaxPrice|}}}}}}}</includeonly>}}<noinclude>{{/doc}}</noinclude>

Revision as of 20:26, 13 February 2024