Difference between revisions of "Template:Hull summary list"
Jump to navigation
Jump to search
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{NavigationBox | |
| − | + | |Title={{#expr: | |
| − | {{#expr: | ||
{{#cargo_query: tables=Starships|where=configuration like "{{{hull|}}}%"|fields=count(*)=ship_count|format=template|template=Hull summary list.display}}+ | {{#cargo_query: tables=Starships|where=configuration like "{{{hull|}}}%"|fields=count(*)=ship_count|format=template|template=Hull summary list.display}}+ | ||
| − | {{#cargo_query: tables=Starships2|where=configuration like "{{{hull|}}}%"|fields=count(*)=ship_count|format=template|template=Hull summary list.display}} }} Representative {{{hull|}}} configuration ships | + | {{#cargo_query: tables=Starships2|where=configuration like "{{{hull|}}}%"|fields=count(*)=ship_count|format=template|template=Hull summary list.display}} }} Representative {{{hull|}}} configuration ships |
| − | {{#cargo_compound_query: | + | |Image= |
| + | |Category= | ||
| + | |List={{#cargo_compound_query: | ||
tables=Starships | tables=Starships | ||
;where=configuration like "{{{hull|}}}%" | ;where=configuration like "{{{hull|}}}%" | ||
| − | ;fields=CONCAT('[[',_pageName,'|',name,']]')=Class, designation=Superclass, size=Tons, TL=TL, origin=Origin, maneuver=G, jump=Jump, canon=Canon | + | ;fields=CONCAT('[[',_pageName,'|',name,']]')=Class, designation=Superclass, size=Tons, TL=TL, origin=Origin, maneuver=G, jump=Jump, illustration=Illustration, canon=Canon |
|tables=Starships2 | |tables=Starships2 | ||
;where=configuration like "{{{hull|}}}%" | ;where=configuration like "{{{hull|}}}%" | ||
| − | ;fields=CONCAT('[[',_pageName,'|',name,']]')=Class, designation=Superclass, format(size,2)=Tons, TL=TL, origin=Origin, maneuver=G, jump=Jump, canon=Canon | + | ;fields=CONCAT('[[',_pageName,'|',name,']]')=Class, designation=Superclass, format(size,2)=Tons, TL=TL, origin=Origin, maneuver=G, jump=Jump, illustration=Illustration, canon=Canon |
|format=dynamic table | |format=dynamic table | ||
|rows per page=100 | |rows per page=100 | ||
| − | }} | + | }} }} |
| − | + | <noinclude> | |
| + | SYNOPSIS: Generates a summary list of starships with a specific hull configuration. This uses [[Hull#Configuration_.28Shape.29|Hull Configuration]] for the summary options. | ||
| − | + | == Description ([[Specifications]]) == | |
| − | + | PARAMETERS: | |
| − | |||
| − | |||
; hull | ; hull | ||
: Name of the configuration (e.g. Sphere Hull) | : Name of the configuration (e.g. Sphere Hull) | ||
| − | The template will show all of the pages using the [[ | + | 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| | + | [[Category:Templates|Hull summary list]] |
| − | [[Category: Cargo Templates| | + | [[Category:NavBox Templates|Hull summary list]] |
| + | [[Category:Cargo Templates|Hull summary list]]</noinclude> | ||
Latest revision as of 13:09, 29 September 2019
SYNOPSIS: Generates a summary list of starships with a specific hull configuration. This uses Hull Configuration for the summary options.
Description (Specifications)[edit]
PARAMETERS:
- hull
- Name of the configuration (e.g. Sphere Hull)
The template will show all of the pages using the Template: InfoboxShip or the Template:InfoboxShip2 template and show some information from the template.