Template:GEPrice: Difference between revisions

From Darkan
Jump to navigation Jump to search
imported>Joeytje50
m (reverted the previous edit because it broke, and since this is a high-use template, I changed back to the working version instead of fixing first. So, here it is, the fix :3. It works now.)
 
No edit summary
 
Line 2: Line 2:
|n|no={{#expr:{{Exchange:{{{1}}}|View=price}}*{{#if:{{{3|}}}|{{{3}}}|1}}}}
|n|no={{#expr:{{Exchange:{{{1}}}|View=price}}*{{#if:{{{3|}}}|{{{3}}}|1}}}}
|y|yes|#default={{formatnum:{{#expr:{{Exchange:{{{1}}}|View=price}}*{{#iferror:{{#expr:{{{2|}}}}}|{{#if:{{{3|}}}|{{{3}}}|1}}|{{#if:{{{2|}}}|{{{2}}}|1}}}} }}}}
|y|yes|#default={{formatnum:{{#expr:{{Exchange:{{{1}}}|View=price}}*{{#iferror:{{#expr:{{{2|}}}}}|{{#if:{{{3|}}}|{{{3}}}|1}}|{{#if:{{{2|}}}|{{{2}}}|1}}}} }}}}
}}</includeonly><noinclude>{{/doc}}</noinclude>
}}</includeonly>

Latest revision as of 20:19, 13 February 2024