Template:Starbase: Difference between revisions
Template page
More actions
m Protected "Template:Starbase" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
m Fixing the class link because it's been bugging me for ages and adding in class category magic too |
||
| Line 7: | Line 7: | ||
<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></data> | <data source="class"><label>Class</label><format>[[{{{class}}} Class|''{{{class}}}''-class]]</format></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 32: | Line 32: | ||
<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 -->}}{{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> | ||
Revision as of 17:00, 15 July 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 =
}}