Difference between revisions of "Template:Item"
| m (→Examples) | m | ||
| Line 6: | Line 6: | ||
| |style="width:20%;text-align:right;"|{{{category}}} | |style="width:20%;text-align:right;"|{{{category}}} | ||
| |style="width:20%;"|'''NR Price:''' | |style="width:20%;"|'''NR Price:''' | ||
| − | |style="width:20%;text-align:right;"|{{Credit|{{{ | + | |style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{#expr:{{{price}}}*(1-{{:Sales Discounts|discount=Products NR}}/100)}}}}}} | 
| |- | |- | ||
| |style="width:20%;"|'''Url:''' | |style="width:20%;"|'''Url:''' | ||
| |style="width:20%;text-align:right;"|[{{{link}}} Combine Rules Page] | |style="width:20%;text-align:right;"|[{{{link}}} Combine Rules Page] | ||
| |style="width:20%;"|'''GA Price:''' | |style="width:20%;"|'''GA Price:''' | ||
| − | |style="width:20%;text-align:right;"|{{Credit|{{{ | + | |style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{#expr:{{{price}}}*(1-{{:Sales Discounts|discount=Products GA}}/100)}}}}}} | 
| |- | |- | ||
| |style="width:20%;"|'''Sold By:''' | |style="width:20%;"|'''Sold By:''' | ||
| |style="width:20%;text-align:right;"|[[{{{soldBy}}}]] | |style="width:20%;text-align:right;"|[[{{{soldBy}}}]] | ||
| |style="width:20%;"|'''External Price:''' | |style="width:20%;"|'''External Price:''' | ||
| − | |style="width:20%;text-align:right;"|{{Credit|{{{ | + | |style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{{price}}}}}}} | 
| |- | |- | ||
| |style="width:20%;"|'''Available:''' | |style="width:20%;"|'''Available:''' | ||
| |style="width:20%;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}} | |style="width:20%;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}} | ||
| |style="width:20%;"|'''NR Datacard Fee:''' | |style="width:20%;"|'''NR Datacard Fee:''' | ||
| − | |style="width:20%;text-align:right;"|{{Credit|{{{ | + | |style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{#expr:{{{dcFee}}}*(1-{{:Sales Discounts|discount=Products NR}}/100)}}}}}} | 
| |- | |- | ||
| |style="width:20%;"|'''Batch Size:''' | |style="width:20%;"|'''Batch Size:''' | ||
| |style="width:20%;text-align:right;"|{{{batchSize}}} | |style="width:20%;text-align:right;"|{{{batchSize}}} | ||
| |style="width:20%;"|'''GA Datacard Fee:''' | |style="width:20%;"|'''GA Datacard Fee:''' | ||
| − | |style="width:20%;text-align:right;"|{{Credit|{{{ | + | |style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{#expr:{{{dcFee}}}*(1-{{:Sales Discounts|discount=Products GA}}/100)}}}}}} | 
| |- | |- | ||
| |style="width:20%;"| | |style="width:20%;"| | ||
| |style="width:20%;text-align:right;"| | |style="width:20%;text-align:right;"| | ||
| |style="width:20%;"|'''External Datacard Fee:''' | |style="width:20%;"|'''External Datacard Fee:''' | ||
| − | |style="width:20%;text-align:right;"|{{Credit|{{{ | + | |style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{{dcFee}}}}}}} | 
| |}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
| ===Usage=== | ===Usage=== | ||
| Line 40: | Line 40: | ||
| | soldBy =   | | soldBy =   | ||
| | link =   | | link =   | ||
| − | |  | + | | price =   | 
| − | |  | + | | dcFee =   | 
| − | |||
| − | |||
| − | |||
| − | |||
| | batchSize =   | | batchSize =   | ||
| | available = true|false (or empty) | | available = true|false (or empty) | ||
| Line 57: | Line 53: | ||
| | soldBy = Merr-Sonn Technologies | | soldBy = Merr-Sonn Technologies | ||
| | link = http://www.swcombine.com/rules/?Tools&ID=24 | | link = http://www.swcombine.com/rules/?Tools&ID=24 | ||
| − | |  | + | | price = 200000 | 
| − | |  | + | | dcFee = 100000 | 
| − | |||
| − | |||
| − | |||
| − | |||
| | batchSize = 22 | | batchSize = 22 | ||
| | available = true | | available = true | ||
| Line 71: | Line 63: | ||
| | soldBy = Merr-Sonn Technologies | | soldBy = Merr-Sonn Technologies | ||
| | link = http://www.swcombine.com/rules/?Tools&ID=24 | | link = http://www.swcombine.com/rules/?Tools&ID=24 | ||
| − | |  | + | | price = 200000 | 
| − | |  | + | | dcFee = 100000 | 
| − | |||
| − | |||
| − | |||
| − | |||
| | batchSize = 22 | | batchSize = 22 | ||
| | available = true | | available = true | ||
Revision as of 12:14, 16 January 2016
Usage
{{Item
| name = 
| category = 
| soldBy = 
| link = 
| price = 
| dcFee = 
| batchSize = 
| available = true|false (or empty)
}}
Examples
{{Item
| name = Restraining Bolt
| category = Tools
| soldBy = Merr-Sonn Technologies
| link = http://www.swcombine.com/rules/?Tools&ID=24
| price = 200000
| dcFee = 100000
| batchSize = 22
| available = true
}}
| Restraining Bolt | ||||
|---|---|---|---|---|
| Category: | Tools | NR Price: |  First argument to "number_format" must be a number. | |
| Url: | Combine Rules Page | GA Price: |  First argument to "number_format" must be a number. | |
| Sold By: | Merr-Sonn Technologies | External Price: |  200,000 | |
| Available: | Yes | NR Datacard Fee: |  First argument to "number_format" must be a number. | |
| Batch Size: | 22 | GA Datacard Fee: |  First argument to "number_format" must be a number. | |
| External Datacard Fee: |  100,000 | |||


