Jump to content

Module:Road data/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by BrandonXLF (talk | contribs) at 22:48, 23 August 2024 (Submodules). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Usage

[edit]

{{#invoke:Road data|function_name}}

Submodules

[edit]

Submodules of Module:Road data are used to process and display the road data stored in the modules listed at #Data modules. There are also a few that contain additional data.

View submodules

Data modules

[edit]

String modules

[edit]

String modules are used to store type data for use with several road templates, including {{jct}} and {{routelist row}}.

View string modules

[edit]

Banner modules store data about banners that should be shown. For example, Module:Road data/banners/USA defines the "TO" banner shown when {{jct}} is used with a |to= parameter in the United States i.e.
To I-82.

View banner modules

Mask modules

[edit]

Mask modules store masks that can be hooked into by #String modules. See Module:Road data/strings#Hooks and Module:Road data/parser/hooks#mask.

View mask modules