Difference between revisions of "Template:Ship Infobox"
From Discovery Wiki
Jump to navigationJump to search (I was bold and added the '$' sign to the template) |
|||
Line 1: | Line 1: | ||
− | <noinclude><! | + | <noinclude><!-</noinclude> |
− | {| class="infobox bordered" style="float: | + | {| class="infobox bordered" style="float: right; margin-left: 1em; margin-bottom: 10px; width: 270px; font-size: 11px; line-height: 14px; border: 1px solid #dddddd;" cellpadding="3" |
|- | |- | ||
− | | colspan="2" style="text-align: center; font-size: | + | | colspan="2" style="text-align: center; font-size: 14px; background: #f6f6f6;"|'''{{{name}}}''' |
|- | |- | ||
− | | colspan="2" style="padding: | + | | colspan="2" style="padding: 0; text-align: center;"|[[image:{{{image|Noimage_test.jpg}}}|center|264px]] |
|- | |- | ||
− | |style="vertical-align: top; width: | + | |style="vertical-align: top; width: 110px; background: #f6f6f6;" | '''Ship Class''' |
− | |style="padding-right: 1em;" | {{{shipclass|''unknown'' | + | |style="padding-right: 1em;" | {{#switch: {{{shipclass}}} |
+ | | L_FIGHTER = Light Fighter | ||
+ | | H_FIGHTER = Heavy Fighter | ||
+ | | VH_FIGHTER = Very Heavy Fighter | ||
+ | | SH_FIGHTER = Super Heavy Fighter | ||
+ | | BOMBER = Bomber | ||
+ | | GUNBOAT = Gunboat | ||
+ | | CRUISER = Cruiser | ||
+ | | BATTLESHIP = Battleship | ||
+ | | FREIGHTER = Freighter | ||
+ | | TRANSPORT = Transport | ||
+ | | #default = ''unknown'' | ||
+ | }} | ||
|- | |- | ||
|style="vertical-align: top; background: #f6f6f6;" | '''Built by''' | |style="vertical-align: top; background: #f6f6f6;" | '''Built by''' | ||
|style="padding-right: 1em;" | {{{shipowner|''unknown''}}} | |style="padding-right: 1em;" | {{{shipowner|''unknown''}}} | ||
+ | |- | ||
+ | | colspan="2" style="vertical-align: top; font-weight: bold; text-align: center;" | Technical information | ||
+ | |- title="Number of gun and turret hardpoints on this ship" | ||
+ | |style="vertical-align: top; background: #f6f6f6;" | '''Guns/Turrets''' | ||
+ | |style="padding-right: 1em; font-weight: bold; letter-spacing: 2px;" | {{{guns|0}}}/{{{turrets|0}}} {{#if: {{{maxwepclass}}} | ||
+ | | <i>({{{maxwepclass}}})</i> | ||
+ | | gf | ||
+ | }} | ||
+ | |- title="Number of hull hitpoints" | ||
+ | |style="vertical-align: top; background: #f6f6f6;" | '''Hull strength''' | ||
+ | |style="padding-right: 1em; color: #009900;" | {{{hull|unknown}}} | ||
+ | |- title="Maximum class of shield that can be mounted on this ship" | ||
+ | |style="vertical-align: top; background: #f6f6f6;" | '''Max. shield class''' | ||
+ | |style="padding-right: 1em; color: #006699;" | {{{maxshieldclass|unknown}}} | ||
+ | |||
+ | |||
+ | |||
|- | |- | ||
|style="vertical-align: top; background: #f6f6f6;" | '''Technical information''' | |style="vertical-align: top; background: #f6f6f6;" | '''Technical information''' | ||
Line 42: | Line 71: | ||
<noinclude> | <noinclude> | ||
--> | --> | ||
+ | <!-- | ||
==Usage== | ==Usage== | ||
<pre><nowiki>{{Ship_Infobox | <pre><nowiki>{{Ship_Infobox | ||
− | + | | name = RH-GM40 "Odin" | |
− | + | | image = Odin1.jpg | |
− | |name = | + | | shipclass = VH_FIGHTER |
− | |image = | + | | shipowner = [[Red Hessians]] |
− | |shipclass = | + | | guns = 6 |
− | |shipowner = [[Red Hessians]] | + | | turrets = 1 |
− | |guns = | + | | hull = 9,700 |
− | |turrets = | + | | cargo = 65 |
− | |hull = | + | | maxregens = 62/62 |
− | |cargo = | + | | optwepclass = 8 |
− | |maxregens = | + | | maxwepclass = 10 |
− | |optwepclass = 8 | + | | maxshieldclass = 10 |
− | |maxwepclass = | + | | maxspeed = 80 |
− | |maxshieldclass = | + | | maxthrust = 199 |
− | |maxspeed = 80 | + | | maxpower = 11,400 |
− | |maxthrust = | + | | recharge = 1,160 |
− | |maxpower = | + | | equipment = |
− | |recharge = | ||
− | |equipment = | ||
[[Countermeasures]],<br> | [[Countermeasures]],<br> | ||
− | [[Cruise Disruptors]] | + | [[Mines]],<br> |
− | |hullcost = | + | [[Torpedoes|Torpedo]]/[[Cruise Disruptors|Cruise Disruptor]] |
− | |fullcost = | + | | hullcost = 1,995,000 |
− | + | | fullcost = 2,128,130 | |
− | |||
− | |||
− | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
==Result== | ==Result== | ||
+ | --> | ||
{{Ship_Infobox | {{Ship_Infobox | ||
− | + | | name = RH-GM40 "Odin" | |
− | + | | image = Odin1.jpg | |
− | |name = | + | | shipclass = VH_FIGHTER |
− | |image = | + | | shipowner = [[Red Hessians]] |
− | |shipclass = | + | | guns = 6 |
− | |shipowner = [[Red Hessians]] | + | | turrets = 1 |
− | |guns = | + | | hull = 9,700 |
− | |turrets = | + | | cargo = 65 |
− | |hull = | + | | maxregens = 62/62 |
− | |cargo = | + | | optwepclass = 8 |
− | |maxregens = | + | | maxwepclass = 10 |
− | |optwepclass = 8 | + | | maxshieldclass = 10 |
− | |maxwepclass = | + | | maxspeed = 80 |
− | |maxshieldclass = | + | | maxthrust = 199 |
− | |maxspeed = 80 | + | | maxpower = 11,400 |
− | |maxthrust = | + | | recharge = 1,160 |
− | |maxpower = | + | | equipment = |
− | |recharge = | ||
− | |equipment = | ||
[[Countermeasures]],<br> | [[Countermeasures]],<br> | ||
− | [[Cruise Disruptors]] | + | [[Mines]],<br> |
− | |hullcost = | + | [[Torpedoes|Torpedo]]/[[Cruise Disruptors|Cruise Disruptor]] |
− | |fullcost = | + | | hullcost = 1,995,000 |
− | + | | fullcost = 2,128,130 | |
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 13:25, 2 December 2008
<!-
{{{name}}} | |
Error creating thumbnail: Unable to save thumbnail to destination | |
Ship Class | unknown |
Built by | unknown |
Technical information | |
Guns/Turrets | 0/0 ({{{maxwepclass}}}) |
Hull strength | unknown |
Max. shield class | unknown
|
Technical information |
|
Additional equipment |
None |
Cost |
Hull only: $Unknown |
Additional information |
None |
-->
RH-GM40 "Odin" | |
Ship Class | Very Heavy Fighter |
Built by | Red Hessians |
Technical information | |
Guns/Turrets | 6/1 (10) |
Hull strength | 9,700 |
Max. shield class | 10
|
Technical information |
|
Additional equipment | |
Cost |
Hull only: $1,995,000 |
Additional information |
None |