Module:Road data/browsetable/doc: Difference between revisions
Appearance
Content deleted Content added
BrandonXLF (talk | contribs) No edit summary |
BrandonXLF (talk | contribs) Protected Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 1: | Line 1: | ||
{{Module rating| |
{{Module rating|protected}} |
||
{{High use}} |
{{High use}} |
||
{{Uses TemplateStyles|Module:Road data/browsetable/styles.css}} |
{{Uses TemplateStyles|Module:Road data/browsetable/styles.css}} |
Latest revision as of 22:03, 16 August 2024
![]() | This Lua module is used on approximately 18,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
![]() | This module uses TemplateStyles: |
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
[edit]{{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}}
}}
}}