Difference between revisions of "Template:Ship summary list"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
m (Reverted edits by Maksim-Smelchak (talk) to last revision by 174.222.16.14)
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, origin=Origin, designation=Hull designation,TL=Technology level,size=Tonnage,size-cat=Size-cat,jump=Jump Drive,canon=Canon
+
   |fields=CONCAT( '[[', _pageName, '|', name, ']]' )=Class, origin=Origin, designation=Hull designation,TL=Technology level,size=Tonnage,jump=Jump Drive,canon=Canon
 
   |where=designation like "{{{tdes|BB}}}%"
 
   |where=designation like "{{{tdes|BB}}}%"
 
   |format=dynamic table
 
   |format=dynamic table
Line 17: Line 17:
  
 
Parameters (both required):
 
Parameters (both required):
+
 
 
; name
 
; name
 
: Name of the class (e.g. Battleship)
 
: Name of the class (e.g. Battleship)

Revision as of 00:06, 7 June 2019

2 Representative unknown (XX) Classes
Class Origin Hull designation Technology level Tonnage Jump Drive Canon
Class Origin Hull designation Technology level Tonnage Jump Drive Canon
Magada class Battleship Firstworlds BB 11 95,000 2 No. Unpublished, non-canon fan design.
Voroshilef class Battleship Third Imperium BB 13 200,000 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.