Difference between revisions of "Template:Ship"

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|100px|center|link={{{link}}}|alt={{{name}}}|{{{name}}}]]|[[File:Product {{{name}}}.jpg|center|100px|link={{{link}}}|alt={{{name}}}|{{{name}}}]]}}
+
|rowspan="7" style="width:20%;vertical-align:middle"|{{#ifexist: File:Product {{{name}}}.png|[[File:Product {{{name}}}.png|100px|center|link={{{link}}}|alt={{{name}}}|{{{name}}}]]|[[File:Product {{{name}}}.jpg|center|100px|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}}}
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}}}}
Line 28: Line 28:
 
|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%;"|'''Available:'''
 +
|style="width:20%;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}}
 +
|style="width:20%;"|'''External Datacard Fee:'''
 +
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}}}
 +
|-
 +
|
 +
|
 
|style="width:20%;"|'''Production Fee:'''
 
|style="width:20%;"|'''Production Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{productionFee}}}}}
 
|style="width:20%;text-align:right;"|{{Price|{{{productionFee}}}}}
|style="width:20%;"|'''External Datacard Fee:'''
 
|style="width:20%;text-align:right;"|{{Price|{{{dcFee}}}}}
 
 
|-
 
|-
 
|'''Capabilities:'''
 
|'''Capabilities:'''
| colspan="4"|{{#ifeq: {{{dockingBay}}}|true|[[File:Ability Docking Bay.gif|25px|link=|Docking Bay]]|}} {{#ifeq: {{{dockingPort}}}|true|[[File:Ability Docking Port.gif|25px|link=|Docking Port]]|}} {{#ifeq: {{{hangarBay}}}|true|[[File:Ability Hangar Bay.gif|25px|link=|Hangar Bay]]|}} {{#ifexpr: {{{escapePods|0}}} > 0 |[[File:Ability Escape Pods.gif|25px|link=|Escape Pods: {{{escapePods}}}]]|}} {{#ifexpr: {{{medicalRooms|0}}} > 0 |[[File:Ability Medical Rooms.jpg|25px|link=|Medical Rooms: {{{medicalRooms}}}]]|}} {{#ifeq: {{{landingCapacity}}}|true|[[File:Ability Landing Capability.gif|25px|link=|Landing Capability]]|}} {{#ifeq: {{{repulsor}}}|true|[[File:Ability Repulsor.gif|25px|link=|Repulsor]]|}}  
+
| colspan="4"|<!--
 +
--> {{#ifeq: {{{dockingBay}}}|true|[[File:Ability Docking Bay.gif|25px|link=|Docking Bay]]|}}<!--
 +
--> {{#ifeq: {{{dockingPort}}}|true|[[File:Ability Docking Port.gif|25px|link=|Docking Port]]|}}<!--
 +
--> {{#ifeq: {{{hangarBay}}}|true|[[File:Ability Hangar Bay.gif|25px|link=|Hangar Bay]]|}}<!--
 +
--> {{#ifexpr: {{{escapePods|0}}} > 0 |[[File:Ability Escape Pods.gif|25px|link=|Escape Pods: {{{escapePods}}}]]|}}<!--
 +
--> {{#ifexpr: {{{medicalRooms|0}}} > 0 |[[File:Ability Medical Rooms.jpg|25px|link=|Medical Rooms: {{{medicalRooms}}}]]|}}<!--
 +
--> {{#ifeq: {{{landingCapacity}}}|true|[[File:Ability Landing Capability.gif|25px|link=|Landing Capability]]|}}<!--
 +
--> {{#ifeq: {{{repulsor}}}|true|[[File:Ability Repulsor.gif|25px|link=|Repulsor]]|}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
===Usage===
 
===Usage===
Line 42: Line 54:
 
| category =  
 
| category =  
 
| link =  
 
| link =  
| soldBy =  
+
| supplier =  
 +
| dcSupplier = name or empty
 
| price =  
 
| price =  
 
| dcFee =  
 
| dcFee =  
Line 61: Line 74:
 
| name = YG-4210
 
| name = YG-4210
 
| category = Light Freighter
 
| category = Light Freighter
| soldBy = Incom Corporation
+
| supplier = Incom Corporation
 
| link = http://www.swcombine.com/rules/?Light_Freighter&ID=64
 
| link = http://www.swcombine.com/rules/?Light_Freighter&ID=64
 
| price = 1600000
 
| price = 1600000
Line 76: Line 89:
 
| name = YG-4210
 
| name = YG-4210
 
| category = Light Freighter
 
| category = Light Freighter
| soldBy = Incom Corporation
+
| supplier = Incom Corporation
 
| link = http://www.swcombine.com/rules/?Light_Freighter&ID=64
 
| link = http://www.swcombine.com/rules/?Light_Freighter&ID=64
 
| price = 1600000
 
| price = 1600000
Line 85: Line 98:
 
| escapePods = 1
 
| escapePods = 1
 
| hangarBay = true
 
| hangarBay = true
 +
| landingCapacity = true
 +
| repulsor = true
 +
}}
 +
 +
 +
<pre><nowiki>{{Ship
 +
| name = GR-75 Medium Transport
 +
| category = Heavy Freighter
 +
| link = http://www.swcombine.com/rules/?Heavy_Freighter&ID=31
 +
| supplier = Incom Corporation
 +
| dcSupplier = New Republic
 +
| price =  18200000
 +
| dcFee = 6500000
 +
| productionFee = 750000
 +
| partySlotSize = 6
 +
| available = true
 +
| hangarBay = true
 +
| escapePod = 1
 +
| landingCapacity = true
 +
| repulsor = true
 +
}}</nowiki></pre>
 +
 +
{{Ship
 +
| name = GR-75 Medium Transport
 +
| category = Heavy Freighter
 +
| link = http://www.swcombine.com/rules/?Heavy_Freighter&ID=31
 +
| supplier = Incom Corporation
 +
| dcSupplier = New Republic
 +
| price =  18200000
 +
| dcFee = 6500000
 +
| productionFee = 750000
 +
| partySlotSize = 6
 +
| available = true
 +
| hangarBay = true
 +
| escapePod = 1
 
| landingCapacity = true
 
| landingCapacity = true
 
| repulsor = true
 
| repulsor = true
 
}}
 
}}
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:21, 18 January 2016

Usage

{{Ship
| name = 
| category = 
| link = 
| supplier = 
| dcSupplier = name or empty
| price = 
| dcFee = 
| productionFee = 
| partySlotSize = 
| available = true|false (or empty)
| dockingBay = true|false (or empty)
| dockingPort = true|false (or empty)
| escapePods = 1 - x or empty
| hangarBay = true|false (or empty)
| landingCapacity = true|false (or empty)
| repulsor = true|false (or empty)
}}


Examples

{{Ship
| name = YG-4210
| category = Light Freighter
| supplier = Incom Corporation
| link = http://www.swcombine.com/rules/?Light_Freighter&ID=64
| price = 1600000
| dcFee = 250000
| productionFee = 390000
| partySlotSize = 4
| available = true 
| escapePods = 1
| hangarBay = true
| landingCapacity = true
| repulsor = true
}}
YG-4210
YG-4210
Category: Light Freighter NR Price: Cr 1,600,000
Url: Combine Rules Page GA Price: Cr 1,600,000
Supplier: Incom Corporation External Price: Cr 1,600,000
DC Supplier: Incom Corporation NR Datacard Fee: Cr 250,000
Party Slot: 4 GA Datacard Fee: Cr 250,000
Available: Yes External Datacard Fee: Cr 250,000
Production Fee: Cr 390,000
Capabilities: Hangar Bay Escape Pods: 1 Landing Capability Repulsor


{{Ship
| name = GR-75 Medium Transport
| category = Heavy Freighter
| link = http://www.swcombine.com/rules/?Heavy_Freighter&ID=31
| supplier = Incom Corporation
| dcSupplier = New Republic
| price =  18200000
| dcFee = 6500000
| productionFee = 750000
| partySlotSize = 6
| available = true
| hangarBay = true
| escapePod = 1
| landingCapacity = true
| repulsor = true
}}
GR-75 Medium Transport
GR-75 Medium Transport
Category: Heavy Freighter NR Price: Cr 18,200,000
Url: Combine Rules Page GA Price: Cr 18,200,000
Supplier: Incom Corporation External Price: Cr 18,200,000
DC Supplier: New Republic NR Datacard Fee: Cr 6,500,000
Party Slot: 6 GA Datacard Fee: Cr 6,500,000
Available: Yes External Datacard Fee: Cr 6,500,000
Production Fee: Cr 750,000
Capabilities: Hangar Bay Landing Capability Repulsor