Difference between revisions of "Template:Ship summary list"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{NavigationBox | |
− | + | |Title={{#expr: {{#cargo_query: tables=Starships|where=designation like "{{{tdes|E}}}%"|fields=count(*)=ship_count|format=template|template=Ship summary list.display}} }} Representative {{{name|unknown}}} ({{{tdes|D}}}) Classes | |
− | {{#expr: {{#cargo_query: tables=Starships|where=designation like "{{{tdes|E}}}%"|fields=count(*)=ship_count|format=template|template=Ship summary list.display}} }} Representative {{{name|unknown}}} ({{{tdes|D}}}) Classes | + | |Image= |
− | {{#cargo_query: | + | |Category= |
+ | |List={{#cargo_query: | ||
tables=Starships | tables=Starships | ||
|where=designation like "{{{tdes|E}}}%" | |where=designation like "{{{tdes|E}}}%" | ||
Line 8: | Line 9: | ||
|format=dynamic table | |format=dynamic table | ||
|rows per page=100 | |rows per page=100 | ||
− | }} | + | }} }} |
− | + | <noinclude> | |
− | Generates a summary list of specific classes of starships in the library. This uses the [[Ship type codes]] designation as the driver for the ships selected. | + | SYNOPSIS: Generates a summary list of specific classes of starships in the library. This uses the [[Ship type codes]] designation as the driver for the ships selected. |
− | Parameters (both required): | + | == Description ([[Specifications]]) == |
− | + | PARAMETERS: Parameters (both required): | |
; name | ; name | ||
: Name of the class (e.g. Battleship) | : Name of the class (e.g. Battleship) | ||
Line 21: | Line 22: | ||
The template will show all of the pages using the [[:Template: InfoboxShip]] or the [[:Template:InfoboxShip2]] template, and show some information from the template. | The template will show all of the pages using the [[:Template: InfoboxShip]] or the [[:Template:InfoboxShip2]] template, and show some information from the template. | ||
− | [[Category: Templates|Ships summary list]] | + | [[Category:Templates|Ships summary list]] |
− | [[Category: Cargo Templates|Ships summary list]] | + | [[Category:NavBox Templates|Ship summary list]] |
+ | [[Category:Cargo Templates|Ships summary list]] | ||
<!-- | <!-- | ||
{{#cargo_compound_query: | {{#cargo_compound_query: |
Revision as of 16:39, 20 August 2019
14 Representative unknown (D) Classes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
SYNOPSIS: Generates a summary list of specific classes of starships in the library. This uses the Ship type codes designation as the driver for the ships selected.
Description (Specifications)
PARAMETERS: Parameters (both required):
- name
- Name of the class (e.g. Battleship)
- tdes
- designation for the class (e.g. BB)
The template will show all of the pages using the Template: InfoboxShip or the Template:InfoboxShip2 template, and show some information from the template.