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"> | ||
{| | {| class="ibtable" align="right" cellpadding="3" cellspacing="0" | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
{{!}} colspan="2" | {{!}} 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}}}''' | |||
}} | }} | ||
|- | |- | ||
| | | class="ibheader" colspan="2" | '''Information''' | ||
|- | |- | ||
{{#if: {{{registry|}}}| | {{#if: {{{registry|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Registry | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{registry}}} | {{{registry}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Class | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{class}}} | {{{class}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{affiliation|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Affiliation | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{ | {{{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: {{{ | {{#if: {{{destroyed|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Destroyed | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{ | {{{destroyed}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{system|}}}{{{sector|}}}{{{region|}}}{{{quadrant|}}}| | ||
{{!}} | {{!}} class="ibheader" colspan="2" {{!}} '''Location''' | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{system|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} System | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{ | {{{system}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{sector|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Sector | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{ | {{{sector}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{region|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Region | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{ | {{{region}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{quadrant|}}}| | {{#if: {{{quadrant|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Quadrant | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{quadrant}}} | {{{quadrant}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{role|}}}{{{taskforce|}}}| | ||
{{!}} | {{!}} class="ibheader" colspan="2" {{!}} '''Assignment''' | ||
{{!}} | }} | ||
{{{ | |- | ||
{{#if: {{{role|}}}| | |||
{{!}} class="ibleft" {{!}} Role | |||
{{!}} class="ibright" {{!}} | |||
{{{role}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{taskforce|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Task Force | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{ | {{{taskforce}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{co|}}}{{{crew|}}} | {{#if: {{{co|}}}{{{xo|}}}{{{crew|}}}| | ||
{{!}} | {{!}} class="ibheader" colspan="2" {{!}} '''Personnel''' | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{co|}}}| | {{#if: {{{co|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Commanding Officer | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{co}}} | {{{co}}} | ||
}} | |||
|- | |||
{{#if: {{{xo|}}}| | |||
{{!}} class="ibleft" {{!}} Executive Officer | |||
{{!}} class="ibright" {{!}} | |||
{{{xo}}} | |||
}} | }} | ||
|- | |- | ||
{{#if: {{{crew|}}}| | {{#if: {{{crew|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Station Populations | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{crew}}} | {{{crew}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{dedication|}}}| | {{#if: {{{dedication|}}}| | ||
{{!}} | {{!}} class="ibheader" colspan="2" {{!}} {{{dedication}}} | ||
}} | }} | ||
|- | |- | ||
| | | class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Starbase]] | ||
|} | |} | ||
</div> | </div> | ||
<includeonly> | <includeonly> | ||
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases | {{#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 = | ||
| | | affiliation = | ||
| | | status = | ||
| | | commissioned = | ||
| | | decommissioned = | ||
| | | destroyed = | ||
| | | system = | ||
| sector = | | sector = | ||
| | | 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]] | ||
| | | 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 = | | quadrant = | ||
| role = Spinning Top of Death | | role = Spinning Top of Death | ||
| | | taskforce = | ||
| 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]] | ||
| | | 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 = | | quadrant = | ||
| role = Spinning Top of Death | | role = Spinning Top of Death | ||
| | | taskforce = | ||
| 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
Starbase Kickass | |
Information | |
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 = }}