Difference between revisions of "Template:Starbase"

Template page
(Created page with "<div class="infobox"> {| width="275" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0; {{#if: {{{image|}}}| {{!}} colspan="2" bgcolor={...")
 
m (Undo revision 10649 by McGig (talk) Regretting the changes because of all the pre-existing starbase articles)
Tag: Undo
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
{| width="275" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0;
{| 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-color:#4979b5 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
| class="ibheader" colspan="2" | '''Information'''
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#2862a8; text-align:center; font-size:8pt;" | '''Information'''
|-
|-
{{#if: {{{registry|}}}|
{{#if: {{{registry|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Registry:
{{!}} class="ibleft" {{!}} Registry
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{registry}}}
{{{registry}}} }}
}}
|-
|-
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Class:
{{!}} class="ibleft" {{!}} Class
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}}
{{{class}}} }}
{{{class}}}
}}
|-
{{#if: {{{affiliation|}}}|
{{!}} class="ibleft" {{!}} Affiliation
{{!}} class="ibright" {{!}}
{{{affiliation}}}
}}
|-
{{#if: {{{status|}}}|
{{!}} class="ibleft" {{!}} Status
{{!}} class="ibright" {{!}} {{{status}}}
}}
|-
|-
{{#if: {{{comission|}}}|
{{#if: {{{commissioned|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Year Comissioned:
{{!}} class="ibleft" {{!}} Commissioned
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{commissioned}}}
{{{comission}}} }}
}}
|-
{{#if: {{{decommissioned|}}}|
{{!}} class="ibleft" {{!}} Decommissioned
{{!}} class="ibright" {{!}} {{{decommissioned}}}
}}
|-
{{#if: {{{destroyed|}}}|
{{!}} class="ibleft" {{!}} Destroyed
{{!}} class="ibright" {{!}} {{{destroyed}}}
}}
|-
{{#if: {{{system|}}}{{{sector|}}}{{{region|}}}{{{quadrant|}}}|
{{!}} class="ibheader" colspan="2" {{!}} '''Location'''
}}
|-
{{#if: {{{system|}}}|
{{!}} class="ibleft" {{!}} System
{{!}} class="ibright" {{!}} {{{system}}}
}}
|-
{{#if: {{{sector|}}}|
{{!}} class="ibleft" {{!}} Sector
{{!}} class="ibright" {{!}} {{{sector}}}
}}
|-
|-
{{#if: {{{decomission|}}}|
{{#if: {{{region|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Year Decomissioned:
{{!}} class="ibleft" {{!}} Region
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{region}}}
{{{decomission}}} }}
}}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#2862a8; text-align:center; font-size:8pt;" | '''Assignment'''
{{#if: {{{quadrant|}}}|
{{!}} class="ibleft" {{!}} Quadrant
{{!}} class="ibright" {{!}} {{{quadrant}}}
}}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{role|}}}{{{taskforce|}}}{{{unit|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Affiliation:
{{!}} class="ibheader" colspan="2" {{!}} '''Assignment'''
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
}}
{{{affiliation}}} }}
|-
|-
{{#if: {{{role|}}}|
{{#if: {{{role|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Role:
{{!}} class="ibleft" {{!}} Role
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}}
{{{role}}} }}
{{{role}}}
}}
|-
{{#if: {{{unit|}}}|
{{!}} class="ibleft" {{!}} Unit
{{!}} class="ibright" {{!}} [[{{{unit}}}]]
}}
|-
|-
{{#if: {{{taskforce|}}}|
{{#if: {{{taskforce|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Task Force:
{{!}} class="ibleft" {{!}} Task Force
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}} [[{{{taskforce}}}]]
{{{taskforce}}} }}
}}
|-
|-
{{#if: {{{quadrant|}}}|
{{#if: {{{taskgroup|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Quadrant:
{{!}} class="ibleft" {{!}} Task Group
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}} [[{{{taskforce}}}#{{{taskgroup}}}|{{{taskgroup}}}]]
{{{quadrant}}} }}
}}
|-
|-
{{#if: {{{sector|}}}|
{{#if: {{{squadron|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Sector:
{{!}} class="ibleft" {{!}} Squadron
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}} [[{{{squadron}}}]]
{{{sector}}} }}
}}
|-
|-
{{#if: {{{system|}}}|
{{#if: {{{co|}}}{{{xo|}}}{{{crew|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} System:
{{!}} class="ibheader" colspan="2" {{!}} '''Personnel'''
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
}}
{{{system}}} }}
|-
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; background-color:#2862a8; text-align:center; font-size:8pt;" | '''Personnel'''
{{#if: {{{co|}}}|
{{!}} class="ibleft" {{!}} Commanding Officer
{{!}} class="ibright" {{!}} {{{co}}}
}}
|-
|-
{{#if: {{{co|}}}|
{{#if: {{{xo|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Commanding Officer:
{{!}} class="ibleft" {{!}} Executive Officer
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}} {{{xo}}}
{{{co}}} }}
}}
|-
|-
{{#if: {{{crew|}}}|
{{#if: {{{crew|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}} Crew:
{{!}} class="ibleft" {{!}} Station Populations
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller;"}}} {{!}}  
{{!}} class="ibright" {{!}}  
{{{crew}}} }}
{{{crew}}}
}}
|-
|-
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
{{#if: {{{dedication|}}}|
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#4979b5; text-align:center;padding: 6px 0;" | [[Template:Starbase]]
{{!}} class="ibheader" colspan="2" {{!}} {{{dedication}}}
|}</div>
}}
<includeonly>[[Category:Starbases]]
|-  
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Starbase]]
|}
</div>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]]{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
<noinclude>
==Starbase==
<br clear=all>
To be used when creating a starbase article
<pre>
<pre>
{{Starbase
{{Starbase
| name =  
| name =  
| image =  
| image =  
| registry =
| registry =  
| class =
| class = (a proper class link will need to go in here for now)
| commission =
| affiliation =
| decommission =
| status = (Active/Decommissioned/Destroyed)
| taskforce =
| commissioned =
| quadrant =
| decommissioned =
| role =
| destroyed =
| affiliation =
| system =  
| sector =
| sector =  
| system =
| region =  
| co =
| quadrant =  
| crew =
| 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 =  
}}</pre>
}}</pre>
 
{{clear}}
<noinclude>[[Category:Infobox Templates|Starship]]
==Example==
{{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 =
| unit =
| 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 =
| templatemode = nocats
}}
The following code produced the infobox to the right.
<pre>
{{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 =
}}
</pre>
[[Category:Infobox Templates]]{{clear}}
</noinclude>
</noinclude>

Latest revision as of 11:21, 17 July 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 = 
}}