Template:Sidebar facility: Difference between revisions

From Starfleet Command
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
|colspan="2"| {{{image|[[Image:No Photo Available.jpg|300px]]}}}  
|colspan="2"| {{{image|[[Image:No Photo Available.jpg|250px]]}}}  
|-
|-
!colspan="2" class="infoboxname"|{{{facilityname|facilityname}}}
!colspan="2" class="infoboxname"|{{{facilityname|facilityname}}}
|-
|-
{{#if: {{{category|}}}{{{years|}}}{{{constructed|}}}|
{{#if: {{{location|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Class Overview}}
|-
{{#if: {{{category|}}}|
{{!}}- class="infoboxrow"
{{!}}- class="infoboxrow"
{{!}} Category
{{!}} Location
{{!}} {{{category}}}}}
{{!}} {{{location}}}}}
{{#if: {{{years|}}}|
{{!}}- class="infoboxrow"
{{!}} Operational
{{!}} {{{years}}}}}
{{#if: {{{constructed|}}}|
{{!}}- class="infoboxrow"
{{!}} Constructed
{{!}} {{{constructed}}}}}
|-
|-
{{#if: {{{length|}}}{{{beam|}}}{{{height|}}}{{{mass|}}}|
{{#if: {{{affiliation|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Dimensions}}
|-
{{#if: {{{length|}}}|
{{!}}- class="infoboxrow"
{{!}}- class="infoboxrow"
{{!}} Length
{{!}} Affiliation
{{!}} {{{length}}}}}
{{!}} {{{affiliation}}}}}
{{#if: {{{beam|}}}|
{{!}}- class="infoboxrow"
{{!}} Beam
{{!}} {{{beam}}}}}
{{#if: {{{height|}}}|
{{!}}- class="infoboxrow"
{{!}} Height
{{!}} {{{height}}}}}
{{#if: {{{mass|}}}|
{{!}}- class="infoboxrow"
{{!}} Mass
{{!}} {{{mass}}}}}
|-
|-
{{#if: {{{cruisespeed|}}}{{{maxspeed|}}}{{{endurance|}}}|
{{#if: {{{type|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Performance}}
|-
{{#if: {{{cruisespeed|}}}|
{{!}}- class="infoboxrow"
{{!}}- class="infoboxrow"
{{!}} Cruise Speed
{{!}} type
{{!}} {{{cruisespeed}}}}}
{{!}} {{{type}}}}}
{{#if: {{{maxspeed|}}}|
{{!}}- class="infoboxrow"
{{!}} Max Speed
{{!}} {{{maxspeed}}}}}
{{#if: {{{endurance|}}}|
{{!}}- class="infoboxrow"
{{!}} Endurance
{{!}} {{{endurance}}}}}
|-
{{#if: {{{officers|}}}{{{enlisted|}}}{{{crew|}}}{{{troops|}}}{{{passengers|}}}{{{patients|}}}{{{cargo|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Personnel}}
|-
|-
{{#if: {{{officers|}}}|
{{#if: {{{status|}}}|
{{!}}- 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"
{{!}}- class="infoboxrow"
{{!}} Passengers
{{!}} Status
{{!}} {{{passengers}}}}}
{{!}} {{{status}}}}}
{{#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|}}}|
{{#if: {{{operational|}}}|
{{!}}- class="infoboxrow"
{{!}}- class="infoboxrow"
{{!}} Beam Weapons
{{!}} Operational
{{!}} {{{beamweapons}}}}}
{{!}} {{{operational}}}}}
{{#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" {{!}} Characteristics
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Operations Systems}}
|-
|-
{{#if: {{{labs|}}}|
{{#if: {{{capabilities|}}}|
{{!}}- class="infoboxrow"
{{!}} Laboratories
{{!}} {{{labs}}}}}
{{#if: {{{transporters|}}}|
{{!}}- class="infoboxrow"
{{!}} Transporters
{{!}} {{{transporters}}}}}
{{#if: {{{auxcraft|}}}|
{{!}}- class="infoboxrow"
{{!}}- class="infoboxrow"
{{!}} Auxiliary Craft
{{!}} Capabilities:
{{!}} {{{auxcraft}}}}}
{{!}} {{{capabilities}}}}}
|-
|-
{{#if: {{{historicalships|}}}|
! colspan="2" class="infoboxheading" {{!}} Background
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Historical}}
|-
|-
{{#if: {{{historicalships|}}}|
{{#if: {{{cost|}}}|
{{!}}- class="infoboxrow"
{{!}}- class="infoboxrow"
{{!}} Ships of Note
{{!}} Cost (RPs)
{{!}} {{{historicalships}}}}}
{{!}} {{{cost}}}}}
|-
{{#if: {{{design|}}}{{{name|}}}{{{history|}}}|
{{!}}-
! colspan="2" class="infoboxheading" {{!}} Canonicity}}
|-
|-
{{#if: {{{design|}}}|
{{#if: {{{upkeep|}}}|
{{!}}- class="infoboxrow"
{{!}} Design
{{!}} {{{design}}}}}
{{#if: {{{name|}}}|
{{!}}- class="infoboxrow"
{{!}} Name
{{!}} {{{name}}}}}
{{#if: {{{history|}}}|
{{!}}- class="infoboxrow"
{{!}}- class="infoboxrow"
{{!}} History
{{!}} Annual Upkeep (RP)
{{!}} {{{history}}}}}
{{!}} {{{upkeep}}}}}
|}
|}


Line 163: Line 55:
**If a field is unknown, leave it blank.
**If a field is unknown, leave it blank.
**For the '''image''' field, just the <u>name</u> of the image is sufficient. e.g., ''Example.jpg'', ''Example.png'', etc. The choices are:
**For the '''image''' field, just the <u>name</u> of the image is sufficient. e.g., ''Example.jpg'', ''Example.png'', etc. The choices are:
*** No Photo (text): '''Image:No Photo Available.jpg'''
*** No Photo (text): '''No Photo Available.jpg'''
*** Shipyard (icon): '''File:Shipyard.jpg'''
*** Shipyard (ground)(icon): '''Shipyard.png'''
 
*** Starport (ground)(icon): '''Starport.png'''


<code class="block">&#123;{Sidebar Guide ship<br/>
<code class="block">&#123;{Sidebar facility<br/>
|image=<nowiki>[[File:No Photo Available.jpg|250px]]</nowiki><br/>
| image=<nowiki>[[Image:'''image'''|250px]]</nowiki><br/>
|facilityname=<br/>
| facilityname=<br/>
|category=<br/>
| location=<br/>
|years=<br/>
| affiliation=<br/>
|constructed=<br/>
| type=<br/>
|length=<br/>
| status=<br/>
|beam=<br/>
| operational=<br/>
|height=<br/>
| capabilities=<br/>
|mass=<br/>
| cost=<br/>
|cruisespeed=<br/>
| upkeep=<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/>
}}<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>
<noinclude>
[[Category:Sidebar templates|{{PAGENAME}}]]
[[Category:Sidebar templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 06:38, 24 October 2014

facilityname
Characteristics
Background


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): No Photo Available.jpg
      • Shipyard (ground)(icon): Shipyard.png
      • Starport (ground)(icon): Starport.png

{{Sidebar facility
| image=[[Image:'''image'''|250px]]
| facilityname=
| location=
| affiliation=
| type=
| status=
| operational=
| capabilities=
| cost=
| upkeep=
}}