Module:Road data/browsetable/doc

From English Wikipedia @ Freddythechick

This is the current revision of this page, as edited by imported>BrandonXLF at 23:03, 16 August 2024 (Protected). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This module exports the functions browsetable (for use from wikitext) and _browsetable (for use within Lua). The functions can serve as a container for the output of Module:Road data/browse while also adding padding between multiple instances of Module:Road data/browse.

Example

<syntaxhighlight lang="wikitext">{{Box|width=20em|padding=8px| {{#invoke:Road data/browsetable|browsetable| {{oh browse|previous_type=SR|previous_route=222|route=OH|next_type=OH 1927|next_route=223|next_dab=1927-1930}} {{mi browse|previous_type=M|previous_route=222|route=MI|next_type=M|next_route=227}} }}

}}</syntaxhighlight>

SR 222OH SR 223
M-222MI M-227