Template:WP:RDT/BSaV/doc

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

Designated V because it was initially used for parallel lines icons.

Usage

[edit]

This template displays the following information in a row within a wikitable:

  • ICON (the base icon name)
  • BSicon_ICON.svg
  • BSicon_eICON.svg
  • BSicon_xICON.svg
  • BSicon_exICON.svg
  • BSicon_tICON.svg
  • BSicon_etICON.svg
  • BSicon_xtICON.svg
  • BSicon_extICON.svg
  • BSicon_uICON.svg
  • BSicon_ueICON.svg
  • BSicon_uxICON.svg
  • BSicon_uexICON.svg
  • BSicon_utICON.svg
  • BSicon_uetICON.svg
  • BSicon_uxtICON.svg
  • BSicon_uextICON.svg
  • text field (normally description)
  • secondary text field (optional)
  • second text field (optional)
  • second secondary text field (optional)

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


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


There are three optional parameters:

  • nw (name width): the width of the first column
  • bg (background): the background color of the icon column
  • tw (text width): the width of the third column

See BSicon/Catalogue for an explanation of icon prefixes.

Example

[edit]

The text {{WP:RDT/BSaV|KRZ|Crossing|two lines}} produces the second line of this table:

e x ex t et xt ext u ue ux uex ut uet uxt uext
KRZ                                 Crossing two lines

The text {{WP:RDT/BSaV|ABZql|Junction to left & across|''obsolete naming''|nw=auto|bg=#ffd3d3}} produces the second line of this table:

e x ex t et xt ext u ue ux uex ut uet uxt uext
ABZql                                 Junction to left & across obsolete naming
  • It is not necessary to mark a column; missing icons will automatically be left blank.

For parallel lines, two additional parameters may be used for complex icons: e.g. {{WP:RDT/BSaV|vSTR-KDSTa|line|through|depôt|start}} produces

e x ex t et xt ext u ue ux uex ut uet uxt uext
vSTR-KDSTa                                 line through + depôt start

See also

[edit]