Difference between revisions of "Template:Shipclass"

From Anura Sims Database
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div>
+
<div class="infobox">
{| style="background: transparent; border:1px solid #516778; border-radius: 1px 1px 1px 1px;" width="275" align="right" cellpadding="3" cellspacing="0"  
+
{| width="275" align="right" cellpadding="1" cellspacing="1"
 
|-  
 
|-  
| colspan="2" bgcolor={{{bgcolor_value|#222222 style="font-size: 8pt; padding: 3px; text-align: center;"}}} {{!}} {{{image}}}
+
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" bgcolor={{{bgcolor_value|#0b1322 style="font-size: 8pt; padding: 3px; text-align: center;"}}} {{!}} {{{image}}}}}
 
|-
 
|-
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#000000; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
 
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#000000; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#0b3c5d; text-align:center; font-size:8pt;" | '''Class Information'''
+
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#1e3c52; text-align:center; font-size:8pt;" | '''Class Information'''
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Role:
+
{{#if: {{{role|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Role:
{{{role}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{role}}}}}
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Decks:
+
{{#if: {{{decks|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Decks:
{{{decks}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{decks}}}}}
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Cruising Speed:
+
{{#if: {{{cruise|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Cruising Speed:
{{{cruise}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{cruise}}}}}
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#0b3c5d; text-align:center; font-size:8pt;" | '''Personnel'''
+
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#1e3c52; text-align:center; font-size:8pt;" | '''Personnel'''
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Total Compliment:
+
{{#if: {{{crew|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Total Compliment:
{{{crew}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{crew}}}}}
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#0b3c5d; text-align:center; font-size:8pt;" | '''Tactical Systems'''
+
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#1e3c52; text-align:center; font-size:8pt;" | '''Tactical Systems'''
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Energy Weapons:
+
{{#if: {{{phasers|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Energy Weapons:
{{{phasers}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{phasers}}}}}
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Torpedo Launchers:
+
{{#if: {{{launchers|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Torpedo Launchers:
{{{launchers}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{launchers}}}}}
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Shields:
+
{{#if: {{{shields|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Shields:
{{{shields}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{shields}}}}}
 
|- style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
 
|- style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
 
|colspan="2" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px; text-align: center; color: #516778; font-size: 8pt; background-color:#000000; text-align:center; border-top: 1px solid #111111;" | [[Template:Shipclass]]
 
|colspan="2" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px; text-align: center; color: #516778; font-size: 8pt; background-color:#000000; text-align:center; border-top: 1px solid #111111;" | [[Template:Shipclass]]

Latest revision as of 14:51, 26 July 2020

{{{name}}}
Class Information
Personnel
Tactical Systems
Template:Shipclass



{{Shipclass
|image=
|name=
|duration=
|resupply=
|refit=
|role=
|length=
|width=
|height=
|decks=
|cruise=
|max=
|emergency=
|crew=
|officers=
|enlisted=
|marines=
|civs=
|bays=
|shuttles=
|runabouts=
|fighters=
|phasers=
|launchers=
|torpedoes=
|shields=
|other=
}}