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

Content deleted Content added
No edit summary
Undid revision 1271553142 by Ahecht (talk)
 
(10 intermediate revisions by 4 users not shown)
Line 1:
This module is used to store type data for use with several road templates, including {{tl|jct}} and {{tl|routelist row}}.
Background information and a summary of the syntax are listed below.
<includeonly>{{#ifeq:{{FULLPAGENAME}}|Module:Road data/strings|<p>{{Clickable button|Special:Search/-intitle:"/doc" -intitle:"/sandbox" -intitle:"/testcases" -intitle:"/styles.css" prefix:Module:Road data/strings/|View stringregional modules}}</p>|==Exported types==
{{#ifeq:{{FULLPAGENAME}}|Module:Road data/strings|
This modulesmodule exports the following types:
 
{{Module exports|exclude=^%s}}}}</includeonly><noinclude><br><br>[BUTTON OR EXPORTS ARE ADDED HERE]</noinclude>
{{Clickable button|Special:Search/-intitle:"/doc" -intitle:"/sandbox" -intitle:"/testcases" -intitle:"/styles.css" prefix:Module:Road data/strings/|View string modules}}|==Exported types==
This modules exports the following types:
{{#invoke:Road data/strings/doc/exports|exports}}}}
==Syntax==
===Hierarchy and fields===
Line 48 ⟶ 46:
 
*<code>translation</code> specifies the native language name of the route displayed by an infobox
*<code>lang</code> is the [[List of ISO 639-2 codes|ISO 639-2]] code of the native language; this code is used by {{tl|Lang}} and {{tl[[Template:Lang#Language-specific templates|Lang-<i>xx}}</i> templates]].
 
<syntaxhighlight lang="lua">