Difference between revisions of "Template:Ship referral tree"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Tag: Blanking
(Undo revision 694947 by OKüppers (talk))
Tag: Undo
Line 1: Line 1:
 +
==== {{#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 ====
 +
{{hidden
 +
  |header = § == ( Please refer to the following [[AAB]] [[Library Data]] for more information: ) == §
 +
  |ta1 = left
 +
  |contentcss =
 +
  |ta2 = left
 +
  |content =
 +
{{#if: {{{class1|}}}|'''[[{{{class1}}}]]''' - }}{{#if: {{{class2|}}}|'''[[{{{class2}}}]]''' - }}{{#if: {{{class3|}}}|'''[[{{{class3}}}]]''' - }}[[Type {{{tdes|D}}} {{{name|unknown}}}]]
 +
{{#cargo_query:
 +
tables=Starships
 +
  |where=designation like "{{{tdes|D}}}"
 +
  |fields=_pageName
 +
  |format=category
 +
  |columns = 3
 +
  |rows per page = 300
 +
}}
 +
}}<noinclude>
 +
[[Category:Templates|Ship referral tree]]
 +
[[Category:Cargo Templates|Ship summary list]]
 +
[[Category:Referral trees|Ship summary list]]
 +
SYNOPSIS: Generates a Referral Tree 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:
 +
; name
 +
: Name of the class (e.g. Battleship)
 +
; tdes
 +
: designation for the class (e.g. BB)
 +
; class1
 +
: optional classification name for this type  e.g Civilian Ship or Military Ship
 +
; class2
 +
: optional classification name for this type e.g. Science Ship
 +
; class3
 +
: optional classification name for this type e.g. Lab Ship
 +
 +
The template will show all of the pages using the [[:Template: InfoboxShip]] template creating a three column list of links to the page.
 +
 +
See also: [[Template:Ship summary list]]
 +
 +
See also: [[Template:Ship referral tree with subtypes]]
 +
 +
</noinclude>

Revision as of 12:48, 23 December 2022

3 Representative unknown (D) Classes

§ == ( Please refer to the following AAB Library Data for more information: ) == §

Type D unknown

No results

SYNOPSIS: Generates a Referral Tree 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:

name
Name of the class (e.g. Battleship)
tdes
designation for the class (e.g. BB)
class1
optional classification name for this type e.g Civilian Ship or Military Ship
class2
optional classification name for this type e.g. Science Ship
class3
optional classification name for this type e.g. Lab Ship

The template will show all of the pages using the Template: InfoboxShip template creating a three column list of links to the page.

See also: Template:Ship summary list

See also: Template:Ship referral tree with subtypes