Difference between revisions of "Template:Starbase"

Template page
m
(Updating the Starbase template to the new standard. Bringing it into line with the Starship template by adding a few new fields and rearranging sections and headers.)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px; margin-bottom:0; padding-left:10px;"
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size: smaller; text-align: center; padding: 10px;"}}} {{!}} {{{image}}}
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}}
    {{!}}-
    {{!}} class="ibname" colspan="2" {{!}} '''{{{name}}}'''|
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
}}
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; font-size: larger; background: #304665; padding: .3rem 1.25rem;" | '''''{{{name}}}'''''
| class="ibheader" colspan="2" | '''Information'''
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px;" | '''Information'''
|-
|-
{{#if: {{{registry|}}}|
{{#if: {{{registry|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Registry
{{!}} class="ibleft" {{!}} Registry
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{registry}}}
{{{registry}}}
}}
}}
|-
|-
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Class
{{!}} class="ibleft" {{!}} Class
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{class}}}
{{{class}}}
}}
}}
|-
|-
{{#if: {{{commission|}}}|
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Year Commissioned
{{!}} class="ibleft" {{!}} Affiliation
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}
{{{commission}}}
{{{affiliation}}}
}}
|-
{{#if: {{{status|}}}|
{{!}} class="ibleft" {{!}} Status
{{!}} class="ibright" {{!}}
{{{status}}}
}}
|-
{{#if: {{{commissioned|}}}|
{{!}} class="ibleft" {{!}} Commissioned
{{!}} class="ibright" {{!}}
{{{commissioned}}}
}}
|-
{{#if: {{{decommissioned|}}}|
{{!}} class="ibleft" {{!}} Decommissioned
{{!}} class="ibright" {{!}}  
{{{decommissioned}}}
}}
}}
|-
|-
{{#if: {{{decommission|}}}|
{{#if: {{{destroyed|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Year Decommissioned
{{!}} class="ibleft" {{!}} Destroyed
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{decommission}}}
{{{destroyed}}}
}}
}}
|-
|-
{{#if: {{{affiliation|}}}{{{role|}}}{{{taskforce|}}}{{{quadrant|}}}{{{status|}}}|  
{{#if: {{{system|}}}{{{sector|}}}{{{region|}}}{{{quadrant|}}}|  
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px;" {{!}} '''Assignment'''
{{!}} class="ibheader" colspan="2" {{!}} '''Location'''
}}
}}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{system|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Affiliation
{{!}} class="ibleft" {{!}} System
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{affiliation}}}
{{{system}}}
}}
}}
|-
|-
{{#if: {{{role|}}}|
{{#if: {{{sector|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Role
{{!}} class="ibleft" {{!}} Sector
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{role}}}
{{{sector}}}
}}
}}
|-
|-
{{#if: {{{taskforce|}}}|
{{#if: {{{region|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Task Force
{{!}} class="ibleft" {{!}} Region
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{taskforce}}}
{{{region}}}
}}
}}
|-
|-
{{#if: {{{quadrant|}}}|
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Quadrant
{{!}} class="ibleft" {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{quadrant}}}
{{{quadrant}}}
}}
}}
|-
|-
{{#if: {{{sector|}}}|
{{#if: {{{role|}}}{{{taskforce|}}}|  
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Sector
{{!}} class="ibheader" colspan="2" {{!}} '''Assignment'''
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
}}
{{{sector}}}
|-
{{#if: {{{role|}}}|
{{!}} class="ibleft" {{!}} Role
{{!}} class="ibright" {{!}}  
{{{role}}}
}}
}}
|-
|-
{{#if: {{{system|}}}|
{{#if: {{{taskforce|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} System
{{!}} class="ibleft" {{!}} Task Force
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{system}}}
{{{taskforce}}}
}}
}}
|-
|-
{{#if: {{{co|}}}{{{crew|}}}
{{#if: {{{co|}}}{{{xo|}}}{{{crew|}}}|
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px;" {{!}} '''Personnel'''
{{!}} class="ibheader" colspan="2" {{!}} '''Personnel'''
}}  
}}
|-
|-
{{#if: {{{co|}}}|
{{#if: {{{co|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Commanding Officer
{{!}} class="ibleft" {{!}} Commanding Officer
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{co}}}
{{{co}}}
}}
|-
{{#if: {{{xo|}}}|
{{!}} class="ibleft" {{!}} Executive Officer
{{!}} class="ibright" {{!}}
{{{xo}}}
}}
}}
|-
|-
{{#if: {{{crew|}}}|
{{#if: {{{crew|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Crew
{{!}} class="ibleft" {{!}} Station Populations
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{crew}}}
{{{crew}}}
}}
}}
|-
|-
{{#if: {{{dedication|}}}|
{{#if: {{{dedication|}}}|
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px;" {{!}} {{{dedication}}}
{{!}} class="ibheader" colspan="2" {{!}} {{{dedication}}}
}}  
}}
|-
|-  
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Starbase]]
| colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background: #2a4667c9; padding: 6px 0;" | [[Template:Starbase]]
|}
|}
</div>
</div>
<includeonly>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]][[Category:{{{class}}}-class]]{{DEFAULTSORT:{{{name}}}}}
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]]{{DEFAULTSORT:{{{name}}}}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
Line 107: Line 135:
| name =  
| name =  
| image =  
| image =  
| registry =
| registry =  
| class =
| class =  
| commission =
| affiliation =  
| decommission =
| status =  
| taskforce =
| commissioned =  
| quadrant =
| decommissioned =  
| role =
| destroyed =  
| affiliation =
| system =  
| sector =
| sector =  
| system =
| region =
| co =
| quadrant =
| role =
| taskforce =  
| co =
| xo =  
| crew =  
| crew =  
| dedication =  
| dedication =  
Line 126: Line 158:
| name = Starbase Kickass
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| image = [[file:spacedockclass.png]]
| registry =
| registry =  
| class = [[Spacedock]]
| class = [[Spacedock Class|''Spacedock''-class]]
| commission =  
| affiliation = [[Starfleet]], but only because their branding was already all over the place
| decommission =  
| status =
| taskforce =  
| commissioned =
| decommissioned =
| destroyed =
| system = The fun one, with all the parties going on
| sector = Wouldn't you like to know
| region =  
| quadrant =  
| quadrant =  
| role = Spinning Top of Death
| role = Spinning Top of Death
| affiliation = Starfleet, but only because their branding was already all over the place
| taskforce =  
| sector = Wouldn't you like to know
| system = The fun one, with all the parties going on
| co = Depends on the day of the week really
| co = Depends on the day of the week really
| xo =
| crew = The Never Ending Rave!
| crew = The Never Ending Rave!
| dedication =  
| dedication =  
Line 146: Line 182:
| name = Starbase Kickass
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| image = [[file:spacedockclass.png]]
| registry =
| registry =  
| class = [[Spacedock]]
| class = [[Spacedock Class|''Spacedock''-class]]
| commission =  
| affiliation = [[Starfleet]], but only because their branding was already all over the place
| decommission =  
| status =
| taskforce =  
| commissioned =
| decommissioned =
| destroyed =
| system = The fun one, with all the parties going on
| sector = Wouldn't you like to know
| region =  
| quadrant =  
| quadrant =  
| role = Spinning Top of Death
| role = Spinning Top of Death
| affiliation = Starfleet, but only because their branding was already all over the place
| taskforce =  
| sector = Wouldn't you like to know
| system = The fun one, with all the parties going on
| co = Depends on the day of the week really
| co = Depends on the day of the week really
| xo =
| crew = The Never Ending Rave!
| crew = The Never Ending Rave!
| dedication =  
| dedication =  

Revision as of 10:40, 16 July 2022

{{{name}}}
Information
Template:Starbase

Starbase

To be used when creating a starbase article

{{Starbase
| name = 
| image = 
| registry = 
| class = 
| affiliation = 
| status = 
| commissioned = 
| decommissioned = 
| destroyed = 
| system = 
| sector = 
| region = 
| quadrant = 
| role = 
| taskforce = 
| co = 
| xo = 
| crew = 
| dedication = 
}}

Example

Spacedockclass.png
Starbase Kickass
Information
Class

Spacedock-class

Affiliation

Starfleet, but only because their branding was already all over the place

Location
System

The fun one, with all the parties going on

Sector

Wouldn't you like to know

Assignment
Role

Spinning Top of Death

Personnel
Commanding Officer

Depends on the day of the week really

Station Populations

The Never Ending Rave!

Template:Starbase


The following code produced the infobox to the right.

{{Starbase
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| registry = 
| class = [[Spacedock Class|''Spacedock''-class]]
| affiliation = [[Starfleet]], but only because their branding was already all over the place
| status = 
| commissioned = 
| decommissioned = 
| destroyed = 
| system = The fun one, with all the parties going on
| sector = Wouldn't you like to know
| region = 
| quadrant = 
| role = Spinning Top of Death
| taskforce = 
| co = Depends on the day of the week really
| xo = 
| crew = The Never Ending Rave!
| dedication = 
}}