Difference between revisions of "User:Space/Template:Ship Infobox Test v1"
From Discovery Wiki
Jump to navigationJump to searchm (Further testing.) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{ | + | <noinclude>{{Style Guide navigation}}<!--</noinclude>{{#if: {{{image|}}}||{{Stub|This page requires a Picture for the '''Ship'''. This is an automatically generated message that will disappear when an image is used.}}}} |
{| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" cellpadding="3" | {| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 2px solid black;" cellpadding="3" | ||
|- | |- | ||
Line 32: | Line 32: | ||
|class="infobox-data-title" | '''Built by''' | |class="infobox-data-title" | '''Built by''' | ||
|style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}} | |style="padding-right: 1em;" | {{#if: {{{shipowner|}}} | {{{shipowner}}} | ''unknown''}} | ||
− | |||
− | |||
− | |||
|- | |- | ||
| colspan="2" class="infobox-section" | Technical information | | colspan="2" class="infobox-section" | Technical information | ||
Line 127: | Line 124: | ||
{{!}} class="infobox-data-title" {{!}} '''Bomber''' | {{!}} class="infobox-data-title" {{!}} '''Bomber''' | ||
{{!}} style="padding-right: 1em;" {{!}} {{{bomber|}}} | {{!}} style="padding-right: 1em;" {{!}} {{{bomber|}}} | ||
+ | {{!}}- | ||
+ | {{!}} class="infobox-data-title" {{!}} '''Freighter''' | ||
+ | {{!}} style="padding-right: 1em;" {{!}} {{{basic_freighter|}}} | ||
+ | }}{{#if: {{{adv_freighter|}}} | <nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}} class="infobox-data-title" {{!}} '''Adv. Freighter''' | ||
+ | {{!}} style="padding-right: 1em;" {{!}} {{{adv_freighter|}}} | ||
}} | }} | ||
|- | |- | ||
| colspan="2" class="infobox-section" | Additional information | | colspan="2" class="infobox-section" | Additional information | ||
+ | |- | ||
+ | |class="infobox-data-title" | '''Tech Category''' | ||
+ | |style="padding-right: 1em;" | {{#if: {{{shiptechcategory|}}} | {{{shiptechcategory}}} | ''unknown''}} | ||
|- title="Price of the ship without any mounted equipment" | |- title="Price of the ship without any mounted equipment" | ||
|class="infobox-data-title" | '''Ship price''' | |class="infobox-data-title" | '''Ship price''' | ||
Line 143: | Line 150: | ||
}} | }} | ||
|} | |} | ||
− | {{# | + | {{#ifeq:{{FULLPAGENAME}}|User:Space/Template:Ship Infobox Test v1|| |
− | {{#switch: {{{shipclass}}} | + | [[Category:{{#switch: {{{shipclass}}} |
− | | L_FIGHTER = | + | | L_FIGHTER = Light Fighters |
− | | H_FIGHTER = | + | | H_FIGHTER = Heavy Fighters |
− | | VH_FIGHTER = | + | | VH_FIGHTER = Very Heavy Fighters |
− | | SH_FIGHTER = | + | | SH_FIGHTER = Super Heavy Fighters |
− | | BOMBER = | + | | BOMBER = Bombers |
− | | GUNSHIP = | + | | GUNSHIP = Gunboats and Gunships |
− | | GUNBOAT = | + | | GUNBOAT = Gunboats and Gunships |
− | | CRUISER = | + | | CRUISER = Cruisers |
− | | BATTLECRUISER = | + | | BATTLECRUISER = Battlecruisers |
− | | BATTLESHIP = | + | | BATTLESHIP = Battleships |
− | | DREADNOUGHT = | + | | DREADNOUGHT = Battleships |
− | | LIGHTCARRIER = | + | | LIGHTCARRIER = Light Carriers |
− | | CARRIER= | + | | CARRIER = Carriers |
− | | FREIGHTER = | + | | FREIGHTER = Freighters |
− | | TRANSPORT = | + | | TRANSPORT = Transports |
− | | LINER = | + | | LINER = Liners |
− | | #default = | + | | #default = Uncategorised ships |
− | }}[[Category:Ships]]{{#if: {{{image|}}} | + | }}]][[Category:Ships]]{{#if:{{{image|}}}||[[Category:Ship pages without profile images]]}}}}<noinclude>--> |
− | | | [[Category:Ship pages without profile images]] | ||
− | }}}} | ||
− | <noinclude> | ||
− | --> | ||
==Usage== | ==Usage== | ||
<pre><nowiki>{{User:Space/Template:Ship Infobox Test v1 | <pre><nowiki>{{User:Space/Template:Ship Infobox Test v1 | ||
Line 197: | Line 200: | ||
| basic_vhf = [[Sabre]] | | basic_vhf = [[Sabre]] | ||
| bomber = [[Bomber]] | | bomber = [[Bomber]] | ||
+ | | basic_freighter = Something | ||
+ | | adv_freighter = Something else | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Ship class can be one of these choices: | Ship class can be one of these choices: | ||
Line 218: | Line 223: | ||
==Result== | ==Result== | ||
{{User:Space/Template:Ship Infobox Test v1 | {{User:Space/Template:Ship Infobox Test v1 | ||
− | | name = Series X "Dagger" | + | | name = Series X "Dagger" Light Fighter |
| image = Dagger-s.png | | image = Dagger-s.png | ||
| shipclass = L_FIGHTER | | shipclass = L_FIGHTER | ||
Line 246: | Line 251: | ||
| basic_vhf = [[Sabre]] | | basic_vhf = [[Sabre]] | ||
| bomber = [[Bomber]] | | bomber = [[Bomber]] | ||
+ | | basic_freighter = Something | ||
+ | | adv_freighter = Something else | ||
}} | }} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:25, 6 February 2012
Other Templates available to read: |
The Basics • Ships • Factions • Bases • Planets • Systems • Commodities |
Usage
{{User:Space/Template:Ship Infobox Test v1 | name = Series X "Dagger" Light Fighter | image = Dagger-s.png | shipclass = L_FIGHTER | shipowner = [[Border Worlds]] | shiptechcategory = [[Border Worlds]] | guns = 4 | turrets = 1 | mines = 1 | CD = 1 | CM = 1 | hull = 1800 | cargo = 35 | maxregens = 15 | optwepclass = 2 | maxwepclass = 4 | maxshieldclass = 4 | maxspeed = 80 | maxthrust = 199 | maxpower = 1800 | recharge = 183 | hullcost = 36800 | fullcost = 39020 | basic_lf = [[Dagger]] | basic_hf = [[Stiletto]] | adv_lf = [[Scimitar]] | adv_hf = [[Switchblade]] | basic_vhf = [[Sabre]] | bomber = [[Bomber]] | basic_freighter = Something | adv_freighter = Something else }}
Ship class can be one of these choices:
- L_FIGHTER
- H_FIGHTER
- VH_FIGHTER
- SH_FIGHTER
- BOMBER
- GUNSHIP
- GUNBOAT
- CRUISER
- BATTLECRUISER
- BATTLESHIP
- DREADNOUGHT
- LIGHTCARRIER
- CARRIER
- FREIGHTER
- TRANSPORT
- LINER
Result
Series X "Dagger" Light Fighter | |
Ship Class | Light Fighter |
Built by | Border Worlds |
Technical information | |
Guns/Turrets | 4 / 1 |
Opt. weapon class | 2 |
Max. weapon class | 4 |
Additional equipment | |
Hull strength | 1,800 |
Max. shield class | 4 |
Cargo space | 35 units |
Nanobots/Batteries | 15/15 |
Max. impulse speed | 80 m/s |
Max. thrust speed | 199 m/s |
Power output | 1,800 u |
Power recharge | 183 u/s |
Variants | |
Light Fighter | Dagger |
Adv. Light Fighter | Scimitar |
Heavy Fighter | Stiletto |
Adv. Heavy Fighter | Switchblade |
Very Heavy Fighter | Sabre |
Bomber | Bomber |
Freighter | Something |
Adv. Freighter | Something else |
Additional information | |
Tech Category | Border Worlds |
Ship price | $36,800 |
Package price | $39,020 |