Difference between revisions of "Template:Item"

From Rebel Alliance Wiki
Jump to: navigation, search
m
m
Line 13: Line 13:
 
|style="width:20%;text-align:right;"|{{Price|{{{price}}}|{{:Sales Discounts|discount=Products GA}}}}
 
|style="width:20%;text-align:right;"|{{Price|{{{price}}}|{{:Sales Discounts|discount=Products GA}}}}
 
|-
 
|-
|style="width:20%;"|'''Sold By:'''
+
|style="width:20%;"|'''Supplier:'''
|style="width:20%;text-align:right;"|[[{{{soldBy}}}]]
+
|style="width:20%;text-align:right;"|[[{{{supplier}}}]]
 
|style="width:20%;"|'''External Price:'''
 
|style="width:20%;"|'''External Price:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{price}}}}}
 
|style="width:20%;text-align:right;"|{{Price|{{{price}}}}}
 
|-
 
|-
|style="width:20%;"|'''Available:'''
+
|style="width:20%;"|'''DC Supplier:'''
|style="width:20%;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}}
+
|style="width:20%;text-align:right;"|{{#if: {{{dcSupplier|}}}|[[{{{dcSupplier}}}]]|[[{{{supplier}}}]]}}
 
|style="width:20%;"|'''NR Datacard Fee:'''
 
|style="width:20%;"|'''NR Datacard Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products NR}}}}
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products NR}}}}
 
|-
 
|-
|style="width:20%;"|'''Batch Size:'''
+
|style="width:20%;"|'''Available:'''
|style="width:20%;text-align:right;"|{{{batchSize}}}
+
|style="width:20%;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}}
 
|style="width:20%;"|'''GA Datacard Fee:'''
 
|style="width:20%;"|'''GA Datacard Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products GA}}}}
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products GA}}}}
 
|-
 
|-
|style="width:20%;"|
+
|style="width:20%;"|'''Batch Size:'''
|style="width:20%;text-align:right;"|
+
|style="width:20%;text-align:right;"|{{{batchSize}}}
 
|style="width:20%;"|'''External Datacard Fee:'''
 
|style="width:20%;"|'''External Datacard Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}}}
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}}}
Line 38: Line 38:
 
| name =  
 
| name =  
 
| category =  
 
| category =  
| soldBy =  
+
| supplier =  
 +
| dcSupplier = name or empty
 
| link =  
 
| link =  
 
| price =  
 
| price =  
Line 51: Line 52:
 
| name = Restraining Bolt
 
| name = Restraining Bolt
 
| category = Tools
 
| category = Tools
| soldBy = Merr-Sonn Technologies
+
| supplier = Merr-Sonn Technologies
 
| link = http://www.swcombine.com/rules/?Tools&ID=24
 
| link = http://www.swcombine.com/rules/?Tools&ID=24
 
| price = 200000
 
| price = 200000
Line 61: Line 62:
 
| name = Restraining Bolt
 
| name = Restraining Bolt
 
| category = Tools
 
| category = Tools
| soldBy = Merr-Sonn Technologies
+
| supplier = Merr-Sonn Technologies
 
| link = http://www.swcombine.com/rules/?Tools&ID=24
 
| link = http://www.swcombine.com/rules/?Tools&ID=24
 
| price = 200000
 
| price = 200000

Revision as of 19:25, 18 January 2016

Usage

{{Item
| name = 
| category = 
| supplier = 
| dcSupplier = name or empty
| link = 
| price = 
| dcFee = 
| batchSize = 
| available = true|false (or empty)
}}


Examples

{{Item
| name = Restraining Bolt
| category = Tools
| supplier = 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
Supplier: Merr-Sonn Technologies External Price: Cr 200,000
DC Supplier: Merr-Sonn Technologies NR Datacard Fee: Cr 100,000
Available: Yes GA Datacard Fee: Cr 100,000
Batch Size: 22 External Datacard Fee: Cr 100,000