Template:RSIGN/doc
This template adds a road's icon to the page, and displays the road's link either if the corresponding icon is unavailable, or if the page is viewed with the mobile (Mercury) interface.
Syntax
{{RSIGN|Country code|type of road|road number|(Link to article)|SIZE=|GAME=}}
- Required:
- Country code like
IT
for Italy. - type of road like
A
for Italian Autostradas. - road number like
1
for A 1.
- Country code like
- Optional:
- Link to article Normally the link will be set automatically.
- SIZE Size of the icon (without "px")
SIZE=40
- GAME Game that the icon would apply. Use this only if you actually have that icon.
- ETS1 = Euro Truck Simulator
- ETS2 = Euro Truck Simulator 2
List of Supported Country Codes
Code | Country | |
---|---|---|
AL | Albania | ![]() |
AT | Austria | ![]() |
BA | Bosnia and Herzegovina | ![]() |
BE | Belgium | ![]() |
BG | Bulgaria | ![]() |
CH | Switzerland | ![]() |
CZ | Czech Republic | ![]() |
DE | Germany | ![]() |
DK | Denmark | ![]() |
EE | Estonia | ![]() |
ES | Spain | ![]() |
EU | Europe (for European Routes) | ![]() |
FI | Finland | ![]() |
FR | France | ![]() |
GB | United Kingdom | ![]() |
HR | Croatia | ![]() |
HU | Hungary | ![]() |
IT | Italy | ![]() |
LT | Lithuania | ![]() |
LU | Luxembourg | |
LV | Latvia | ![]() |
ME | Montenegro | ![]() |
MK | North Macedonia | ![]() |
NL | Netherlands | ![]() |
NO | Norway | ![]() |
PL | Poland | ![]() |
PT | Portugal | ![]() |
RO | Romania | ![]() |
RS | Serbia | ![]() |
RU | Russia | ![]() |
SE | Sweden | ![]() |
SI | Slovenia | ![]() |
SK | Slovakia | ![]() |
TR | Turkey | ![]() |
XK | Kosovo | ![]() |
US | United States | ![]() |
Examples
{{RSIGN|IT|A|1}}
results in (for Italian Autostrada A1)
{{RSIGN|IT|A|1||35}}
results in
(for Italian Autostrada A1 with E-Road)
{{RSIGN|DE|A|1|60|SIZE=40}}
results in (for big icon of German Autobahn A1)
{{RSIGN|IT|A|999}}
results in A999 (for roads that don't have icons yet)
{{RSIGN|EU|E|35}} or {{RSIGN|IT|E|35}}
results in (for E-Roads, works with most country)
New version (starting with France)
{{RSIGN|FR|A|2|GAME=ETS2}}
{{RSIGN|FR|E|17|GAME=ETS2|SIZE=20}}
Additional Information
Previously it's found that the template does not work as expected in Infoboxes or <gallery>
tags when viewed with mobile (Mercury) interface. However, more recent tests suggest that the template works properly when viewed on mobile devices. Editors should still pay attention when adding this template to pages.
Patrickov explains the issues this template can have on mobile devices in the discussion below the Mid-March 2022 blog report.