Difference between revisions of "Template:Starbase"

Template page
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{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}}}'''
}}
|-
| class="ibheader" colspan="2" | '''Information'''
|-
{{#if: {{{registry|}}}|
{{!}} class="ibleft" {{!}} Registry
{{!}} class="ibright" {{!}} {{{registry}}}
}}
|-
{{#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: {{{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: {{{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|}}}|
{{!}} class="ibleft" {{!}} Role
{{!}} class="ibright" {{!}}
{{{role}}}
}}
|-
{{#if: {{{unit|}}}|
{{!}} class="ibleft" {{!}} Unit
{{!}} class="ibright" {{!}} [[{{{unit}}}]]
}}
|-
{{#if: {{{taskforce|}}}|
{{!}} class="ibleft" {{!}} Task Force
{{!}} class="ibright" {{!}} [[{{{taskforce}}}]]
}}
|-
{{#if: {{{taskgroup|}}}|
{{!}} class="ibleft" {{!}} Task Group
{{!}} class="ibright" {{!}} [[{{{taskforce}}}#{{{taskgroup}}}|{{{taskgroup}}}]]
}}
|-
{{#if: {{{squadron|}}}|
{{!}} class="ibleft" {{!}} Squadron
{{!}} class="ibright" {{!}} [[{{{squadron}}}]]
}}
|-
{{#if: {{{co|}}}{{{xo|}}}{{{crew|}}}|
{{!}} class="ibheader" colspan="2" {{!}} '''Personnel'''
}}
|-
{{#if: {{{co|}}}|
{{!}} class="ibleft" {{!}} Commanding Officer
{{!}} class="ibright" {{!}} {{{co}}}
}}
|-
{{#if: {{{xo|}}}|
{{!}} class="ibleft" {{!}} Executive Officer
{{!}} class="ibright" {{!}} {{{xo}}}
}}
|-
{{#if: {{{crew|}}}|
{{!}} class="ibleft" {{!}} Station Populations
{{!}} class="ibright" {{!}}
{{{crew}}}
}}
|-
{{#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>
<includeonly>
<includeonly>
<infobox theme="bravo">
<title source="name">
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
</title>
<image source="image"/>
<header>General Information</header>
<data source="registry"><label>Registry</label></data>
<data source="class"><label>Class</label></data>
<data source="affiliation"><label>Affiliation</label></data>
<data source="status"><label>Status</label></data>
<data source="commissioned"><label>Commissioned</label></data>
<data source="decommissioned"><label>Decommissioned</label></data>
<data source="destroyed"><label>Destroyed</label></data>
<header>Location</header>
<data source="system"><label>System</label></data>
<data source="sector"><label>Sector</label></data>
<data source="region"><label>Region</label></data>
<data source="quadrant"><label>Quadrant</label></data>
<header>Assignment</header>
<data source="role"><label>Role</label></data>
<data source="unit"><label>Unit</label></data>
<data source="taskforce"><label>Task Force</label><format>[[{{{taskforce|}}}]]</format></data>
<data source="taskgroup"><label>Task Group</label><format>[[{{{taskforce}}}#{{{taskgroup}}}|{{{taskgroup|}}}]]</format></data>
<data source="squadron"><label>Squadron</label></data>
<data source="division"><label>Division</label></data>
<header>Personnel</header>
<data source="co"><label>Commanding Officer</label></data>
<data source="xo"><label>Executive Officer</label></data>
<data source="crew"><label>Station Populations</label></data>
<image source="dedication"/>
<header name="footer">[[Template:Starbase]]</header>
</infobox>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]]{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}}
{{#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==
==Starbase==
To be used when creating a starbase article
This infobox exists for the purpose of providing a uniform method for displaying starbase information. The code snippet below should be copied in its entirety and set at the top of a new article. For rows with no values, simply leave the line blank and it will not render in the final infobox.
 
==Notes==
*Name - Just enter the squadron's name here. No need for formattig.
*CO - This should be linked for your BFMS character page.
*XO - This should be linked for your BFMS character page.
*Unit - This is only to be used by RPGs and ships belonging to BFSS members. Leave this blank.
*Squadron - Only use this if your BFMS group command consists of 4 or more commands. Otherwise leave blank.
*Division - Use this if your BFMS group command consists of 3 or less commands. Otherwise leave blank.
 
==Code==
<pre>
<pre>
{{Starbase
{{Starbase
Line 157: Line 72:
| crew =  
| crew =  
| dedication =  
| dedication =  
}}</pre>
}}
{{clear}}
</pre>
 
==Example==
==Example==
{{Starbase
{{Starbase
Line 164: Line 80:
| image = [[file:spacedockclass.png]]
| image = [[file:spacedockclass.png]]
| registry =  
| registry =  
| class = [[Spacedock Class|''Spacedock''-class]]
| class = Spacedock
| affiliation = [[Starfleet]], but only because their branding was already all over the place
| affiliation = The Eternal Rave
| status =  
| status = Partying
| commissioned =  
| commissioned =  
| decommissioned =  
| decommissioned =  
Line 174: Line 90:
| region =  
| region =  
| quadrant =  
| quadrant =  
| unit =
| role = Spinning Top of Death
| role = Spinning Top of Death
| unit =  
| unit =  
| taskforce =  
| taskforce = Task Force Kickass
| taskgroup =  
| taskgroup =  
| squadron =  
| squadron =  
Line 186: Line 101:
| templatemode = nocats
| templatemode = nocats
}}
}}
The following code produced the infobox to the right.
<pre>
<pre>
{{Starbase
{{Starbase
Line 192: Line 106:
| image = [[file:spacedockclass.png]]
| image = [[file:spacedockclass.png]]
| registry =  
| registry =  
| class = [[Spacedock Class|''Spacedock''-class]]
| class = Spacedock
| affiliation = [[Starfleet]], but only because their branding was already all over the place
| affiliation = The Eternal Rave
| status =  
| status = Partying
| commissioned =  
| commissioned =  
| decommissioned =  
| decommissioned =  
Line 204: Line 118:
| role = Spinning Top of Death
| role = Spinning Top of Death
| unit =  
| unit =  
| taskforce =  
| taskforce = Task Force Kickass
| taskgroup =  
| taskgroup =  
| squadron =  
| squadron =  
Line 213: Line 127:
}}
}}
</pre>
</pre>
[[Category:Infobox Templates]]{{clear}}
 
 
{{clear}}
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 15:36, 25 May 2024


Starbase

This infobox exists for the purpose of providing a uniform method for displaying starbase information. The code snippet below should be copied in its entirety and set at the top of a new article. For rows with no values, simply leave the line blank and it will not render in the final infobox.

Notes

  • Name - Just enter the squadron's name here. No need for formattig.
  • CO - This should be linked for your BFMS character page.
  • XO - This should be linked for your BFMS character page.
  • Unit - This is only to be used by RPGs and ships belonging to BFSS members. Leave this blank.
  • Squadron - Only use this if your BFMS group command consists of 4 or more commands. Otherwise leave blank.
  • Division - Use this if your BFMS group command consists of 3 or less commands. Otherwise leave blank.

Code

{{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
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| registry = 
| class = Spacedock
| affiliation = The Eternal Rave
| status = Partying
| 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 = Task Force Kickass
| taskgroup = 
| squadron = 
| co = Depends on the day of the week really
| xo = 
| crew = The Never Ending Rave!
| dedication = 
}}