模板:BS-anleitung/doc
外观
此页面是Template:BS-anleitung的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
Named without a suffix because the logical 2 was already widely in use.
Usage
[编辑]This template is intended for non-rail legend features, and displays the following information in a row within a wikitable:
- ICON (the base icon name)
- BSicon_ICON.svg
- BSicon_exICON.svg
- text field (normally description)
- secondary text field (optional)
- The optional parameter hide0=1 will put the text "(n/a)" in the second column, instead of the base icon.
Icons are displayed 20 pixels high, the same as in route diagrams.
See Wikipedia:Route diagram template/Catalog of pictograms for an explanation of icon prefixes.
Example
[编辑]The text {{BS-anleitung|BAHN|x|Generic train icon}} produces the second line of this table:
ex | |||
BAHN | Generic train icon |
- Any character can be used to mark a column; a space will leave that column blank.