Template:RSIGN

From Truck Simulator Wiki
Jump to navigation Jump to search
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:RSIGN/doc to edit this documentation. (How does this work?)


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.
  • 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.

List of Supported Country Codes

Code Country
AL Albania Flag of Albania.png
AT Austria Flag of Austira.png
BA Bosnia and Herzegovina Flag of Bosnia and Herzegovina.png
BE Belgium Flag of Belgium.png
BG Bulgaria Flag of Bulgaria.png
CH Switzerland Flag of Switzerland.png
CZ Czech Republic Flag of Czech Republic.png
DE Germany Flag of Germany.png
DK Denmark Flag of Denmark.png
EE Estonia Flag of Estonia.png
ES Spain Flag of Spain.png
EU Europe (for European Routes) Flag of European Union.png
FI Finland Flag of Finland.png
FR France Flag of France.png
GB United Kingdom Flag of United Kingdom.png
HR Croatia Flag of Croatia.png
HU Hungary Flag of Hungary.png
IT Italy Flag of Italy.png
LT Lithuania Flag of Lithuania.png
LU Luxembourg Flag of Luxembourg.svg
LV Latvia Flag of Latvia.png
ME Montenegro Flag of Montenegro.png
MK North Macedonia Flag of North Macedonia.png
NL Netherlands Flag of Netherlands.png
NO Norway Flag of Norway.png
PL Poland Flag of Poland.png
PT Portugal Flag of Portugal.png
RO Romania Flag of Romania.png
RS Serbia Flag of Serbia.png
RU Russia Flag of Russia.png
SE Sweden Flag of Sweden.png
SI Slovenia Flag of Slovenia.png
SK Slovakia Flag of Slovakia.png
TR Turkey Flag of Turkey.png
XK Kosovo Flag of Kosovo.png
US United States Flag of United States.png

Examples

{{RSIGN|IT|A|1}}

results in A1 (for Italian Autostrada A1)


{{RSIGN|IT|A|1||35}}

results in A1 E35 (for Italian Autostrada A1 with E-Road)


{{RSIGN|DE|A|1|60|SIZE=40}}

results in A1 (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 E35 (for E-Roads, works with most country)


New version (starting with France)

{{RSIGN|FR|A|2|GAME=ETS2}}

results in A2

{{RSIGN|FR|E|17|GAME=ETS2|SIZE=20}}
results in E17