Difference between pages "File:Dhelan2.png" and "Template:StarshipTest"

From Bravo Fleet
(Difference between pages)
 
 
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" {{!}} '''{{{prefix}}}''' '''''{{{name}}}'''''|
 +
        {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{prefix}}}''' '''''{{{name}}}'''''
 +
}}
 +
|-
 +
| class="ibheader" colspan="2" | '''General Information'''
 +
|-
 +
{{#if: {{{registry|}}}|
 +
{{!}} class="ibleft" {{!}} Registry
 +
{{!}} class="ibright" {{!}} {{{registry}}}
 +
}}
 +
|-
 +
{{#if: {{{displayclass|}}}|
 +
{{!}} class="ibleft" {{!}} Class & Type
 +
{{!}} class="ibright" {{!}} {{{displayclass}}}
 +
}}
 +
|-
 +
{{#if: {{{affiliation|}}}|
 +
{{!}} class="ibleft" {{!}} Affiliation
 +
{{!}} class="ibright" {{!}} {{{affiliation}}}
 +
}}
 +
|-
 +
{{#if: {{{status|}}}|
 +
{{!}} class="ibleft" {{!}} Status
 +
{{!}} class="ibright" {{!}} {{{status}}}
 +
}}
 +
|-
 +
{{#if: {{{commission|}}}|
 +
{{!}} class="ibleft" {{!}} Commissioned
 +
{{!}} class="ibright" {{!}} {{{commission}}}
 +
}}
 +
|-
 +
{{#if: {{{decommission|}}}|
 +
{{!}} class="ibleft" {{!}} Decommissioned
 +
{{!}} class="ibright" {{!}} {{{decommission}}}
 +
}}
 +
|-
 +
{{#if: {{{destroyed|}}}|
 +
{{!}} class="ibleft" {{!}} Destroyed
 +
{{!}} class="ibright" {{!}} {{{destroyed}}}
 +
}}
 +
|-
 +
| class="ibheader" colspan="2" | '''Assignment'''
 +
|-
 +
{{#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" {{!}} {{{taskgroup}}}
 +
}}
 +
|-
 +
{{#if: {{{squadron|}}}|
 +
{{!}} class="ibleft" {{!}} Squadron
 +
{{!}} class="ibright" {{!}} {{{squadron}}}
 +
}}
 +
|-
 +
{{#if: {{{mothership|}}}|
 +
{{!}} class="ibleft" {{!}} Mothership
 +
{{!}} class="ibright" {{!}} {{{mothership}}}
 +
}}
 +
|-
 +
{{#if: {{{homeport|}}}|
 +
{{!}} class="ibleft" {{!}} Home Port
 +
{{!}} class="ibright" {{!}} {{{homeport}}}
 +
}}
 +
|-
 +
{{#if: {{{role|}}}|
 +
{{!}} class="ibleft" {{!}} Role
 +
{{!}} class="ibright" {{!}} {{{role}}}
 +
}}
 +
|-
 +
{{#if: {{{quadrant|}}}|
 +
{{!}} class="ibleft" {{!}} Quadrant
 +
{{!}} class="ibright" {{!}} {{{quadrant}}}
 +
}}
 +
|-
 +
{{#if: {{{co|}}}|
 +
{{!}} class="ibheader" colspan="2" {{!}} '''Key Personnel'''
 +
}}
 +
|-
 +
{{#if: {{{co|}}}|
 +
{{!}} class="ibleft" {{!}} Commanding Officer
 +
{{!}} class="ibright" {{!}} {{{co}}}
 +
}}
 +
|-
 +
{{#if: {{{xo|}}}|
 +
{{!}} class="ibleft" {{!}} Executive Officer
 +
{{!}} class="ibright" {{!}} {{{xo}}}
 +
}}
 +
|-
 +
{{#if: {{{dedication|}}}|
 +
{{!}} class="ibheader" colspan="2" {{!}} {{{dedication}}}
 +
}}
 +
|-
 +
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:StarshipTest]]
 +
|}
 +
</div>
 +
<includeonly>
 +
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starships]][[Category:{{{class}}}-class]]{{DEFAULTSORT:{{{name}}}}}
 +
}}
 +
</includeonly><noinclude>
 +
==Starship==
 +
This infobox exists for the purposes of providing a uniform and consistent method for displaying starship information on a wiki article. The code snippet below should be copied in it's entirety and set at the top of a page. For rows with no values, simply leave the line blank and it will not render in the final infobox.
 +
===Notes===
 +
*name - Just enter in the name, no need for formatting
 +
*class - Just type in the class name, which sets the category
 +
*displayclass - What will appear in the infobox, i.e. Odyssey-class explorer.
 +
*co - This can be linked to a BFMS character page
 +
*xo - This can be linked to a BFMS character page
 +
*unit - Only use for RPGs--use Fourth Fleet Expeditionary Group
 +
*squadron - only use as applicable
 +
<pre>
 +
{{StarshipTest
 +
| name = (just put the name here)
 +
| prefix = (SS, USS, IKS etc)
 +
| image =
 +
| registry =
 +
| class =
 +
| displayclass =
 +
| affiliation =
 +
| status = (Active/Retired/NPC/Destroyed)
 +
| commission =
 +
| decommission =
 +
| destroyed =
 +
| unit = (only for RPGs -- use Fourth Fleet Expeditionary Group)
 +
| mothership = (only for Aquarius escorts for their Odyssey motherships)
 +
| homeport = (only supply for station attached ships)
 +
| 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)
 +
| quadrant =
 +
| role =
 +
| co =
 +
| xo =
 +
| dedication = (image of ships dedication plague to be added here)
 +
}}</pre>
 +
{{clear}}
 +
==Example==
 +
{{StarshipTest
 +
| name = Galaxy
 +
| prefix = USS
 +
| image = [[file:Galaxyclass.png]]
 +
| registry = NCC-72000
 +
| class = Galaxy
 +
| displayclass =  [[Galaxy Class|''Galaxy''-class explorer]]
 +
| affiliation = [[Starfleet]]
 +
| status = Active
 +
| commission = 2358
 +
| decommission =
 +
| destroyed =
 +
| unit =
 +
| taskforce = Task Force 99
 +
| taskgroup = Task Group 66
 +
| squadron =  Galaxy Squadron
 +
| mothership =
 +
| homeport =
 +
| quadrant = Beta Quadrant
 +
| role = Flagship
 +
| co = Captain Bob
 +
| xo = Commander Stacey
 +
| templatemode = nocats
 +
}}
 +
The following code produced the infobox to the right.
 +
<pre>
 +
{{StarshipTest
 +
| name = Galaxy
 +
| prefix = USS
 +
| image = [[file:Galaxyclass.png]]
 +
| registry = NCC-72000
 +
| class = Galaxy
 +
| displayclass =  [[Galaxy Class|''Galaxy''-class explorer]]
 +
| affiliation = [[Starfleet]]
 +
| status = Active
 +
| commission = 2358
 +
| decommission =
 +
| destroyed =
 +
| unit =
 +
| taskforce = Task Force 99
 +
| taskgroup = Task Group 66
 +
| squadron =  Galaxy Squadron
 +
| mothership =
 +
| homeport =
 +
| quadrant = Beta Quadrant
 +
| role = Flagship
 +
| co = Captain Bob
 +
| xo = Commander Stacey
 +
}}
 +
</pre>
 +
[[Category:Infobox Templates]]{{clear}}
 +
</noinclude>

Latest revision as of 20:47, 21 December 2022

{{{prefix}}} {{{name}}}
General Information
Assignment
Template:StarshipTest

Starship

This infobox exists for the purposes of providing a uniform and consistent method for displaying starship information on a wiki article. The code snippet below should be copied in it's entirety and set at the top of a page. For rows with no values, simply leave the line blank and it will not render in the final infobox.

Notes

  • name - Just enter in the name, no need for formatting
  • class - Just type in the class name, which sets the category
  • displayclass - What will appear in the infobox, i.e. Odyssey-class explorer.
  • co - This can be linked to a BFMS character page
  • xo - This can be linked to a BFMS character page
  • unit - Only use for RPGs--use Fourth Fleet Expeditionary Group
  • squadron - only use as applicable
{{StarshipTest
| name = (just put the name here)
| prefix = (SS, USS, IKS etc)
| image = 
| registry = 
| class = 
| displayclass = 
| affiliation = 
| status = (Active/Retired/NPC/Destroyed)
| commission = 
| decommission = 
| destroyed =
| unit = (only for RPGs -- use Fourth Fleet Expeditionary Group)
| mothership = (only for Aquarius escorts for their Odyssey motherships)
| homeport = (only supply for station attached ships)
| 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)
| quadrant = 
| role = 
| co = 
| xo = 
| dedication = (image of ships dedication plague to be added here)
}}

Example

Galaxyclass.png
USS Galaxy
General Information
Registry NCC-72000
Class & Type Galaxy-class explorer
Affiliation Starfleet
Status Active
Commissioned 2358
Assignment
Task Force Task Force 99
Task Group Task Group 66
Squadron Galaxy Squadron
Role Flagship
Quadrant Beta Quadrant
Key Personnel
Commanding Officer Captain Bob
Executive Officer Commander Stacey
Template:StarshipTest


The following code produced the infobox to the right.

{{StarshipTest
| name = Galaxy
| prefix = USS
| image = [[file:Galaxyclass.png]]
| registry = NCC-72000
| class = Galaxy
| displayclass =  [[Galaxy Class|''Galaxy''-class explorer]]
| affiliation = [[Starfleet]]
| status = Active
| commission = 2358
| decommission = 
| destroyed = 
| unit =
| taskforce = Task Force 99
| taskgroup = Task Group 66
| squadron =  Galaxy Squadron
| mothership =
| homeport = 
| quadrant = Beta Quadrant
| role = Flagship
| co = Captain Bob
| xo = Commander Stacey
}}


File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current21:54, 10 October 2022Thumbnail for version as of 21:54, 10 October 2022533 × 300 (269 KB)Teylasramar (talk | contribs)

There are no pages that use this file.

Metadata