Difference between revisions of "Template:Item"

From Rebel Alliance Wiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
|style="width:20%;"|'''Category:'''
 
|style="width:20%;"|'''Category:'''
 
|style="width:20%;text-align:right;"|{{{category}}}
 
|style="width:20%;text-align:right;"|{{{category}}}
|style="width:20%;"|'''NR Price:'''
+
|style="width:20%;"|'''External Price:'''
|style="width:20%;text-align:right;"|{{Price|{{{price}}}|{{:Sales Discounts|discount=Products NR}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{price}}}}}
 
|-
 
|-
 
|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%;"|'''External Datacard Fee:'''
|style="width:20%;text-align:right;"|{{Price|{{{price}}}|{{:Sales Discounts|discount=Products GA}}}}
+
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}}}
 
|-
 
|-
 +
|style="width:20%;"|'''Available:'''
 +
|style="width:20%;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}}
 
|style="width:20%;"|'''Supplier:'''
 
|style="width:20%;"|'''Supplier:'''
 
|style="width:20%;text-align:right;"|[[{{{supplier}}}]]
 
|style="width:20%;text-align:right;"|[[{{{supplier}}}]]
|style="width:20%;"|'''External Price:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{price}}}}}
 
 
|-
 
|-
 +
|style="width:20%;"|'''Batch Size:'''
 +
|style="width:20%;text-align:right;"|{{{batchSize}}}
 
|style="width:20%;"|'''DC Supplier:'''
 
|style="width:20%;"|'''DC Supplier:'''
 
|style="width:20%;text-align:right;"|{{#if: {{{dcSupplier|}}}|[[{{{dcSupplier}}}]]|[[{{{supplier}}}]]}}
 
|style="width:20%;text-align:right;"|{{#if: {{{dcSupplier|}}}|[[{{{dcSupplier}}}]]|[[{{{supplier}}}]]}}
|style="width:20%;"|'''NR Datacard Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products NR}}}}
 
|-
 
|style="width:20%;"|'''Available:'''
 
|style="width:20%;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}}
 
|style="width:20%;"|'''GA Datacard Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}|{{:Sales Discounts|discount=Products GA}}}}
 
|-
 
|style="width:20%;"|'''Batch Size:'''
 
|style="width:20%;text-align:right;"|{{{batchSize}}}
 
|style="width:20%;"|'''External Datacard Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}}}
 
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
===Usage===
 
===Usage===

Revision as of 17:01, 4 February 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 External Price: Cr 200,000
Url: Combine Rules Page External Datacard Fee: Cr 100,000
Available: Yes Supplier: Merr-Sonn Technologies
Batch Size: 22 DC Supplier: Merr-Sonn Technologies