Difference between revisions of "Template:Ship"
| m | Wesley OyKi (talk | contribs)  | ||
| (13 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <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=" | + | |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%;"| | + | |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%;text-align:right;"|{{{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%;"| | + | |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;"|{{ | + | |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%;"| | + | |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%;text-align:right;"|[{{{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%;"| | + | |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;"|{{ | + | |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%;"| | + | |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%;text-align:right;"| | + | |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%;"| | + | |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;"|{{ | + | |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%;"| | + | |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%;text-align:right;"| | + | |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%;"| | + | |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;"| | + | |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%;"| | + | |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;"| | + | |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%;"| | + | |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;"|{{ | + | |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: | 
| − | + | | 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}}}]]|}}<!-- | |
| − | | 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]]|}}<!-- | ||
| + | --> {{#ifeq: {{{recycling}}}|true|[[File:recycling.gif|25px|link=|Recycling Capability]]|}} | ||
| |}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
| ===Usage=== | ===Usage=== | ||
| Line 42: | Line 46: | ||
| | category =   | | category =   | ||
| | link =   | | link =   | ||
| − | |  | + | | supplier =   | 
| − | |  | + | | dcSupplier = name or empty | 
| − | |  | + | | price =   | 
| − | |  | + | | dcFee =   | 
| − | |  | + | | estimatedDarknessCost =   | 
| − | |||
| − | |||
| − | |||
| | partySlotSize =   | | partySlotSize =   | ||
| | available = true|false (or empty) | | available = true|false (or empty) | ||
| Line 59: | Line 60: | ||
| | repulsor = true|false (or empty) | | repulsor = true|false (or empty) | ||
| }}</nowiki></pre> | }}</nowiki></pre> | ||
| − | |||
| ===Examples=== | ===Examples=== | ||
| − | <pre><nowiki></nowiki></pre> | + | <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 | ||
| − | |  | + | | 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 | 
| − | |  | + | | dcFee = 250000 | 
| − | |  | + | | estimatedDarknessCost = 390000 | 
| − | |||
| − | |||
| − | |||
| − | |||
| | partySlotSize = 4 | | partySlotSize = 4 | ||
| | available = true   | | available = true   | ||
| Line 83: | Line 93: | ||
| }} | }} | ||
| − | <pre><nowiki></nowiki></pre> | + | |
| + | <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 | {{Ship | ||
| − | | name =  | + | | name = GR-75 Medium Transport | 
| − | | category =  | + | | category = Heavy Freighter | 
| − | | link = http://www.swcombine.com/rules/? | + | | 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 | | landingCapacity = true | ||
| | repulsor = 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 | ||||
|---|---|---|---|---|
| Category: | Light Freighter | External Price: |  1,600,000 | |
| Url: | Combine Rules Page | External Datacard Fee: |  250,000 | |
| Available: | Yes | Estimated Darkness Cost: |  390,000 | |
| Party Slot: | 4 | Supplier: | Incom Corporation | |
| DC Supplier: | Incom Corporation | |||
| Capabilities: |         | |||
{{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 | ||||
|---|---|---|---|---|
| Category: | Heavy Freighter | External Price: |  18,200,000 | |
| Url: | Combine Rules Page | External Datacard Fee: |  6,500,000 | |
| Available: | Yes | Estimated Darkness Cost: |  750,000 | |
| Party Slot: | 6 | Supplier: | Incom Corporation | |
| DC Supplier: | New Republic | |||
| Capabilities: |       | |||



