Difference between revisions of "Template:Ship summary list"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 5: Line 5:
 
  |where=designation like "{{{tdes|BB}}}%"
 
  |where=designation like "{{{tdes|BB}}}%"
 
}} {{#cargo_query: table=Starships
 
}} {{#cargo_query: table=Starships
   |fields=CONCAT( '[[', _pageName, '|', name, ']]' )=Class, designation=Hull designation, origin=Origin, TL=Technology level, size=Tonnage, jump=Jump Drive, canon=Canon
+
   |fields=CONCAT( '[[', _pageName, '|', name, ']]' )=Class, designation=Hull designation, size=Tonnage, TL=Technology level, origin=Origin, jump=Jump Drive, canon=Canon
 
   |where=designation like "{{{tdes|BB}}}%"
 
   |where=designation like "{{{tdes|BB}}}%"
 
   |format=dynamic table
 
   |format=dynamic table

Revision as of 00:09, 7 June 2019

2 Representative unknown (XX) Classes
Class Hull designation Tonnage Technology level Origin Jump Drive Canon
Class Hull designation Tonnage Technology level Origin Jump Drive Canon
Magada class Battleship BB 95,000 11 Firstworlds 2 No. Unpublished, non-canon fan design.
Voroshilef class Battleship BB 200,000 13 Third Imperium 3 Yes. Published, canon starship design.

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):

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 template, and show some information from the template.