Template:WP:RDT/BSa4x2m
For displaying pictogram tables in BSicon/Catalogue.
Usage
[edit]This template takes two basic icon names ("ICON₁
" and "ICON₂
") to display all variants of a parallel lines compound icon (typically named "vICON₁-ICON₂
") showing a heavy rail track and a light rail track, with the following information in a row within a wikitable:
- ICON₁-ICON₂ (the compound icon name)
- BSicon_vICON₁-uICON₂.svg
- BSicon_vICON₁-uexICON₂.svg
- BSicon_vexICON₁-uICON₂.svg
- BSicon_exvICON₁-uICON₂.svg
- BSicon_vuICON₁-ICON₂.svg
- BSicon_vuICON₁-exICON₂.svg
- BSicon_vuexICON₁-ICON₂.svg
- BSicon_exvuICON₁-ICON₂.svg
- text field (normally description) for the drivers' right line
- secondary text field (optional) for the drivers' right line
- text field (normally description) for the drivers' left line
- secondary text field (optional) for the drivers' left line
- The optional parameter
pre
allows the use of a prefix such as t or h. - The optional parameter
v
suppresses the usual parallel line prefix v.
Icons are displayed 20 pixels high, the same as in most route diagrams.
This template can be abbreviated as {{WP:RDT/BSa4x2m}}
.
Examples
[edit]The text {{WP:RDT/BSa4x2m|STR|STR|Track||Track}}
produces the second line of this table:
①-② | v①-u②
|
v①-uex②
|
vex①-u②
|
exv①-u②
|
vu①-②
|
vu①-ex②
|
vuex①-②
|
exvu①-②
|
||
STR-STR | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Track + Track |
The text {{WP:RDT/BSa4x2m|STR|STR|Tunnel|through|tunnel|through|pre=t}}
produces the second line of this table:
①-② | v①-u②
|
v①-uex②
|
vex①-u②
|
exv①-u②
|
vu①-②
|
vu①-ex②
|
vuex①-②
|
exvu①-②
|
||
t…STR-STR | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Tunnel through + tunnel through |
The text {{WP:RDT/BSa4x2m|STRq|STRq|{{BSsplit|Track across|Track across}}|v=}}
produces the second line of this table:
①-② | v①-u②
|
v①-uex②
|
vex①-u②
|
exv①-u②
|
vu①-②
|
vu①-ex②
|
vuex①-②
|
exvu①-②
|
|||
STRq-STRq | ![]() |
![]() |
![]() |
|
- It is not necessary to mark a column; missing icons will automatically be left blank.
See also
[edit]- {{Template:WP:RDT/BSa4x2m/h}}
- Wikipedia:Route diagram template
- BSicon/Catalogue for an explanation of icon prefixes