Content deleted Content added
save |
→top: Added a test example Tags: Mobile edit Mobile app edit Android app edit App full source |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1:
This module pulls data from road data strings, such as [[Module:Road data/strings/USA]], and passes it through three functions that draw the necessary route marker images and displays the route name in {{tlx|Infobox road}}.
{{collapse top|title=Output examples}}
|-▼
{|class=wikitable width="100%" style="text-align:center; font-size:112.5%; font-weight:bold;" border=1 align=center
|-
Line 14 ⟶ 8:
!width="40%"|Output (sandbox)
|-
|Florida Both
|{{#invoke:Infobox road/route|routeInfo|style=infobox|state=FL|type=Both|route=869}}
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|state=FL|type=Both|route=869}}
|{{#invoke:Infobox road/route|routeInfo|style=infobox|state=FL|type=Both|route=869|marker_image=[[File:Toll Florida 869.svg|70px]] [[File:Florida 869.svg|x70px]]}}▼
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|state=FL|type=Both|route=869|marker_image=[[File:Toll Florida 869.svg|70px]] [[File:Florida 869.svg|x70px]]}}▼
|-
|No parameters
Line 154 ⟶ 144:
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|state=AL|type=US-Bus|route=78}}
|-
|Special route (style=small)
|{{#invoke:Infobox road/route|routeInfo|style=
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=
|-
|Alaska {{para|marker_image}}
Line 191 ⟶ 181:
|-
|Parish road
|{{#invoke:Infobox road/route|routeInfo|style=infobox|state=LA|type=PR|route=16|
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|state=LA|type=PR|route=16|
|-
|CSAH
Line 221 ⟶ 211:
|{{#invoke:Infobox road/route|routeInfo|style=infobox|country=BEL|type=E|route=19}}
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|country=BEL|type=E|route=19}}
▲|-
|Old Highway 91
▲|{{#invoke:Infobox road/route|routeInfo|style=infobox|
▲|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|
|-
|}
{{collapse bottom}}<noinclude>
[[Category:Module documentation pages]]
</noinclude>
|