Difference between revisions of "Template:Starbase"

Template page
m
m
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;"
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px; margin-bottom:0; padding-left:10px;"
{{#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}}} }}
{{!}} 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}}}
}}
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
| colspan="2" style="text-align: center; color: #e5e5ed; font-size: larger; background: #304665; padding: .3rem 1.25rem;" | '''''{{{name}}}'''''
|-
|-
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''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
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Registry
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{registry}}}
{{{registry}}} }}
}}
|-
|-
{{#if: {{{class|}}}|
{{#if: {{{class|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Class
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Class
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{class}}}
{{{class}}} }}
}}
|-
|-
{{#if: {{{comission|}}}|
{{#if: {{{commission|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Year Commissioned
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Year Commissioned
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{commission}}}
{{{comission}}} }}
}}
|-
|-
{{#if: {{{decomission|}}}|
{{#if: {{{decommission|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Year Decommissioned
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Year Decommissioned
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{decommission}}}
{{{decomission}}} }}
}}
|-
|-
{{#if: {{{affiliation|}}}{{{role|}}}{{{taskforce|}}}{{{quadrant|}}}{{{status|}}}|  
{{#if: {{{affiliation|}}}{{{role|}}}{{{taskforce|}}}{{{quadrant|}}}{{{status|}}}|  
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} '''Assignment'''
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px;" {{!}} '''Assignment'''
}}
}}
|-
|-
{{#if: {{{affiliation|}}}|
{{#if: {{{affiliation|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Affiliation
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{affiliation}}}
{{{affiliation}}} }}
}}
|-
|-
{{#if: {{{role|}}}|
{{#if: {{{role|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Role
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Role
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{role}}}
{{{role}}} }}
}}
|-
|-
{{#if: {{{taskforce|}}}|
{{#if: {{{taskforce|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Task Force
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Task Force
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{taskforce}}}
{{{taskforce}}} }}
}}
|-
|-
{{#if: {{{quadrant|}}}|
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{quadrant}}}
{{{quadrant}}} }}
}}
|-
|-
{{#if: {{{sector|}}}|
{{#if: {{{sector|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Sector
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} Sector
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{sector}}}
{{{sector}}} }}
}}
|-
|-
{{#if: {{{system|}}}|
{{#if: {{{system|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} System
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%;"}}} {{!}} System
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{system}}}
{{{system}}} }}
}}
|-
|-
{{#if: {{{co|}}}{{{crew|}}}
{{#if: {{{co|}}}{{{crew|}}}
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} '''Personnel'''
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px;" {{!}} '''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
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Commanding Officer
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{co}}}
{{{co}}} }}
}}
|-
|-
{{#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
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding: 8px 10px; color: #696969; font-size: smaller; width: 40%; vertical-align: top;"}}} {{!}} Crew
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding: 8px 10px; color: #696969; font-size: smaller; width: 60%;"}}} {{!}} {{{crew}}}
{{{crew}}} }}
}}
|-
|-
{{#if: {{{dedication|}}}|
{{#if: {{{dedication|}}}|
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} {{{dedication}}}
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background: #2a4667c9; font-size: 8pt; padding: 6px;" {{!}} {{{dedication}}}
}}  
}}  
|-
|-
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[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>
|}
[[Category:Starbases]]
</div>
<noinclude>
<includeonly>
<br clear=all>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]][[Category:{{{class}}}-class]]{{DEFAULTSORT:{{{name}}}}}
}}
</includeonly><noinclude>
==Starbase==
To be used when creating a starbase article
<pre>
<pre>
{{Starbase
{{Starbase
Line 104: Line 109:
| dedication =  
| dedication =  
}}</pre>
}}</pre>
 
{{clear}}
<noinclude>[[Category:Infobox Templates|Starship]]
==Example==
{{Starbase
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| registry =
| class = [[Spacedock]]
| commission =
| decommission =
| taskforce =
| quadrant =
| role = Spinning Top of Death
| affiliation = Starfleet, but only because their branding was already all over the place
| 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
| 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]]
| commission =
| decommission =
| taskforce =
| quadrant =
| role = Spinning Top of Death
| affiliation = Starfleet, but only because their branding was already all over the place
| 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
| crew = The Never Ending Rave!
| dedication =
}}
</pre>
[[Category:Infobox Templates]]{{clear}}
</noinclude>
</noinclude>

Revision as of 11:28, 8 June 2022

{{{name}}}
Information

Starbase

To be used when creating a starbase article

{{Starbase
| name = 
| image = 
| registry =
| class =
| commission =
| decommission =
| taskforce =
| quadrant =
| role =
| affiliation =
| sector =
| system =
| co =
| crew = 
| dedication = 
}}

Example

Spacedockclass.png
Starbase Kickass
Information
Class Spacedock
Assignment
Affiliation Starfleet, but only because their branding was already all over the place
Role Spinning Top of Death
Sector Wouldn't you like to know
System The fun one, with all the parties going on
Commanding Officer Depends on the day of the week really
Crew The Never Ending Rave!


The following code produced the infobox to the right.

{{Starbase
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| registry =
| class = [[Spacedock]]
| commission = 
| decommission = 
| taskforce = 
| quadrant = 
| role = Spinning Top of Death
| affiliation = Starfleet, but only because their branding was already all over the place
| 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
| crew = The Never Ending Rave!
| dedication = 
}}