Template:Roadlink/sandbox
Script error: The function "roadlink" does not exist.
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Roadlink (diff). |
![]() | This template should always be substituted (i.e., use {{subst:Roadlink}} ). Any accidental transclusions will be automatically substituted by a bot. |
![]() | This template uses Lua: |
<syntaxhighlight lang="wikitext"> Lua error in Module:Jct at line 204: attempt to concatenate local 'link' (a boolean value). </syntaxhighlight>
This template creates a link to a road, exactly how {{Jct}} works, but without the route markers. The syntax for this template is exactly the same as {{Jct}}. Since this template is a shorthand for creating wikitext links, a bot will automatically substitute the wikitext.
Key differences between {{Roadlink}} and {{Jct}}:
- Roadlink does not create shields. Jct must call its noshield= parameter for the same effect.
- {{jct}} should not be substituted.
Usage
<syntaxhighlight lang="wikitext" inline>US 30 / Iowa 38</syntaxhighlight>
<syntaxhighlight lang="wikitext" inline>US 6 / US 20 / US 42 / US 322 / US 422 / SR 3 / SR 8 / SR 87</syntaxhighlight>