Difference between revisions of "Template:Infobox ships"
From NSV13
Jump to navigationJump to searchBokkiewokkie (talk | contribs) (Don't lock image size) |
Bokkiewokkie (talk | contribs) m (hide encounter header when not used) |
||
Line 3: | Line 3: | ||
|headerstyle = background:{{{headerbgcolor|#bbbbbb}}};color:{{{headerfontcolor|#000000}}}; | |headerstyle = background:{{{headerbgcolor|#bbbbbb}}};color:{{{headerfontcolor|#000000}}}; | ||
|bodystyle = background:{{{bgcolor|#dddddd}}}; | |bodystyle = background:{{{bgcolor|#dddddd}}}; | ||
+ | |autoheaders = y | ||
|above = {{{name|<includeonly>{{PAGENAME}}</includeonly><noinclude>Page Title</noinclude>}}} | |above = {{{name|<includeonly>{{PAGENAME}}</includeonly><noinclude>Page Title</noinclude>}}} | ||
|image = <includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}]]}}</includeonly><noinclude>[[File:Towercap.png|64px]]</noinclude> | |image = <includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}]]}}</includeonly><noinclude>[[File:Towercap.png|64px]]</noinclude> |
Revision as of 17:24, 5 June 2022
Page Title | |
---|---|
Information | |
Class | N/A |
Threat level | N/A |
Faction | unaligned |
Template documentation
Infobox for unique ship pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header Color | headerbgcolor | Text header color, Takes css-valid color constants
| String | required |
Header Font Color | headerfontcolor | Header text color, Takes css-valid color constants
| String | optional |
Background Color | bgcolor | Background of the majority of the template, Takes css-valid color constants
| Unknown | suggested |
Name | name | Header Content
| String | deprecated |
Image | image | Ship image
| File | suggested |
Image Caption | caption | no description | Unknown | optional |
Class | class | What ship class the ship falls under.
| String | suggested |
Threat level | threat | How dangerous this ship usually is in a hostile encounter.
| String | suggested |
Faction | faction | Faction the ship represents on the overmap.
| String | suggested |
Captain | captain | The captain of this vessel.
| String | optional |
Reported Encounters | encounters | All of the reported encounters the vessel has been in. (currently WIP)
| String | optional |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |