Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShipsMatrix/doc: Difference between revisions

Template page
Add dreadnoughts to expgroup Remove {{Work in progress}}.
m Update doc for the code expansion.
Line 1: Line 1:
; Description
; Description
: This template generates a footer with expandable rows, listing all ships by faction and type.
: This template generates a footer with expandable rows, listing all ships by faction and type. It also has an option to display a fully expanded version without the show/hide option.


; Syntax
; Syntax
: {{T|ShipsMatrix|2= expgroup= expgroup}}
: {{T|ShipsMatrix|2= expgroup= expgroup}}
:; Parameters
:; Parameters
::; expgroup= : To expand a collapsed ship group - One of the following: battlecruisers, battleships, carriers, cruisers, destroyers, dreadnoughts, freighters, frigates, haulers, ore, pirates, special edition or other.
::; expgroup= : To auto expand a collapsed ship group - One of the following: ''battlecruisers, battleships, carriers, cruisers, destroyers, dreadnoughts, freighters, frigates, haulers, ore, pirates, special edition'' or ''other''.
::: Tho produce a fully expanded ship matrix without the show/hide option use the expgroup parameter ''all''.
 
; Notes
: The ''all'' value for the fully expanded version was developed to replace the manual coding of the article [[EVE ships]].


<includeonly>[[Category:Navbox templates]]</includeonly>
<includeonly>[[Category:Navbox templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 09:45, 21 May 2023

Description
This template generates a footer with expandable rows, listing all ships by faction and type. It also has an option to display a fully expanded version without the show/hide option.
Syntax
{{ShipsMatrix|<expgroup= expgroup>}}
Parameters
expgroup=
To auto expand a collapsed ship group - One of the following: battlecruisers, battleships, carriers, cruisers, destroyers, dreadnoughts, freighters, frigates, haulers, ore, pirates, special edition or other.
Tho produce a fully expanded ship matrix without the show/hide option use the expgroup parameter all.
Notes
The all value for the fully expanded version was developed to replace the manual coding of the article EVE ships.