Difference between revisions of "Template:Raw Material"

From Rebel Alliance Wiki
Jump to: navigation, search
m
m
Line 6: Line 6:
 
|style="width:20%;text-align:right;"|{{{usedFor}}}
 
|style="width:20%;text-align:right;"|{{{usedFor}}}
 
|style="width:20%;"|'''GA Price:'''
 
|style="width:20%;"|'''GA Price:'''
|style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{#expr:{{{price}}}*{{:Sales Discounts|discount=JMC GA}}}}}}}}
+
|style="width:20%;text-align:right;"|{{Credit|{{#number_format:{{#expr:{{{price}}}*(1-{{:Sales Discounts|discount=JMC GA}}/100)}}}}}}
 
|-
 
|-
 
|style="width:20%;"|'''Weight:'''
 
|style="width:20%;"|'''Weight:'''

Revision as of 12:00, 16 January 2016

Usage

{{Raw Material
| name = 
| soldBy = 
| link = 
| price = 
| weight = 
| available = true|false (or empty)
}}


Examples

{{Raw Material
| name = Quantum
| soldBy = JUGANOTH Mining Corporation
| usedFor = Armour
| price = 1100
| weight = 12
| available = true
}}
Quantum
Quantum
Used For: Armour GA Price: Cr First argument to "number_format" must be a number.
Weight: 12 T External Price: Cr 1,100
Sold By: JUGANOTH Mining Corporation
Available: Yes