Template:Infobox wormhole line/doc: Difference between revisions
Jump to navigation
Jump to search
(create) |
(update) |
||
Line 62: | Line 62: | ||
| <code>native_name</code> || No || Non-English name of wormhole line | | <code>native_name</code> || No || Non-English name of wormhole line | ||
|- | |- | ||
| <code>native_name_lang</code> || No | | | <code>native_name_lang</code> || No || ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead | ||
|- | |- | ||
| <code>color</code> || No || Color of wormhole line (6-digit hex code without "#") | | <code>color</code> || No || Color of wormhole line (6-digit hex code without "#") |
Latest revision as of 13:00, 6 September 2023
![]() | This is a documentation subpage for Template:Infobox wormhole line. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
Usage
{{Infobox wormhole line}} is used for wormhole lines.
{{{name}}} | |||
---|---|---|---|
Overview | |||
Other name(s) | {{{other_name}}} | ||
Native name | {{{native_name}}} | ||
Status | {{{status}}} | ||
Termini |
| ||
Continues from | {{{continuesfrom}}} | ||
Continues as | {{{continuesas}}} | ||
Connecting lines | {{{connectinglines}}} | ||
Former connections | {{{formerconnections}}} | ||
Stations | {{{stations}}} | ||
Service | |||
Services | {{{routes}}} | ||
History | |||
Discovered | {{{yearcommenced}}} | ||
Technical | |||
Line length | {{{linelength_ly}}} | ||
|
{{Infobox wormhole line
| box_width =
| name =
| other_name =
| native_name =
| native_name_lang =
| color =
| status =
| start =
| end =
| stations =
| yearcommenced = <!--{{Start date|YYYY|MM|DD|df=y}}-->
| linelength_ly =
| linelength_pc =
| linelength =
| map =
| map_name = map_name
| map_state = uncollapsed
| embedded =
}}
Parameters
Parameter | Required | Definition |
---|---|---|
box_width |
No | Width of infobox, default: 25em; Note: use auto for automatic width (nb long image captions will not wrap if |box_width=auto is specified)
|
name |
No | Name of wormhole line; default:Article Name |
other_name |
No | Alternative name of wormhole line |
native_name |
No | Non-English name of wormhole line |
native_name_lang |
No | ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead |
color |
No | Color of wormhole line (6-digit hex code without "#") |
start |
No | Name of starting station/junction |
end |
No | Name of ending station/junction |
stations |
No | Number of stations/stops |
History | ||
yearcommenced |
No | Year the wormhole was discovered |
Technical | ||
linelength_ly |
No | Length of the line length in light years: auto-converts to parsecs |
linelength_pc |
No | Length of the line length in parsecs: auto-converts to light years |
linelength |
No | Use as an alternative to the auto-conversion parameters or for extra info |
mapcolour mapcolor |
No | The colour or color of the line on route maps; Use either mapcolour for colour or mapcolor for color, but not both
|
mapcolourlink mapcolorlink |
No | The name of an article for wikilinking the word "map" in the mapcolour and mapcolor field label
|
map |
No | Map of line |
map_name |
No | Title of map; default: Route map |
map_state |
No | Shows or hides map. Use show or collapsed
|
embedded |
No | Use to embed other infobox templates in this one |
Examples
Basic
Alpha Line | |||
---|---|---|---|
Overview | |||
Other name(s) | Line Alpha | ||
Termini |
| ||
Stations | 15 | ||
Technical | |||
Line length | 13.8 pc (45 ly) | ||
|
Junction
Centauri Capella | |
---|---|
Overview | |
Connecting lines |
{{Infobox wormhole line
| name = Centauri Capella
| start =
| end =
| stations =
| connectinglines = {{Plainlist|
* [[Another Line]]
* [[Another 2 Line]]
}}
}}
Including a route diagram
A route diagram (based on template {{BS-map}})) can be included via |map=
. It can be composed right in this template (see first example), or it can be a complete template like |map={{Centauri Capella Line}}
(second example).
Note that parameter |inline=
must be set to a non-empty value, like {{BS-map|inline=yes}}.
{{Infobox wormhole line
| map =
{{BS-map
|title=Centauri Capella Line
|map=
{{BS2|fKDSTa|||[[Alpha Centauri system|Alpha Centauri]]}}
{{BS2|fBHF|||[[Sol system|Sol]]}}
{{BS2|fKDSTe|||[[Capella system|Capella]]}}
}}
}} |
| |||||||||||||||||||||||||||
{{Infobox wormhole line
| map = {{Centauri Capella Line map}}
}} |
|
Tracking categories
Added by this template:
Added by supporting template:
See also
- Template:Infobox station for space stations stations