Difference between revisions of "Template:Ship summary list"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="toccolours inlineb" style="clear: left; margin: 0.5em auto; text-align: left; padding: 0em; border-radius: 6px; max-width: 94%; overflow: hidden">
+
{{NavigationBox
<div style="padding-top: 0.2em; padding-bottom: 0.2em; background:#ccccff; font-weight:bold; text-align: center">
+
|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</div><div style="font-size: 100%; padding: 0.5em 1em">
+
|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
}}</div></div><noinclude>
+
}} }}
+
<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
Class Superclass Tons Category TL Origin Jump G Image Canon
Class Superclass Tons Category TL Origin Jump G Image Canon
Biter class Close Escort EL 500 ACS 11 Sword Worlds Confederation 2 2 No
Cerberus class Gunboat EB 500 ACS 12 Charted Space 3 5 Yes No
Chaiik class Frigate EF 800 ACS 11 Sath Alliance 2 6 No No. Unpublished, non-canon fan design.
Hotspur class Sloop of War EH 2,000 ACS 12 Unity of Sed 2 5 No No. Unpublished, non-canon fan design.
KE6c Plague class Brigantine EB 600 ACS 12 Korsumug Empire 3 4 Yes
Leedos class Frigate EF 1,200 ACS 11 Yimin Jiti 2 6 No No. Unpublished, non-canon fan design.
Musuna class Frigate EF 2,000 ACS 11 High Senate 2 2 No No. Unpublished, non-canon fan design.
Phoebe class Armored Escort EB 600 ACS 12 Charted Space 3 4 Yes No
Sii'kha class Escort Corvette ECE 400 ACS 11 Sath Alliance 2 6 No No. Unpublished, non-canon fan design.
Sirocco Converge class Attack Boat E 3,000 9 Uffan Strategic Space Forces 0 6 {{{illustration}}}
Sirocco Converge class Attack Boat E 3,000 9 Uffan Strategic Space Forces 0 6 {{{illustration}}}
Taranil class Patrol Frigate EF 1,600 ACS 10 Maujen Defense Bureau 1 1 No No. Unpublished, non-canon fan design.
Turku class Light Escort EL 400 ACS 12 The Reach 3 5 No No. Unpublished, non-canon fan design.
Yarostnaya Ataka class Combat Sloop E 200 10 Maujen Defense Bureau 1 5 {{{illustration}}}


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.