Difference between revisions of "Template:Infobox ships"
From NSV13
Jump to navigationJump to searchBokkiewokkie (talk | contribs) (adds an infobox for unique ship pages!) |
Bokkiewokkie (talk | contribs) (Don't lock image size) |
||
Line 4: | Line 4: | ||
|bodystyle = background:{{{bgcolor|#dddddd}}}; | |bodystyle = background:{{{bgcolor|#dddddd}}}; | ||
|above = {{{name|<includeonly>{{PAGENAME}}</includeonly><noinclude>Page Title</noinclude>}}} | |above = {{{name|<includeonly>{{PAGENAME}}</includeonly><noinclude>Page Title</noinclude>}}} | ||
− | |image = <includeonly>{{#if:{{{image|}}}|[[File:{{{image}}} | + | |image = <includeonly>{{#if:{{{image|}}}|[[File:{{{image}}}]]}}</includeonly><noinclude>[[File:Towercap.png|64px]]</noinclude> |
|caption = {{{caption|}}} | |caption = {{{caption|}}} | ||
|header1 = Information | |header1 = Information |
Revision as of 17:19, 5 June 2022
Page Title | |
---|---|
Information | |
Class | N/A |
Threat level | N/A |
Faction | unaligned |
Reported Encounters |
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. |