Template:Building List/doc

This template helps querying the Buildings Cargo table and formatting the result. Read about the Cargo extension in detail on the Gamepedia Help Wiki.

The queried fields' name should be supplied as anonymous parameters. Valid field names are stored by Template:Infobox Building. There are a special values that combine the base fields. These are:

Additional combinations and special formatting for the default fields should be added as needed in Template:Building List/FieldFormat. (Meaning this template is not complete.)

Named Parameters
Selector criteria. Corresponds to the cargoQuery parameter of the same name.

Sort by this field. Corresponds to the  cargoQuery parameter.

To-do

 * Fix combined outputs, such as, which has superflous linebreaks, if one of the used parameters is empty.
 * Combined output  for ,  ,   (if negative),   and.
 * Combined output  for ,   (if positive),  ,  ,  ,   and.