Module:Road data/size/doc
< Module:Road data | size
![]() | This is a documentation subpage for Module:Road data/size. It may contain usage information, categories and other content that is not part of the original module page. |
![]() | 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 contains common shield sizes for use when displaying highway shields.
Lua usage
Function: _size
args
- A table of arguments.style
- The shield style to get the size for.
Wikitext usage
Function: size
|style=
- The shield style to get the size for.
Example
<syntaxhighlight inline="1" lang="wikitext">{{#invoke:Road data/size|size|style=jct}}</syntaxhighlight> → 24px