Template:Odakyu Station Numbering/doc
(Redirected from Template:ODSN/doc)
![]() | This is a documentation subpage for Template:Odakyu Station Numbering. It may contain usage information, categories and other content that is not part of the original template page. |
This templates is used to display an icon identifying Odakyu Electric Railway stations. It can be abbreviated {{ODSN}}
.
- The first parameter selects the line.
- The second parameter is the station number.
- The third parameter sets the size of the logos in pixels. If this parameter is omitted, the default pixel size is 30 pixels.
- The named parameter
|ns=H
changes to the alternate colour, for Odakyu Hakone.
Usage
editPlease avoid adding these icons within the prose of articles: per Wikipedia's Manual of Style for icons, "Icons should not be used in the article body... This breaks up the continuity of the text, distracting the reader".
In addition, icons used in this way are primarily decorative, e.g. "aesthetics are in the eye of the beholder: one reader's harmless decoration may be another reader's distraction": While the icons provide visual cues in certain circumstances, writing in prose will usually suffice. Instead, provide a link to the services directly.
Valid parameters
editLine | Abbreviation | Code | Example | Color | Note |
---|---|---|---|---|---|
Hakone Tozan Line | OH|ns=H |
{{ODSN|OH|ns=H|00}} |
OH00 | #E8532E | includes Hakone Tozan Cable Car & Hakone Ropeway |
Odakyu Enoshima Line | OE |
{{ODSN|OE|00}} |
OE00 | #2683CE | |
Odakyu Odawara Line | OH |
{{ODSN|OH|00}} |
OH00 | #2683CE | Odakyu Hakone |
Odakyu Tama Line | OT |
{{ODSN|OT|00}} |
OT00 | #2683CE |
Examples
editCode | Result |
---|---|
{{Odakyu Station Numbering|name=OH|number=01|size=40}}
|
OH01 |
{{ODSN|OH|47}} {{ODSN|OH|ns=H|47}} {{STN|Odawara}}
|
OH47 OH47 Odawara |
[[Katase-Enoshima Station|{{ODSN|OE|16|50}}]]
|
OE16 |
See also
edit