Template:WP:RDT/BSaLR

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

For displaying pictogram tables in Wikipedia:Route diagram template/Catalog of pictograms.

This is a special version which displays an icon and its -Left and -Right variants.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:WP:RDT/BSaLR/doc.

Designated LR for -L and -R versions.

Usage

[edit]

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

  • ICON-L (the left variant)
  • BSicon_ICON-L.svg
  • ICON (the base icon)
  • BSicon_ICON.svg
  • ICON-R (the right variant)
  • BSicon_ICON-R.svg
  • text field (normally description)
  • secondary text field (optional)

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


Specifying an argument for the optional parameter |base= will override the full icon while leaving the left and right versions unchanged.


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


See Wikipedia:Route diagram template/Catalog of pictograms for an explanation of icon prefixes.

Examples

[edit]

The text {{WP:RDT/BSaLR|lCSTR|ae|Cutting|start & end}} produces this table row:

lCSTR-Rae   lCSTRae   lCSTR-Lae   Cutting start & end

The text {{WP:RDT/BSaLR|lVIADUKT||Long bridge|base=lhSTRae}} produces this table row:

lVIADUKT-R   lhSTRae   lVIADUKT-L   Long bridge
  • It is not necessary to mark a column; missing icons will automatically be left blank.

See also

[edit]