Difference between revisions of "Template:Item"

From Rebel Alliance Wiki
Jump to: navigation, search
m
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|{{#number_format:{{#expr:{{{price}}}*(1-{{:Sales Discounts|discount=Products NR}}/100)}}}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{price}}}|{{:Sales Discounts|discount=Products NR}}}}
 
|-
 
|-
 
|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|{{#number_format:{{#expr:{{{price}}}*(1-{{:Sales Discounts|discount=Products GA}}/100)}}}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{price}}}|{{:Sales Discounts|discount=Products GA}}}}
 
|-
 
|-
 
|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|{{#number_format:{{{price}}}}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{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|{{#number_format:{{#expr:{{{dcFee}}}*(1-{{:Sales Discounts|discount=Products NR}}/100)}}}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products NR}}}}
 
|-
 
|-
 
|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|{{#number_format:{{#expr:{{{dcFee}}}*(1-{{:Sales Discounts|discount=Products GA}}/100)}}}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products GA}}}}
 
|-
 
|-
 
|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|{{#number_format:{{{dcFee}}}}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
===Usage===
 
===Usage===

Revision as of 14:07, 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
Restraining Bolt
Category: Tools NR Price: Cr 200,000
Url: Combine Rules Page GA Price: Cr 200,000
Sold By: Merr-Sonn Technologies External Price: Cr 200,000
Available: Yes NR Datacard Fee: Cr 100,000
Batch Size: 22 GA Datacard Fee: Cr 100,000
External Datacard Fee: Cr 100,000