Template:WP:RDT/BSa/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Named without a suffix because the logical 2 was already widely in use.

Usage[edit]

This template is intended for non-rail legend features, and displays the following information in a row within a wikitable:

  • ICON (the base icon name)
  • BSicon_ICON.svg
  • BSicon_exICON.svg
  • text field (normally description)
  • secondary text field (optional)
The named argument pf adds a prefix that comes before ex, u and uex.
The named argument color adds a suffix for a named color set.

Icons are displayed 20 pixels high, the same as in route diagrams.

The template can be abbreviated as {{WP:RDT/BSa}}.


See BSicon/Catalogue for an explanation of icon prefixes.

Examples[edit]

The text {{WP:RDT/BSa|BAHN|Generic train icon}} produces the second line of this table;
the text {{WP:RDT/BSa|STRq|Trail|across|pf=f}} produces the third line of this table;
the text {{WP:RDT/BSa|STR|Straight|color=ruby}} produces the fourth line of this table:

ex
BAHN     Generic train icon
fSTRq     Trail across
STR ruby     Straight
  • It is not necessary to mark a column; missing icons will automatically be left blank.

See also[edit]