Module:Infobox road/route/doc: Difference between revisions

Content deleted Content added
collapse
top: Added a test example
Tags: Mobile edit Mobile app edit Android app edit App full source
 
(2 intermediate revisions by 2 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}}
<div style="margin-left:0"><!-- NOTE: width renders incorrectly if added to main STYLE section -->
{| <!-- Template:Collapse top --> class=" mw-collapsible mw-collapsed " style="background: transparent; text-align: left; border: 1px solid Silver; margin: 0.2em auto auto; width:100%; clear: both; padding: 1px;"
|-
! style="background: #{{main other|F0F2F5|CCFFCC}}; font-size:87%; padding:0.2em 0.3em; text-align:center; " | <div style="display:inline;font-size:115%">Output examples</div>
 
|-
| style="border: solid 1px Silver; padding: 0.6em; background: White;" |
{|class=wikitable width="100%" style="text-align:center; font-size:112.5%; font-weight:bold;" border=1 align=center
|-
Line 217 ⟶ 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|country=USA|type=US-Old|route=91}}
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|country=USA|type=US-Old|route=91}}
|-
|}
{{collapse bottom}}<noinclude>
|}</div>
[[Category:Module documentation pages]]
</noinclude>