Difference between revisions of "Template:Starbase"

Template page
m (Colour correction)
m
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly>
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom: 0;
<infobox theme="bravo">
{{#if: {{{image|}}}|
<title source="name">
{{!}} 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}}} }}
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
|-
</title>
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{name}}}'''
<image source="image"/>
|-
<header>General Information</header>
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Information'''
<data source="registry"><label>Registry</label></data>
|-
<data source="class"><label>Class</label><format>[[{{{class}}} Class|''{{{class}}}''-class]]</format></data>
{{#if: {{{registry|}}}|
<data source="complexClass"><label>Class</label></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Registry
<data source="affiliation"><label>Affiliation</label></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="status"><label>Status</label></data>
{{{registry}}} }}
<data source="commissioned"><label>Commissioned</label></data>
|-
<data source="decommissioned"><label>Decommissioned</label></data>
{{#if: {{{class|}}}|
<data source="destroyed"><label>Destroyed</label></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Class
<header>{{#if:{{{system|}}}{{{sector|}}}{{{region|}}}{{{quadrant|}}}|Location}}</header>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="system"><label>System</label></data>
{{{class}}} }}
<data source="sector"><label>Sector</label></data>
|-
<data source="region"><label>Region</label></data>
{{#if: {{{comission|}}}|
<data source="quadrant"><label>Quadrant</label></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Year Commissioned
<header>{{#if:{{{role|}}}{{{unit|}}}{{{taskforce|}}}{{{taskgroup|}}}{{{squadron|}}}{{{division|}}}|Assignment}}</header>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="role"><label>Role</label></data>
{{{comission}}} }}
<data source="unit"><label>Unit</label></data>
|-
<data source="taskforce"><label>Task Force</label><format>[[{{{taskforce|}}}]]</format></data>
{{#if: {{{decomission|}}}|
<data source="taskgroup"><label>Task Group</label><format>[[{{{taskforce}}}#{{{taskgroup}}}|{{{taskgroup|}}}]]</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Year Decommissioned
<data source="squadron"><label>Squadron</label><format>[[{{{squadron|}}}]]</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="division"><label>Division</label><format>{{#if:{{{squadron|}}}|[[{{{squadron|}}}#{{{division|}}}|{{{division|}}}]]|[[{{{division|}}}]]}}</format></data>
{{{decomission}}} }}
<header>{{#if:{{{co|}}}{{{xo|}}}{{{crew|}}}|Personnel}}</header>
|-
<data source="co"><label>Commanding Officer</label></data>
{{#if: {{{affiliation|}}}{{{role|}}}{{{taskforce|}}}{{{quadrant|}}}{{{status|}}}|
<data source="xo"><label>Executive Officer</label></data>
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} '''Assignment'''
<data source="crew"><label>Station Populations</label></data>
}}
<image source="dedication"/>
|-
<header name="footer">[[Template:Starbase]]</header>
{{#if: {{{affiliation|}}}|
</infobox>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starbases]]{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{#if: {{{class|}}}|[[Category:{{{class}}}-class]]}}{{DEFAULTSORT:{{{name}}}}}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
</includeonly>
{{{affiliation}}} }}
|-
{{#if: {{{role|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Role
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{role}}} }}
|-
{{#if: {{{taskforce|}}}|
{{!}} 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%;"}}} {{!}}
{{{taskforce}}} }}
|-
{{#if: {{{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%;"}}} {{!}}
{{{quadrant}}} }}
|-
{{#if: {{{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%;"}}} {{!}}
{{{sector}}} }}
|-
{{#if: {{{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%;"}}} {{!}}
{{{system}}} }}
|-
{{#if: {{{co|}}}{{{crew|}}}
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} '''Personnel'''
}}
|-
{{#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|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{co}}} }}
|-
{{#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|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{crew}}} }}
|-
{{#if: {{{dedication|}}}|
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} {{{dedication}}}
}}  
|-
|- 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]]
|}</div>
<includeonly>[[Category:Starbases]]
</includeonly><noinclude>
<noinclude>
<noinclude>
<br clear=all>
==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==
<pre>
<pre>
{{Starbase
{{Starbase
| name =  
| name =  
| image =  
| image =  
| registry =
| registry =  
| class =
| class =  
| commission =
| complexClass = (use this field instead if the class for the starbase is non-standard or multi-lined. You will need to format links appropriately and do category links as well)
| decommission =
| affiliation =
| taskforce =
| status = (Active/Decommissioned/Destroyed)
| quadrant =
| commissioned =
| role =
| decommissioned =
| affiliation =
| destroyed =
| sector =
| system =
| system =
| sector =  
| co =
| 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 =  
| crew =  
| dedication =  
| dedication =  
}}</pre>
}}
</pre>
 
==Example==
{{Starbase
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| registry =
| class = Spacedock
| complexClass =
| 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 =
| templatemode = nocats
}}
<pre>
{{Starbase
| name = Starbase Kickass
| image = [[file:spacedockclass.png]]
| registry =
| class = Spacedock
| complexClass =
| 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 =
}}
</pre>
 


<noinclude>[[Category:Infobox Templates|Starship]]
{{clear}}
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 02:45, 15 November 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 = 
| complexClass = (use this field instead if the class for the starbase is non-standard or multi-lined. You will need to format links appropriately and do category links as well)
| 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
| complexClass = 
| 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 = 
}}