Template:WP:RDT/BSar

|style="text-align:right;width:7em;white-space:nowrap"| {{{1}}} || style="text-align:center; background-color:transparent" | [[File:BSicon_{{{1}}}.svg|x20px|border]]

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

Designated r because the icon is to the right of the label.

Usage edit

This template is intended for building complicated catalog tables of BSicons, and displays the following information in a pair of cells in a wikitable:

  • if third parameter is provided: secondary text, to left of description
  • if second parameter is provided: icon description, aligned to the right
  • ICON (the icon name, aligned to the right)
  • BSicon_ICON.svg

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


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


There is one optional parameter:

  • bg (background): the background color of the icon column


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

Example edit

The text {{WP:RDT/BSar|KRX}} produces this table row:

KRX

The text {{WP:RDT/BSar|WASSERl|to left}} produces this table row:

to left WASSERl

The text {{WP:RDT/BSar|dBLq|Black Line across|half width}} produces this table row:

half width Black Line across dBLq

The text {{WP:RDT/BSar|MFADEg|bg=silver}} produces this table row:

MFADEg

See also edit