Wikipedia:Route diagram template/BS-anleitungr
|style="text-align:right;width:7em;white-space:nowrap"| {{{1}}} || style="text-align:center; background-color:transparent" | [[File:BSicon_{{{1}}}.svg|x20px|border]]
Designated r because the icon is to the right of the label.
Usage
editThis 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
editThe text {{WP:Route diagram template/BS-anleitungr|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 |