Module:Infobox road/route/doc: Difference between revisions
Appearance
Content deleted Content added
change one |
collapse |
||
Line 2: | Line 2: | ||
<div style="margin-left:0"><!-- NOTE: width renders incorrectly if added to main STYLE section --> |
<div style="margin-left:0"><!-- NOTE: width renders incorrectly if added to main STYLE section --> |
||
{| <!-- Template:Collapse top --> class=" |
{| <!-- 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="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> |
||
|- |
|- |
||
Line 14: | Line 14: | ||
!width="40%"|Output (sandbox) |
!width="40%"|Output (sandbox) |
||
|- |
|- |
||
|Florida Both |
|Florida Both |
||
|{{#invoke:Infobox road/route|routeInfo|style=infobox|state=FL|type=Both|route=869}} |
|{{#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/sandbox|routeInfo|style=infobox|state=FL|type=Both|route=869}} |
||
Line 187: | Line 187: | ||
|- |
|- |
||
|Parish road |
|Parish road |
||
|{{#invoke:Infobox road/route|routeInfo|style=infobox|state=LA|type=PR|route=16| |
|{{#invoke:Infobox road/route|routeInfo|style=infobox|state=LA|type=PR|route=16|parish=Caddo}} |
||
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|state=LA|type=PR|route=16| |
|{{#invoke:Infobox road/route/sandbox|routeInfo|style=infobox|state=LA|type=PR|route=16|parish=Caddo}} |
||
|- |
|- |
||
|CSAH |
|CSAH |
Revision as of 03:47, 7 January 2022
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 {{Infobox road}}
.
Output examples
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|