Difference between revisions of "Template:Starbase"

Template page
(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.)
(Bringing the Starbase template up to spec with Starship seeing as we may now get more starbases with Squadrons and such. Adding in unit, taskgroup and squadron fields. Adding in some more smart category shenanigans.)
Line 12: Line 12:
{{#if: {{{registry|}}}|
{{#if: {{{registry|}}}|
{{!}} class="ibleft" {{!}} Registry
{{!}} class="ibleft" {{!}} Registry
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{registry}}}
{{{registry}}}
}}
}}
|-
|-
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} class="ibleft" {{!}} Class
{{!}} class="ibleft" {{!}} Class
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{class}}}
{{{class}}}
}}
}}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{affiliation|}}}|
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{affiliation}}}
{{{affiliation}}}
}}
}}
|-
|-
{{#if: {{{status|}}}|
{{#if: {{{status|}}}|
{{!}} class="ibleft" {{!}} Status
{{!}} class="ibleft" {{!}} Status
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{status}}}
{{{status}}}
}}
}}
|-
|-
{{#if: {{{commissioned|}}}|
{{#if: {{{commissioned|}}}|
{{!}} class="ibleft" {{!}} Commissioned
{{!}} class="ibleft" {{!}} Commissioned
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{commissioned}}}
{{{commissioned}}}
}}
}}
|-
|-
{{#if: {{{decommissioned|}}}|
{{#if: {{{decommissioned|}}}|
{{!}} class="ibleft" {{!}} Decommissioned
{{!}} class="ibleft" {{!}} Decommissioned
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{decommissioned}}}
{{{decommissioned}}}
}}
}}
|-
|-
{{#if: {{{destroyed|}}}|
{{#if: {{{destroyed|}}}|
{{!}} class="ibleft" {{!}} Destroyed
{{!}} class="ibleft" {{!}} Destroyed
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{destroyed}}}
{{{destroyed}}}
}}
}}
|-
|-
Line 58: Line 51:
{{#if: {{{system|}}}|
{{#if: {{{system|}}}|
{{!}} class="ibleft" {{!}} System
{{!}} class="ibleft" {{!}} System
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{system}}}
{{{system}}}
}}
}}
|-
|-
{{#if: {{{sector|}}}|
{{#if: {{{sector|}}}|
{{!}} class="ibleft" {{!}} Sector
{{!}} class="ibleft" {{!}} Sector
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{sector}}}
{{{sector}}}
}}
}}
|-
|-
{{#if: {{{region|}}}|
{{#if: {{{region|}}}|
{{!}} class="ibleft" {{!}} Region
{{!}} class="ibleft" {{!}} Region
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{region}}}
{{{region}}}
}}
}}
|-
|-
{{#if: {{{quadrant|}}}|
{{#if: {{{quadrant|}}}|
{{!}} class="ibleft" {{!}} Quadrant
{{!}} class="ibleft" {{!}} Quadrant
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{quadrant}}}
{{{quadrant}}}
}}
}}
|-
|-
{{#if: {{{role|}}}{{{taskforce|}}}|  
{{#if: {{{role|}}}{{{taskforce|}}}{{{unit|}}}|  
{{!}} class="ibheader" colspan="2" {{!}} '''Assignment'''
{{!}} class="ibheader" colspan="2" {{!}} '''Assignment'''
}}
}}
Line 86: Line 75:
{{#if: {{{role|}}}|
{{#if: {{{role|}}}|
{{!}} class="ibleft" {{!}} Role
{{!}} class="ibleft" {{!}} Role
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{role}}}
{{{role}}}
}}
|-
{{#if: {{{unit|}}}|
{{!}} class="ibleft" {{!}} Unit
{{!}} class="ibright" {{!}} {{{unit}}}
}}
}}
|-
|-
{{#if: {{{taskforce|}}}|
{{#if: {{{taskforce|}}}|
{{!}} class="ibleft" {{!}} Task Force
{{!}} class="ibleft" {{!}} Task Force
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{taskforce}}}
{{{taskforce}}}
}}
|-
{{#if: {{{taskgroup|}}}|
{{!}} class="ibleft" {{!}} Task Group
{{!}} class="ibright" {{!}} [[{{{taskforce}}}#{{{taskgroup}}}|{{{taskgroup}}}]]
}}
}}
|-
|-
Line 102: Line 99:
{{#if: {{{co|}}}|
{{#if: {{{co|}}}|
{{!}} class="ibleft" {{!}} Commanding Officer
{{!}} class="ibleft" {{!}} Commanding Officer
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{co}}}
{{{co}}}
}}
}}
|-
|-
{{#if: {{{xo|}}}|
{{#if: {{{xo|}}}|
{{!}} class="ibleft" {{!}} Executive Officer
{{!}} class="ibleft" {{!}} Executive Officer
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}} {{{xo}}}
{{{xo}}}
}}
}}
|-
|-
Line 126: Line 121:
</div>
</div>
<includeonly>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]]{{DEFAULTSORT:{{{name}}}}}
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]][[Category:{{{class}}}-class]]{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
Line 136: Line 131:
| image =  
| image =  
| registry =  
| registry =  
| class =  
| class = (a proper class link will need to go in here for now)
| affiliation =  
| affiliation =  
| status =  
| status = (Active/Decommissioned/Destroyed)
| commissioned =  
| commissioned =  
| decommissioned =  
| decommissioned =  
Line 147: Line 142:
| quadrant =  
| quadrant =  
| role =  
| role =  
| taskforce =  
| unit = (only for RPGs -- use Fourth Fleet Expeditionary Group)
| taskforce = (only supply a task force for primary/squadron commands, RPGs are not in task forces)
| taskgroup = (only supply a task force for primary/squadron commands, RPGs are not in task forces)
| squadron = (only supply a squadron if you have a squadron)
| co =  
| co =  
| xo =  
| xo =  
Line 169: Line 167:
| region =  
| region =  
| quadrant =  
| quadrant =  
| unit =
| role = Spinning Top of Death
| role = Spinning Top of Death
| unit =
| taskforce =  
| taskforce =  
| taskgroup =
| squadron =
| co = Depends on the day of the week really
| co = Depends on the day of the week really
| xo =  
| xo =  
Line 194: Line 196:
| quadrant =  
| quadrant =  
| role = Spinning Top of Death
| role = Spinning Top of Death
| unit =
| taskforce =  
| taskforce =  
| taskgroup =
| squadron =
| co = Depends on the day of the week really
| co = Depends on the day of the week really
| xo =  
| xo =  

Revision as of 09:08, 2 January 2023

{{{name}}}
Information
Template:Starbase

Starbase

To be used when creating a starbase article

{{Starbase
| name = 
| image = 
| registry = 
| class = (a proper class link will need to go in here for now)
| affiliation = 
| status = (Active/Decommissioned/Destroyed)
| commissioned = 
| decommissioned = 
| destroyed = 
| system = 
| sector = 
| region = 
| quadrant = 
| role = 
| unit = (only for RPGs -- use Fourth Fleet Expeditionary Group)
| taskforce = (only supply a task force for primary/squadron commands, RPGs are not in task forces)
| taskgroup = (only supply a task force for primary/squadron commands, RPGs are not in task forces)
| squadron = (only supply a squadron if you have a squadron)
| 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
| unit = 
| taskforce = 
| taskgroup = 
| squadron = 
| co = Depends on the day of the week really
| xo = 
| crew = The Never Ending Rave!
| dedication = 
}}