Difference between revisions of "Template:Hull summary list"
Jump to navigation
Jump to search
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|}}}%" | ||
Line 13: | Line 14: | ||
|format=dynamic table | |format=dynamic table | ||
|rows per page=100 | |rows per page=100 | ||
− | }} | + | }} }}<noinclude> |
− | |||
Generates a summary list of starships with a specific hull configuration. This uses [[Hull#Configuration_.28Shape.29|Hull Configuration]] for the summary options. | Generates a summary list of starships with a specific hull configuration. This uses [[Hull#Configuration_.28Shape.29|Hull Configuration]] for the summary options. | ||
Line 23: | Line 23: | ||
: 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> |
Revision as of 10:53, 20 August 2019
Generates a summary list of starships with a specific hull configuration. This uses Hull Configuration for the summary options.
Parameter:
- 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.