Difference between revisions of "Template:ShipsMatrix/doc"

From EVE University Wiki
Jump to: navigation, search
m (Update doc for the code expansion.)
m (Add dependency.)
Line 2: Line 2:
 
: 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.
 
: 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.
  
 +
; Dependencies
 +
:; Uses
 +
:: {{T|Sh}} for ship links in the "Special Edition Ships" section.
 
; Syntax
 
; Syntax
 
: {{T|ShipsMatrix|2= expgroup= expgroup}}
 
: {{T|ShipsMatrix|2= expgroup= expgroup}}

Revision as of 09:44, 23 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.
Dependencies
Uses
{{Sh}} for ship links in the "Special Edition Ships" section.
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.