Template:Item: Difference between revisions

m
Adding currency parameters. Hopefully this works and won't break anything. (server included)
m (I always make a stupid mistake.)
m (Adding currency parameters. Hopefully this works and won't break anything. (server included))
Line 33: Line 33:
{| align="right" style="{{roundy|24px}} background: #{{{{{bag|Unknown}}} color}};"
{| align="right" style="{{roundy|24px}} background: #{{{{{bag|Unknown}}} color}};"
|-
|-
| align="right" | <small>{{#ifeq: {{{buyable|no}}}|no|'''Cannot be bought'''|'''Price:''' {{pdollar}}{{{buy|{{#expr: {{{sell|0}}} * 2}}}}}}} {{#if: {{{buy2|}}}|{{pdollar}}{{{buy2}}}}}</small>
| align="right" | <small>{{#ifeq: {{{buyable|no}}}|no|'''Cannot be bought'''|'''Price:''' {{{currencybuy|{{pdollar}}}}}{{{buy|{{#expr: {{{sell|0}}} * 2}}}}}}} {{#if: {{{buy2|}}}|{{{currencybuy2|{{pdollar}}}}}{{{buy2}}}}}</small>
|-
|-
| align="right" | <small>{{#ifexpr: {{{sell|0}}} = 0|'''Cannot be sold'''|'''Sell for:''' {{pdollar}}{{{sell|0}}}}}{{#if: {{{sellnotes|}}}|{{tt|*|{{{sellnotes}}}}}}} {{#if: {{{sell2|}}}|{{pdollar}}{{{sell2}}}{{#if: {{{sellnotes2|}}}|{{tt|*|{{{sellnotes2}}}}}}}}}</small>
| align="right" | <small>{{#ifexpr: {{{sell|0}}} = 0|'''Cannot be sold'''|'''Sell for:''' {{{currencysell|{{pdollar}}}}}{{{sell|0}}}}}{{#if: {{{sellnotes|}}}|{{tt|*|{{{sellnotes}}}}}}} {{#if: {{{sell2|}}}|{{{currencysell2|{{pdollar}}}}}{{{sell2}}}{{#if: {{{sellnotes2|}}}|{{tt|*|{{{sellnotes2}}}}}}}}}</small>
|}
|}
|- style="display: none;"
|- style="display: none;"
16,071

edits