Difference between revisions of "Template:Starbase"
Template page
m (Undo revision 10649 by McGig (talk) Regretting the changes because of all the pre-existing starbase articles) Tag: Undo |
|||
(17 intermediate revisions by the same user not shown) | |||
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}}} | ||
}} | |||
|- | |||
{{#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: {{{region|}}}| | |||
{{!}} class="ibleft" {{!}} Region | |||
{{!}} class="ibright" {{!}} {{{region}}} | |||
}} | |||
|- | |||
{{#if: {{{quadrant|}}}| | |||
{{!}} class="ibleft" {{!}} Quadrant | |||
{{!}} class="ibright" {{!}} {{{quadrant}}} | |||
}} | |||
|- | |||
{{#if: {{{role|}}}{{{taskforce|}}}{{{unit|}}}| | |||
{{!}} class="ibheader" colspan="2" {{!}} '''Assignment''' | |||
}} | |||
|- | |- | ||
{{#if: {{{role|}}}| | {{#if: {{{role|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Role | ||
{{!}} | {{!}} class="ibright" {{!}} | ||
{{{ | {{{role}}} | ||
}} | |||
|- | |||
{{#if: {{{unit|}}}| | |||
{{!}} class="ibleft" {{!}} Unit | |||
{{!}} class="ibright" {{!}} [[{{{unit}}}]] | |||
}} | |||
|- | |- | ||
{{#if: {{{taskforce|}}}| | {{#if: {{{taskforce|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Task Force | ||
{{!}} | {{!}} class="ibright" {{!}} [[{{{taskforce}}}]] | ||
{{{taskforce}}} }} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{taskgroup|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Task Group | ||
{{!}} | {{!}} class="ibright" {{!}} [[{{{taskforce}}}#{{{taskgroup}}}|{{{taskgroup}}}]] | ||
{{{ | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{squadron|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Squadron | ||
{{!}} | {{!}} class="ibright" {{!}} [[{{{squadron}}}]] | ||
{{{ | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{co|}}}{{{xo|}}}{{{crew|}}}| | ||
{{ | {{!}} class="ibheader" colspan="2" {{!}} '''Personnel''' | ||
{{!}} | }} | ||
|- | |- | ||
{{#if: {{{co|}}}{{{ | {{#if: {{{co|}}}| | ||
{{!}} | {{!}} class="ibleft" {{!}} Commanding Officer | ||
}} | {{!}} class="ibright" {{!}} {{{co}}} | ||
}} | |||
|- | |- | ||
{{#if: {{{ | {{#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>[[Category:Starbases]] | <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> | ||
==Starbase== | |||
To be used when creating a starbase article | |||
<pre> | <pre> | ||
{{Starbase | {{Starbase | ||
| name = | | name = | ||
| image = ( | | image = | ||
| | | registry = | ||
| | | class = (a proper class link will need to go in here for now) | ||
| | | affiliation = | ||
| | | status = (Active/Decommissioned/Destroyed) | ||
| | | commissioned = | ||
| quadrant = | | decommissioned = | ||
| role = | | destroyed = | ||
| | | system = | ||
| | | sector = | ||
| | | region = | ||
| co = | | 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 = | | crew = | ||
| dedication = | | dedication = | ||
}}</pre> | }}</pre> | ||
{{clear}} | |||
< | ==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
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 | unit = | taskforce = | taskgroup = | squadron = | co = Depends on the day of the week really | xo = | crew = The Never Ending Rave! | dedication = }}