Template:Navbox starships: Difference between revisions
Bwazedilla (talk | contribs) No edit summary |
No edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 5: | Line 5: | ||
| listclass = hlist | | listclass = hlist | ||
| group1 = | | group1 = Classes | ||
| list1 = | | list1 = | ||
{{Navbox |subgroup | {{Navbox |subgroup | ||
| group1 = Warships | | group1 = [[Warships]] | ||
| list1 = | | list1 = | ||
* [[Interceptor]] | |||
* [[Starfighter]] | * [[Starfighter]] | ||
* [[Gunship]] | * [[Gunship]] | ||
** [[Tackle Gunship|Tackle]] | ** [[Tackle Gunship|Tackle]] | ||
** [[Light Gunship|Light]] | |||
* [[Corvette]] | * [[Corvette]] | ||
* [[Frigate]] | * [[Frigate]] | ||
** [[Light Frigate|Light]] | ** [[Light Frigate|Light]] | ||
** [[Attack Frigate|Attack]] | ** [[Attack Frigate|Attack]] | ||
** [[Medium Frigate|Medium]] | |||
* [[Destroyer]] | * [[Destroyer]] | ||
** [[Attack Destroyer|Attack]] | ** [[Attack Destroyer|Attack]] | ||
| Line 22: | Line 25: | ||
* [[Battlecruiser]] | * [[Battlecruiser]] | ||
| group2 = | | group2 = [[Civilian Ships]] | ||
| list2 = | | list2 = | ||
* [[Shuttle]] | * [[Shuttle]] | ||
| Line 31: | Line 34: | ||
* [[Barge]] | * [[Barge]] | ||
| group3 = Other Classes | | group3 = [[Starship#Other Ship Classes|Other Classes]] | ||
| list3 = | | list3 = | ||
* [[Speeder]] | * [[Speeder]] | ||
| Line 51: | Line 54: | ||
* [[Particle Shield]] | * [[Particle Shield]] | ||
| group3 = Offense | | group3 = [[Starship Weapons|Offense]] | ||
| list3 = | | list3 = | ||
{{Navbox |subgroup | {{Navbox |subgroup | ||
| group1 = Light Weapons | | group1 = [[Light Weapons]] | ||
| list1 = | | list1 = | ||
* [[Laser Cannon]] | * [[Laser Cannon]] | ||
* [[Pulse Cannon]] | * [[Pulse Cannon]] | ||
* [[Plasma Cannon]] | * [[Plasma Cannon]] | ||
* [[Interceptor Cannon]] | |||
| group2 = Heavy Weapons | | group2 = [[Heavy Weapons]] | ||
| list2 = | | list2 = | ||
* [[Torpedo]] | * [[Torpedo]] | ||
| Line 91: | Line 95: | ||
* [[Power Modes]] | * [[Power Modes]] | ||
* [[Ship Computer]] | * [[Ship Computer]] | ||
* [[Oversize]] | |||
* [[Crate Capacity]] | |||
* [[Storage Capacity]] | |||
* [[Blast Resistance]] | |||
* [[Hull Integrity]] | |||
* [[Weaponsets]] | |||
* [[Nodes]] | |||
}}<noinclude> | }}<noinclude> | ||
{{navbox documentation}} | {{navbox documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 05:34, 25 April 2025
| 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 |
[[Category:Template documentation pages{{#translation:}}]]