Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Starbase: Difference between revisions

Template page
m Fixing the class link because it's been bugging me for ages and adding in class category magic too
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
</title>
</title>
<image source="image"/>
<image source="image" name="image"/>
<header>General Information</header>
<header>General Information</header>
<data source="registry"><label>Registry</label></data>
<data source="registry"><label>Registry</label></data>
<data source="class"><label>Class</label><format>[[{{{class}}} Class|''{{{class}}}''-class]]</format></data>
<data source="class"><label>Class</label><format>[[{{{class}}} Class|''{{{class}}}''-class]]</format></data>
<data source="complexClass"><label>Class</label></data>
<data source="affiliation"><label>Affiliation</label></data>
<data source="affiliation"><label>Affiliation</label></data>
<data source="status"><label>Status</label></data>
<data source="status"><label>Status</label></data>
Line 13: Line 14:
<data source="decommissioned"><label>Decommissioned</label></data>
<data source="decommissioned"><label>Decommissioned</label></data>
<data source="destroyed"><label>Destroyed</label></data>
<data source="destroyed"><label>Destroyed</label></data>
<header>Location</header>
<header>{{#if:{{{system|}}}{{{sector|}}}{{{region|}}}{{{quadrant|}}}|Location}}</header>
<data source="system"><label>System</label></data>
<data source="system"><label>System</label></data>
<data source="sector"><label>Sector</label></data>
<data source="sector"><label>Sector</label></data>
<data source="region"><label>Region</label></data>
<data source="region"><label>Region</label></data>
<data source="quadrant"><label>Quadrant</label></data>
<data source="quadrant"><label>Quadrant</label></data>
<header>Assignment</header>
<header>{{#if:{{{role|}}}{{{unit|}}}{{{taskforce|}}}{{{taskgroup|}}}{{{squadron|}}}{{{division|}}}|Assignment}}</header>
<data source="role"><label>Role</label></data>
<data source="role"><label>Role</label></data>
<data source="unit"><label>Unit</label></data>
<data source="unit"><label>Unit</label></data>
Line 25: Line 26:
<data source="squadron"><label>Squadron</label><format>[[{{{squadron|}}}]]</format></data>
<data source="squadron"><label>Squadron</label><format>[[{{{squadron|}}}]]</format></data>
<data source="division"><label>Division</label><format>{{#if:{{{squadron|}}}|[[{{{squadron|}}}#{{{division|}}}|{{{division|}}}]]|[[{{{division|}}}]]}}</format></data>
<data source="division"><label>Division</label><format>{{#if:{{{squadron|}}}|[[{{{squadron|}}}#{{{division|}}}|{{{division|}}}]]|[[{{{division|}}}]]}}</format></data>
<header>Personnel</header>
<header>{{#if:{{{co|}}}{{{xo|}}}{{{crew|}}}|Personnel}}</header>
<data source="co"><label>Commanding Officer</label></data>
<data source="co"><label>Commanding Officer</label></data>
<data source="xo"><label>Executive Officer</label></data>
<data source="xo"><label>Executive Officer</label></data>
Line 32: Line 33:
<header name="footer">[[Template:Starbase]]</header>
<header name="footer">[[Template:Starbase]]</header>
</infobox>
</infobox>
{{#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}}}}}
{{#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}}}}}}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Line 53: Line 53:
| image =  
| image =  
| registry =  
| registry =  
| class = (a proper class link will need to go in here for now)
| 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 =  
| affiliation =  
| status = (Active/Decommissioned/Destroyed)
| status = (Active/Decommissioned/Destroyed)
Line 81: Line 82:
| registry =  
| registry =  
| class = Spacedock
| class = Spacedock
| complexClass =
| affiliation = The Eternal Rave
| affiliation = The Eternal Rave
| status = Partying
| status = Partying
Line 107: Line 109:
| registry =  
| registry =  
| class = Spacedock
| class = Spacedock
| complexClass =
| affiliation = The Eternal Rave
| affiliation = The Eternal Rave
| status = Partying
| status = Partying

Latest revision as of 23:20, 7 December 2025


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 = 
}}