Template:Sidebar facility: Difference between revisions

From Starfleet Command
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{| class="infobox"
{| class="infobox"
|colspan="2"| {{{image|[[File:Shipyard.jpg|300px]]}}}
|-
|-
|colspan="2"| {{{image|[[Image:No Photo Available.jpg|300px]]}}}
!colspan="2" class="infoboxname"|{{{classname|classname}}}
 
|-
|-
! colspan="2" | {{{Name}}}
{{#if: {{{category|}}}{{{years|}}}{{{constructed|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Class Overview}}
|-
|-
|- class="infoboxrow"
{{#if: {{{category|}}}|
|Class||{{{Class|}}}
{{!}}- class="infoboxrow"
{{!}} Category
{{!}} {{{category}}}}}
{{#if: {{{years|}}}|
{{!}}- class="infoboxrow"
{{!}} Operational
{{!}} {{{years}}}}}
{{#if: {{{constructed|}}}|
{{!}}- class="infoboxrow"
{{!}} Constructed
{{!}} {{{constructed}}}}}
|-
|-
|- class="infoboxrow"
{{#if: {{{length|}}}{{{beam|}}}{{{height|}}}{{{mass|}}}|
|Native Species||{{{Native Species|}}}
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Dimensions}}
|-
|-
|- class="infoboxrow"
{{#if: {{{length|}}}|
|World Status||{{{World Status|}}}
{{!}}- class="infoboxrow"
{{!}} Length
{{!}} {{{length}}}}}
{{#if: {{{beam|}}}|
{{!}}- class="infoboxrow"
{{!}} Beam
{{!}} {{{beam}}}}}
{{#if: {{{height|}}}|
{{!}}- class="infoboxrow"
{{!}} Height
{{!}} {{{height}}}}}
{{#if: {{{mass|}}}|
{{!}}- class="infoboxrow"
{{!}} Mass
{{!}} {{{mass}}}}}
|-
|-
|- class="infoboxrow"
{{#if: {{{cruisespeed|}}}{{{maxspeed|}}}{{{endurance|}}}|
|Affiliation||{{{Affiliation|}}}
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Performance}}
|-
|-
|- class="infoboxrow"
{{#if: {{{cruisespeed|}}}|
|Location||{{{Location|}}}
{{!}}- class="infoboxrow"
{{!}} Cruise Speed
{{!}} {{{cruisespeed}}}}}
{{#if: {{{maxspeed|}}}|
{{!}}- class="infoboxrow"
{{!}} Max Speed
{{!}} {{{maxspeed}}}}}
{{#if: {{{endurance|}}}|
{{!}}- class="infoboxrow"
{{!}} Endurance
{{!}} {{{endurance}}}}}
|-
|-
|- class="infoboxrow"
{{#if: {{{officers|}}}{{{enlisted|}}}{{{crew|}}}{{{troops|}}}{{{passengers|}}}{{{patients|}}}{{{cargo|}}}|
|Sector||{{{Sector|}}}
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Personnel}}
|-
|-
|- class="infoboxrow"
{{#if: {{{officers|}}}|
|Quadrant||{{{Quadrant|}}}
{{!}}- class="infoboxrow"
{{!}} Officers
{{!}} {{{officers}}}}}
{{#if: {{{enlisted|}}}|
{{!}}- class="infoboxrow"
{{!}} Enlisted
{{!}} {{{enlisted}}}}}
{{#if: {{{crew|}}}|
{{!}}- class="infoboxrow"
{{!}} Crew
{{!}} {{{crew}}}}}
{{#if: {{{troops|}}}|
{{!}}- class="infoboxrow"
{{!}} Troops
{{!}} {{{troops}}}}}
{{#if: {{{passengers|}}}|
{{!}}- class="infoboxrow"
{{!}} Passengers
{{!}} {{{passengers}}}}}
{{#if: {{{patients|}}}|
{{!}}- class="infoboxrow"
{{!}} Patients
{{!}} {{{patients}}}}}
{{#if: {{{cargo|}}}|
{{!}}- class="infoboxrow"
{{!}} Cargo
{{!}} {{{cargo}}}}}
|-
{{#if: {{{beamweapons|}}}{{{missileweapons|}}}{{{otherweapons|}}}{{{shields|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Tactical Systems}}
|-
{{#if: {{{beamweapons|}}}|
{{!}}- class="infoboxrow"
{{!}} Beam Weapons
{{!}} {{{beamweapons}}}}}
{{#if: {{{missileweapons|}}}|
{{!}}- class="infoboxrow"
{{!}} Missile Weapons
{{!}} {{{missileweapons}}}}}
{{#if: {{{otherweapons|}}}|
{{!}}- class="infoboxrow"
{{!}} Other Weapons
{{!}} {{{otherweapons}}}}}
{{#if: {{{shields|}}}|
{{!}}- class="infoboxrow"
{{!}} Shields
{{!}} {{{shields}}}}}
|-
{{#if: {{{Laboratories|}}}{{{Auxiliary Craft|}}}{{{Transporters|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Operations Systems}}
|-
{{#if: {{{labs|}}}|
{{!}}- class="infoboxrow"
{{!}} Laboratories
{{!}} {{{labs}}}}}
{{#if: {{{transporters|}}}|
{{!}}- class="infoboxrow"
{{!}} Transporters
{{!}} {{{transporters}}}}}
{{#if: {{{auxcraft|}}}|
{{!}}- class="infoboxrow"
{{!}} Auxiliary Craft
{{!}} {{{auxcraft}}}}}
|-
{{#if: {{{historicalships|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Historical}}
|-
{{#if: {{{historicalships|}}}|
{{!}}- class="infoboxrow"
{{!}} Ships of Note
{{!}} {{{historicalships}}}}}
|-
{{#if: {{{design|}}}{{{name|}}}{{{history|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Canonicity}}
|-
{{#if: {{{design|}}}|
{{!}}- class="infoboxrow"
{{!}} Design
{{!}} {{{design}}}}}
{{#if: {{{name|}}}|
{{!}}- class="infoboxrow"
{{!}} Name
{{!}} {{{name}}}}}
{{#if: {{{history|}}}|
{{!}}- class="infoboxrow"
{{!}} History
{{!}} {{{history}}}}}
|}
|}
</includeonly>
 


<noinclude>
<noinclude>
<pre>
==Usage instructions==
{Sidebar facility
*Copy and paste the following code into the top of the article, filling the appropriate fields.
|Name=
**If a field is unknown, leave it blank.
|AffiliationImage=
**For the '''image''' field, just the <u>name</u> of the image is sufficient. e.g., ''Example.jpg'', ''Example.png'', etc. The choices are:
|Class=
*** No Photo (text): '''Image:No Photo Available.jpg'''
|Native Species=
*** Shipyard (icon): '''File:Shipyard.jpg'''
|World Status=
 
|Affiliation=
 
|Location=
<code class="block">&#123;{Sidebar Guide ship<br/>
|Sector=
|image=<nowiki>[[Image:No Photo Available.jpg|250px|'''InsertAltTextHere''']]</nowiki><br/>
|Quadrant=
|classname=<br/>
}}
|category=<br/>
</pre>
|years=<br/>
|constructed=<br/>
|length=<br/>
|beam=<br/>
|height=<br/>
|mass=<br/>
|cruisespeed=<br/>
|maxspeed=<br/>
|endurance=<br/>
|officers=<br/>
|enlisted=<br/>
|troops=<br/>
|passengers=<br/>
|patients=<br/>
|crew=<br/>
|cargo=<br/>
|beamweapons=<br/>
|missileweapons=<br/>
|otherweapons=<br/>
|shields=<br/>
|labs=<br/>
|transporters=<br/>
|auxcraft=<br/>
|historicalships=<br/>
|design=<br/>
|name=<br>
|history=<br/>
}}<br/>
 
<nowiki>[[Image:No Photo Available.jpg|left|300px|thumb|text]]</nowiki>
 
<nowiki>==Gallery==</nowiki><br>
<nowiki><gallery></nowiki><br>
<nowiki></gallery></nowiki>
 
 
<nowiki>----</nowiki><br>
<nowiki>*[[Timo's Guide to Starfleet|Back to the Table of Contents]]</nowiki><br>
<nowiki>*[[Chapter Title (Guide)|Chapter Title]]</nowiki><br>
<nowiki>*[[Of Ship Statistics (Guide)|Appendix A: Of Ship Statistics]]</nowiki><br>
<nowiki>*[[Glossary (Guide)|Appendix B: Glossary]]</nowiki><br>
<nowiki>*[[Starfleet Organization - General Outline (Guide)|Appendix C: Starfleet Organization - General Outline]]</nowiki><br>
<nowiki>*[[Abbreviations From Outside (Guide)|Appendix D: Abbreviations From Outside]]</nowiki><br>


<nowiki>[[Category:Guide|{{PAGENAME}}]]
</nowiki>
</code>


<noinclude>
[[Category:Sidebar templates|{{PAGENAME}}]]
[[Category:Sidebar templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 12:25, 21 October 2014

File:Shipyard.jpg
classname


Usage instructions

  • Copy and paste the following code into the top of the article, filling the appropriate fields.
    • If a field is unknown, leave it blank.
    • For the image field, just the name of the image is sufficient. e.g., Example.jpg, Example.png, etc. The choices are:
      • No Photo (text): Image:No Photo Available.jpg
      • Shipyard (icon): File:Shipyard.jpg


{{Sidebar Guide ship
|image=[[Image:No Photo Available.jpg|250px|'''InsertAltTextHere''']]
|classname=
|category=
|years=
|constructed=
|length=
|beam=
|height=
|mass=
|cruisespeed=
|maxspeed=
|endurance=
|officers=
|enlisted=
|troops=
|passengers=
|patients=
|crew=
|cargo=
|beamweapons=
|missileweapons=
|otherweapons=
|shields=
|labs=
|transporters=
|auxcraft=
|historicalships=
|design=
|name=
|history=
}}

[[Image:No Photo Available.jpg|left|300px|thumb|text]]

==Gallery==
<gallery>
</gallery>


----
*[[Timo's Guide to Starfleet|Back to the Table of Contents]]
*[[Chapter Title (Guide)|Chapter Title]]
*[[Of Ship Statistics (Guide)|Appendix A: Of Ship Statistics]]
*[[Glossary (Guide)|Appendix B: Glossary]]
*[[Starfleet Organization - General Outline (Guide)|Appendix C: Starfleet Organization - General Outline]]
*[[Abbreviations From Outside (Guide)|Appendix D: Abbreviations From Outside]]

[[Category:Guide|{{PAGENAME}}]]