Difference between revisions of "Template:Ship"

From Rebel Alliance Wiki
Jump to: navigation, search
m
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="width:90%;margin-left:auto;margin-right:auto;"  
+
<includeonly><div id="{{{name}}}"></div>
!colspan="5"|{{{name}}}
+
{| style="width:60em;margin-left:auto;margin-right:auto;margin-top:2ex;margin-bottom:2ex;border-spacing: 2px 5px;padding:0.2em;border: 1px solid grey;border-collapse: collapse;font-size:88%;"  
 +
!colspan="5" style="text-align:center;font-weight:bold;background:#3b4044;border: 1px solid grey;font-size:120%;padding-top:0.5ex;padding-bottom:0.5ex;color:white;"|{{{name}}}
 
|-
 
|-
|rowspan="6" style="width:20%;vertical-align:middle"|{{#ifexist: File:Product {{{name}}}.png|[[File:Product {{{name}}}.png|center|link={{{link}}}|alt={{{name}}}]]|[[File:Product {{{name}}}.jpg|center|link={{{link}}}|alt={{{name}}}]]}}
+
|rowspan="5" style="width:20%;vertical-align:middle;border: 1px solid grey;"|{{#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%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|Category:
|style="width:20%;"|{{{category}}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|{{{category}}}
|style="width:20%;"|'''NR Price:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|External Price:
|style="width:20%;text-align:right;"|{{Credit|{{{nrPrice}}}}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|{{Price|{{{price}}}}}
 
|-
 
|-
|style="width:20%;"|'''Url:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|Url:
|style="width:20%;"|[{{{link}}} Combine Rules Page]
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|[{{{link}}} Combine Rules Page]
|style="width:20%;"|'''GA Price:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|External Datacard Fee:
|style="width:20%;text-align:right;"|{{Credit|{{{gaPrice}}}}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|{{Price|{{{dcFee}}}}}
 
|-
 
|-
|style="width:20%;"|'''Sold By:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|Available:
|style="width:20%;"|[[{{{soldBy}}}]]
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}}
|style="width:20%;"|'''External Price:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|[http://www.swcombine.com/rules/?Production#Cost Estimated Darkness Cost:]
|style="width:20%;text-align:right;"|{{Credit|{{{externalPrice}}}}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|{{Price|{{{estimatedDarknessCost}}}}}
 
|-
 
|-
|style="width:20%;"|'''Available:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|Party Slot:
|style="width:20%;"|{{#ifeq: {{{available}}}|true|Yes|Sales are currently closed}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|{{{partySlotSize}}}
|style="width:20%;"|'''NR Datacard Fee:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|Supplier:
|style="width:20%;text-align:right;"|{{Credit|{{{nrDCFee}}}}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|[[{{{supplier}}}]]
 
|-
 
|-
|style="width:20%;"|'''Production Fee:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|
|style="width:20%;text-align:right;"|{{Credit|{{{productionFee}}}}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|
|style="width:20%;"|'''GA Datacard Fee:'''
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|DC Supplier:
|style="width:20%;text-align:right;"|{{Credit|{{{gaDCFee}}}}}
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;text-align:right;"|{{#if: {{{dcSupplier|}}}|[[{{{dcSupplier}}}]]|[[{{{supplier}}}]]}}
 
|-
 
|-
|style="width:20%;"|
+
|style="width:20%;border: 1px solid grey;padding:0.25ex 0.5em 0.25ex 0.5em;text-align:center;font-weight:bold;text-align:left;"|Capabilities:
|style="width:20%;text-align:right;"|
+
| colspan="4"|<!--
|style="width:20%;"|'''External Datacard Fee:'''
+
--> {{#ifeq: {{{dockingBay}}}|true|[[File:Ability Docking Bay.gif|25px|link=|Docking Bay]]|}}<!--
|style="width:20%;text-align:right;"|{{Credit|{{{externalDCFee}}}}}
+
--> {{#ifeq: {{{dockingPort}}}|true|[[File:Ability Docking Port.gif|25px|link=|Docking Port]]|}}<!--
|-
+
--> {{#ifeq: {{{hangarBay}}}|true|[[File:Ability Hangar Bay.gif|25px|link=|Hangar Bay]]|}}<!--
|'''Capabilities:'''
+
--> {{#ifexpr: {{{escapePods|0}}} > 0 |[[File:Ability Escape Pods.gif|25px|link=|Escape Pods: {{{escapePods}}}]]|}}<!--
| 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}}}]]|}} {{#ifeq: {{{landingCapacity}}}|true|[[File:Ability Landing Capability.gif|25px|link=|Landing Capability]]|}} {{#ifeq: {{{repulsor}}}|true|[[File:Ability Repulsor.gif|25px|link=|Repulsor]]|}}  
+
--> {{#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]]|}}<!--
 +
--> {{#ifeq: {{{recycling}}}|true|[[File:recycling.gif|25px|link=|Recycling Capability]]|}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
===Usage===
 
===Usage===
Line 42: Line 46:
 
| category =  
 
| category =  
 
| link =  
 
| link =  
| soldBy =  
+
| supplier =  
| externalPrice =  
+
| dcSupplier = name or empty
| gaPrice =  
+
| price =  
| nrPrice =  
+
| dcFee =  
| nrDCFee =  
+
| estimatedDarknessCost =  
| gaDCFee =
+
| partySlotSize =  
| externalDCFee =
 
| productionFee =  
 
 
| available = true|false (or empty)
 
| available = true|false (or empty)
 
| dockingBay = true|false (or empty)
 
| dockingBay = true|false (or empty)
Line 58: Line 60:
 
| repulsor = true|false (or empty)
 
| repulsor = true|false (or empty)
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
  
 
===Examples===
 
===Examples===
 +
<pre><nowiki>{{Ship
 +
| name = YG-4210
 +
| category = Light Freighter
 +
| supplier = Incom Corporation
 +
| link = http://www.swcombine.com/rules/?Light_Freighter&ID=64
 +
| price = 1600000
 +
| dcFee = 250000
 +
| estimatedDarknessCost = 390000
 +
| partySlotSize = 4
 +
| available = true
 +
| escapePods = 1
 +
| hangarBay = true
 +
| landingCapacity = true
 +
| repulsor = true
 +
}}</nowiki></pre>
 
{{Ship
 
{{Ship
 
| 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
| externalPrice = 1,600,000
+
| price = 1600000
| gaPrice = 1,440,000
+
| dcFee = 250000
| nrPrice = 1,360,000
+
| estimatedDarknessCost = 390000
| nrDCFee = 225,000
+
| partySlotSize = 4
| gaDCFee = 212,500
 
| externalDCFee = 250,000
 
| productionFee = 390,000
 
 
| available = true  
 
| available = true  
 
| escapePods = 1
 
| escapePods = 1
Line 81: Line 94:
  
  
 +
<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
 +
| estimatedDarknessCost = 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
 +
| estimatedDarknessCost = 750000
 +
| partySlotSize = 6
 +
| available = true
 +
| hangarBay = true
 +
| escapePod = 1
 +
| landingCapacity = true
 +
| repulsor = true
 +
}}
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 13:44, 4 August 2019

Usage

{{Ship
| name = 
| category = 
| link = 
| supplier = 
| dcSupplier = name or empty
| price = 
| dcFee = 
| estimatedDarknessCost = 
| 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
| estimatedDarknessCost = 390000
| partySlotSize = 4
| available = true 
| escapePods = 1
| hangarBay = true
| landingCapacity = true
| repulsor = true
}}
YG-4210
YG-4210
Category: Light Freighter External Price: Cr 1,600,000
Url: Combine Rules Page External Datacard Fee: Cr 250,000
Available: Yes Estimated Darkness Cost: Cr 390,000
Party Slot: 4 Supplier: Incom Corporation
DC Supplier: Incom Corporation
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
| estimatedDarknessCost = 750000
| partySlotSize = 6
| available = true
| hangarBay = true
| escapePod = 1
| landingCapacity = true
| repulsor = true
}}
GR-75 Medium Transport
GR-75 Medium Transport
Category: Heavy Freighter External Price: Cr 18,200,000
Url: Combine Rules Page External Datacard Fee: Cr 6,500,000
Available: Yes Estimated Darkness Cost: Cr 750,000
Party Slot: 6 Supplier: Incom Corporation
DC Supplier: New Republic
Capabilities: Hangar Bay Landing Capability Repulsor