Difference between revisions of "Template:Infobox ships"

From NSV13
Jump to navigationJump to search
m (hide encounter header when not used)
m (me being a dumbass)
 
Line 17: Line 17:
 
|  data5 = {{{captain|}}}
 
|  data5 = {{{captain|}}}
 
|header6 = Reported Encounters
 
|header6 = Reported Encounters
data6 = {{{encounters|}}}
+
data7 = {{{encounters|}}}
 
}}
 
}}
 
<noinclude>{{documentation|content=
 
<noinclude>{{documentation|content=

Latest revision as of 18:25, 5 June 2022

Page Title
Towercap.png
Information
ClassN/A
Threat levelN/A
Factionunaligned
Template documentation

Infobox for unique ship pages.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Header Colorheaderbgcolor

Text header color, Takes css-valid color constants

Default
#bbbbbb
Example
grey, #ff00ff, #abc
Auto value
#bbbbbb
Stringrequired
Header Font Colorheaderfontcolor

Header text color, Takes css-valid color constants

Default
#000000
Example
grey, #ff00ff, #abc
Auto value
Stringoptional
Background Colorbgcolor

Background of the majority of the template, Takes css-valid color constants

Default
#dddddd
Example
grey, #ff00ff, #abc
Unknownsuggested
Namename

Header Content

Default
{{PAGENAME}}
Stringdeprecated
Imageimage

Ship image

Example
Syndicateinterceptor.png
Filesuggested
Image Captioncaption

no description

Unknownoptional
Classclass

What ship class the ship falls under.

Default
N/A
Example
Frigate, Capital, cruiser, fighter.
Stringsuggested
Threat levelthreat

How dangerous this ship usually is in a hostile encounter.

Default
N/A
Example
Extremely low, high, unknown
Stringsuggested
Factionfaction

Faction the ship represents on the overmap.

Default
unaligned
Example
Syndicate, Nanotrasen, SolGov.
Stringsuggested
Captaincaptain

The captain of this vessel.

Default
N/A
Example
Henry Trasen (John Trasen's evil twin brother)
Stringoptional
Reported Encountersencounters

All of the reported encounters the vessel has been in. (currently WIP)

Default
N/A
Example
[[#2106 Battle for sol]]
Stringoptional