模板: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.