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, ']]' )=Supraclass, designation=Superclass, size=Tons, TL=TL, origin=Origin, jump=Jump, maneuver=G, canon=Canon
+
   |fields=CONCAT('[[',_pageName,'|',name,']]')=Supraclass, designation=Superclass, size=Tons, TL=TL, origin=Origin, jump=Jump, maneuver=G, canon=Canon
 
   |where=designation like "{{{tdes|BB}}}%"
 
   |where=designation like "{{{tdes|BB}}}%"
 
   |format=dynamic table
 
   |format=dynamic table

Revision as of 01:30, 7 June 2019

2 Representative unknown (XX) Classes
Supraclass Superclass Tons TL Origin Jump G Canon
Supraclass Superclass Tons TL Origin Jump G Canon
Magada class Battleship BB 95,000 11 Firstworlds 2 3 No. Unpublished, non-canon fan design.
Voroshilef class Battleship BB 200,000 13 Third Imperium 3 2 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.