Module:Road data/strings/doc: Difference between revisions

Content deleted Content added
Hierarchy and fields: expand with more common information
Other types: this is already addressed below
Line 51:
banner = "Alternate plate.svg",
width = "expand"}
</syntaxhighlight>
 
An entire type may be aliased by setting an entry in the root table equal to a previously defined type (from [[Module:Road data/strings/HKG]]):
<syntaxhighlight lang="lua">
HKG.Route = {shield = "HK Route%route%.svg",
link = "Route %route% (Hong Kong)",
abbr = "Route&nbsp;%route%"}
HKG.route = HKG.Route
</syntaxhighlight>