Template:Navbox starships: Difference between revisions
Bwazedilla (talk | contribs) (Created page with "{{Navbox | name = Navbox_starships | title = Starships | state = {{{state|autocollapse}}} | listclass = hlist | group1 = Classes | list1 = * Warship ** Starfighter ** Gunship ** Corvette ** Frigate ** Destroyer ** Cruiser ** Battlecruiser * Trade Ship ** Shuttle ** Transport ** Light Freighter ** Medium Freighter ** Heavy Freighter ** Barge }}<noinclude> {{navbox documentation}} </noinclude>") |
Bwazedilla (talk | contribs) No edit summary |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
| group1 = [[Classes]] | | group1 = [[Classes]] | ||
| list1 = | | list1 = | ||
* | {{Navbox |subgroup | ||
| group1 = Warships | |||
** [[Gunship]] | | list1 = | ||
** [[ | * [[Starfighter]] | ||
** [[Frigate]] | * [[Gunship]] | ||
** [[Destroyer]] | ** [[Tackle Gunship|Tackle]] | ||
** [[Cruiser]] | * [[Corvette]] | ||
* [[Frigate]] | |||
** [[Light Frigate|Light]] | |||
** [[Attack Frigate|Attack]] | |||
* [[Destroyer]] | |||
** [[Attack Destroyer|Attack]] | |||
** [[ | * [[Cruiser]] | ||
** [[Heavy | * [[Battlecruiser]] | ||
** [[ | |||
| group2 = Trade Ships | |||
| list2 = | |||
* [[Shuttle]] | |||
* [[Transport]] | |||
* [[Light Freighter]] | |||
* [[Medium Freighter]] | |||
* [[Heavy Freighter]] | |||
* [[Barge]] | |||
| group3 = Other Classes | |||
| list3 = | |||
* [[Speeder]] | |||
* [[Platform]] | |||
* [[Base Defense Platform]] | |||
}} | |||
| group2 = Modules | |||
| list2 = | |||
{{Navbox |subgroup | |||
| group1 = Navigation | |||
| list1 = | |||
* [[Hyperdrive]] | |||
* [[Navigation Computer]] | |||
* [[Thrusters]] | |||
| group2 = Defense | |||
| list2 = | |||
* [[Particle Shield]] | |||
| group3 = Offense | |||
| list3 = | |||
{{Navbox |subgroup | |||
| group1 = Light Weapons | |||
| list1 = | |||
* [[Laser Cannon]] | |||
* [[Pulse Cannon]] | |||
* [[Plasma Cannon]] | |||
| group2 = Heavy Weapons | |||
| list2 = | |||
* [[Torpedo]] | |||
* [[Heavy Laser]] | |||
* [[Phaser]] | |||
| group3 = Turrets | |||
| list3 = | |||
* [[Point Defense Turret]] | |||
* [[Light Turret]] | |||
* [[Heavy Turret]] | |||
* [[Tri Turret]] | |||
* [[Quad Turret]] | |||
* [[Ion Turret]] | |||
}} | |||
* [[Magazine]] | |||
| group4 = Mining | |||
| list4 = | |||
* [[Mining Lasers]] | |||
* [[Drill (Starship)]] | |||
| group5 = Other | |||
| list5 = | |||
* [[Gravity Well (Starship)]] | |||
}} | |||
| group3 = Concepts | |||
| list3 = | |||
* [[Power Modes]] | |||
* [[Ship Computer]] | |||
}}<noinclude> | }}<noinclude> | ||
{{navbox documentation}} | {{navbox documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:20, 28 December 2024
File:Handheld devices no.svg | This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{Navbox starships}}
below the standard article appendices.
Initial visibility
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
- <syntaxhighlight lang="wikitext" inline="1">{{Navbox starships|state=collapsed}}</syntaxhighlight> will show the template collapsed, i.e. hidden apart from its title bar.
- <syntaxhighlight lang="wikitext" inline="1">{{Navbox starships|state=expanded}}</syntaxhighlight> will show the template expanded, i.e. fully visible.
Templates using the classes class=navbox
({{navbox}}) or class=nomobile
({{sidebar}}) are not displayed in article space on the mobile web site of English Wikipedia. Mobile page views account for approximately 68% of all page views (90-day average as of September 2024[update]). Briefly, these templates are not included in articles because 1) they are not well designed for mobile, and 2) they significantly increase page sizes—bad for mobile downloads—in a way that is not useful for the mobile use case. You can review/watch phab:T124168 for further discussion.
TemplateData
A navigational box that can be placed at the bottom of articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | state | The initial visibility of the navbox
| String | suggested |
Template transclusions
Transclusion maintenance |
---|
Check completeness of transclusions |