Template:Rail icon/testcases
Appearance
Pages related to |
Module:Adjacent stations |
---|
(talk | sandbox | sub-pages) |
{{Infobox station}} |
(talk | sandbox | testcases) |
{{Station link}} |
(talk | sandbox | testcases) |
{{Station icon link}} |
(talk | sandbox | testcases) |
{{Rail color}} |
(talk | sandbox | testcases) |
{{Line link}} |
(talk | sandbox | testcases) |
{{Rail icon}} |
(talk | sandbox | testcases) |
{{Rail color box}} |
(talk | sandbox | testcases) |
{{Adjacent stations}} |
(talk | sandbox | testcases) |
{{Line terminus link}} |
(talk | sandbox | testcases) |
This is the template test cases page for the sandbox of Template:Rail icon. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Basic usage
[edit]Named args (data page)
Unnamed args (data page)
type (data page)
Non-Lua (data page)
{{Rail icon|Taipei|R}}
{{Rail icon}}
Lua error in package.lua at line 80: module 'Module:Adjacent stations/Taipei' not found.
Lua error in package.lua at line 80: module 'Module:Adjacent stations/Taipei' not found.
Icons with name
[edit]Icon for line with icon format and name (data page)
Icon for line with icon format and name using alias (data page)
Icon for line without icon format and with name (data page)
{{Rail icon|San Diego Trolley|Green|name=y}}
{{Rail icon}}
Icon for system with name (data page)
Icon for system without icon and with name (data page)
{{Rail icon|San Diego Trolley|name=y}}
{{Rail icon}}
Lua error in Module:Adjacent_stations at line 671: attempt to concatenate local 'icon' (a nil value).
Lua error in Module:Adjacent_stations/sandbox at line 671: attempt to concatenate local 'icon' (a nil value).
Icon for line type with name (data page)
{{Rail icon|Taoyuan Metro|Airport|Commuter|name=y}}
{{Rail icon}}
Taoyuan Airport MRT
Taoyuan Airport MRT
Defaults
[edit]_default icon for lines (data page)
_default icon for lines using alias (data page)
Override _default icon for lines with icon specified (data page)
Sole line default (data page)
System icon format
[edit]Icon for line when system icon format is set (data page)
Override icon for line when system icon format is set (data page)
Styles
[edit]box (data page)
linked (data page)
ldot (data page)
lsquare (data page)
route (data page)
croute (data page)
xroute (data page)