Jump to content

Module:Road data/size/doc

From Calamity Wiki
Revision as of 18:05, 26 August 2024 by imported>BrandonXLF (Create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Road data/size

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

{{#invoke:Road data/size|size|style=jct}} → 24px