Difference between revisions of "Template:Droid"

From Rebel Alliance Wiki
Jump to: navigation, search
m
m
Line 2: Line 2:
 
!colspan="5"|{{{name}}}
 
!colspan="5"|{{{name}}}
 
|-
 
|-
|rowspan="6" style="width:20%;vertical-align:middle"|{{#ifexist: File:Product {{{name}}}.png|[[File:Product {{{name}}}.png|center|link={{{link}}}|alt={{{name}}}|{{{name}}}]]|[[File:Product {{{name}}}.jpg|center|link={{{link}}}|alt={{{name}}}|{{{name}}}]]}}
+
|rowspan="4" style="width:20%;vertical-align:middle"|{{#ifexist: File:Product {{{name}}}.png|[[File:Product {{{name}}}.png|center|link={{{link}}}|alt={{{name}}}|{{{name}}}]]|[[File:Product {{{name}}}.jpg|center|link={{{link}}}|alt={{{name}}}|{{{name}}}]]}}
 
|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}}}}}
 
 
|-
 
|-
 
|'''Restricted Terrains:'''
 
|'''Restricted Terrains:'''

Revision as of 17:29, 4 February 2016

Usage

{{Droid
| name = 
| category = 
| link = 
| supplier = 
| dcSupplier = name or empty
| batchSize = 
| price = 
| dcFee = 
| available = true|false (or empty)
| blackhole = true|false (or empty)
| cave = true|false (or empty)
| crater = true|false (or empty)
| desert = true|false (or empty)
| forest = true|false (or empty)
| gasgiant = true|false (or empty)
| glacier = true|false (or empty)
| grassland = true|false (or empty)
| jungle = true|false (or empty)
| mountain = true|false (or empty)
| ocean = true|false (or empty)
| river = true|false (or empty)
| rock = true|false (or empty)
| sun = true|false (or empty)
| swamp = true|false (or empty)
| volcanic = true|false (or empty)
}}

Note: ocean=yes means Ocean terrain is considered restricted terrain for this droid.

Examples

{{Droid
| name = R3 Series Astromech 
| category = Astromech
| supplier = Industrial Automaton
| link = http://www.swcombine.com/rules/?Astromech&ID=2
| batchSize = 2
| price = 129500
| dcFee = 64750
| available = true 
| batchSize = 2
| gasgiant = true
| jungle = true
| mountain = true
| ocean = true
| river = true
| sun = false
| swamp = 
| volcanic = true
}}
R3 Series Astromech
R3 Series Astromech
Category: Astromech External Price: Cr 129,500
Url: Combine Rules Page External Datacard Fee: Cr 64,750
Available: Yes Supplier: Industrial Automaton
Batch Size: 2 DC Supplier: Industrial Automaton
Restricted Terrains: Gas Giant Jungle Mountain Ocean River Volcanic