வார்ப்புரு:Railway-routemap
This is a route-map template for {{#ifexist:{{{2}}}|{{#if:{{{the|}}}||the&amp;#32;}}[[{{{2}}}|{{#ifeq:{{lc:{{{display}}}}}|i|''{{{2}}}''|{{{display|{{{2}}}}}}}}]],}} {{a or an|{{#switch:{{lc:{{{cat}}}}}|s|stn|station={{{type|station}}}|seg|segment={{{type|[[Wikipedia:Route diagram template|RDT]] segment}}}|#default={{{type|railway}}}}}}} in {{#if:{{{place|}}}|{{{place}}}{{#if:{{#invoke:ustring|match|1={{{place}}}|2=%Aand$}}||,}}}} {{if empty|{{#switch:{{lc:{{{1}}}}}|afr=Africa|aa|asa=Asia|au|aus={{#switch:{{lc:{{{cat}}}}}|n|nt=Northern Territory,&amp;nbsp;|ns|nsw=New South Wales,&amp;nbsp;|q|qld=Queensland,&amp;nbsp;|v|vic=Victoria,&amp;nbsp;|s|sa=South Australia,&amp;nbsp;|t|tas=Tasmania,&amp;nbsp;|w|wa=Western Australia,&amp;nbsp;}}Australia|ct|cat=Catalonia|eu|eur=Europe|ko=Korea|nil=Northern Ireland‎|#default={{Iso2country|article=yes|{{if empty|{{ISO 3166 code|nocat=true|{{{1}}}}}|{{uc:{{{1}}}}}}}}} }}|{{{1}}}}}.
 * For information on using this template, refer to [[Template:Routemap]].
 * For pictograms used, see [[Commons:BSicon/Catalogue]].
 {{Template other|{{#switch:{{lc:{{{cat}}}}}
  | no =
  | #default = {{#switch:{{lc:{{{1}}}}}
  | ao | ago &lt;!-- Angola --&gt;
  | ar | arg &lt;!-- Argentina --&gt;
  | am | arm &lt;!-- Armenia --&gt;
  | aw | abw &lt;!-- Aruba --&gt;
  | az | aze &lt;!-- Azerbaijan --&gt;
  | by | blr &lt;!-- Belarus --&gt;
  | be | bel &lt;!-- Belgium --&gt;
  | ba | bih &lt;!-- Bosnia and Herzegovina --&gt;
  | bm | bmu &lt;!-- Bermuda --&gt;
  | bw | bwa &lt;!-- Botswana --&gt;
  | br | bra &lt;!-- Brazil --&gt;
  | bg | bgr &lt;!-- Bulgaria --&gt;
  | ca | can &lt;!-- Canada --&gt;
  | cl | chl &lt;!-- Chile --&gt;
  | cr | cri &lt;!-- Costa Rica --&gt;
  | dz | dza &lt;!-- Algeria --&gt;
  | hr | hrv &lt;!-- Croatia --&gt;
  | cu | cub &lt;!-- Cuba --&gt;
  | dk | dnk &lt;!-- Denmark --&gt;
  | fi | fin &lt;!-- Finland --&gt;
  | hk | hkg &lt;!-- Hong Kong --&gt;
  | it | ita &lt;!-- Italy --&gt;
  | jp | jpn &lt;!-- Japan --&gt;
  | jo | jor &lt;!-- Jordan --&gt;
  | ma | mar &lt;!-- Morocco --&gt;
  | mx | mex &lt;!-- Mexico --&gt;
  | mu | mus &lt;!-- Mauritius --&gt;
  | na | nam &lt;!-- Namibia --&gt;
  | np | npl &lt;!-- Nepal --&gt;
  | no | nor &lt;!-- Norway --&gt;
  | kp | prk &lt;!-- North Korea --&gt;
  | pa | pan &lt;!-- Panama --&gt;
  | pe | per &lt;!-- Peru --&gt;
  | qa | qat | &lt;!-- Qatar --&gt;
  | ro | rou &lt;!-- Romania --&gt;
  | ru | rus &lt;!-- Russia --&gt;
  | sa | sau &lt;!-- Saudi Arabia --&gt;
  | sn | sen &lt;!-- Senegal --&gt;
  | kr | kor &lt;!-- South Korea --&gt;
  | es | esp &lt;!-- Spain --&gt;
  | ch | che &lt;!-- Switzerland --&gt;
  | sy | syr &lt;!-- Syria --&gt;
  | tz | tza &lt;!-- Tanzania --&gt;
  | tn | tun &lt;!-- Tunisia --&gt;
  | tr | tur &lt;!-- Turkey --&gt;
  | ua | ukr &lt;!-- Ukraine --&gt;
  | vn | vnm &lt;!-- Vietnam --&gt;
  | zm | zmb &lt;!-- Zambia --&gt;
     = [[Category:Templates for railway lines in {{Iso2country|{{if empty|{{ISO 3166 code|nocat=true|{{{1}}}}}|{{uc:{{{1}}}}}}}}}{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | cz | cze &lt;!-- Czech Republic --&gt;
  | ph | phl &lt;!-- Philippines --&gt;
  | im | imn &lt;!-- Isle of Man --&gt;
  | ae | uae &lt;!-- United Arab Emirates --&gt;
     = [[Category:Templates for railway lines in the {{Iso2country|{{if empty|{{ISO 3166 code|nocat=true|{{{1}}}}}|{{uc:{{{1}}}}}}}}}{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | at | aut &lt;!-- Austria --&gt;
  | bd | bgd &lt;!-- Bangladesh --&gt;
  | fr | fra &lt;!-- France --&gt;
  | de | deu &lt;!-- Germany --&gt;
  | gr | grc &lt;!-- Greece --&gt;
  | hu | hun &lt;!-- Hungary --&gt;
     = [[Category:Templates for railway lines of {{Iso2country|{{if empty|{{ISO 3166 code|nocat=true|{{{1}}}}}|{{uc:{{{1}}}}}}}}}{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | in | ind &lt;!-- India --&gt;
 
     = [[பகுப்பு:இந்தியாவின் இருப்பு வழி பாதைகளுக்கான வார்ப்புருக்கள்]]
 
  | id | idn &lt;!-- Indonesia --&gt;
  | il | isr &lt;!-- Israel --&gt;
  | jm | jam &lt;!-- Jamaica --&gt;
  | ke | ken &lt;!-- Kenya --&gt;
  | lv | lva &lt;!-- Latvia --&gt;
  | lt | ltu &lt;!-- Lithuania --&gt;
  | lu | lux &lt;!-- Luxembourg --&gt;
  | my | mys &lt;!-- Malaysia --&gt;
  | ml | mli &lt;!-- Mali --&gt;
  | mt | mlt &lt;!-- Malta --&gt;
  | mr | mrt &lt;!-- Mauritania --&gt;
  | mm | mmr &lt;!-- Myanmar --&gt;
  | nz | nzl &lt;!-- New Zealand --&gt;
  | pk | pak &lt;!-- Pakistan --&gt;
  | pl | pol &lt;!-- Poland --&gt;
  | pt | prt &lt;!-- Portugal --&gt;
  | rs | srb &lt;!-- Serbia --&gt;
  | si | svn &lt;!-- Slovenia --&gt;
  | za | zaf &lt;!-- South Africa --&gt;
  | lk | lka &lt;!-- Sri Lanka --&gt;
  | se | swe &lt;!-- Sweden --&gt;
  | tw | twn &lt;!-- Taiwan --&gt;
     = [[Category:Templates for railway lines of {{Iso2country|{{if empty|{{ISO 3166 code|nocat=true|{{{1}}}}}|{{uc:{{{1}}}}}}}}}{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | nl | nld &lt;!-- Netherlands --&gt;
  | ae | are &lt;!-- United Arab Emirates --&gt;
  | gb | gbr | uk &lt;!-- United Kingdom --&gt;
  | us | usa &lt;!-- United States --&gt;
     = [[Category:Templates for railway lines of the {{Iso2country|{{if empty|{{ISO 3166 code|nocat=true|{{{1}}}}}|{{uc:{{{1}}}}}}}}}{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | au | aus &lt;!-- Australia --&gt; =
    {{#switch:{{lc:{{{cat}}}}}
      | ns | nsw = [[Category:New South Wales route diagram templates{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
      | q  | qld = [[Category:Queensland route diagram templates{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
      | v  | vic = [[Category:Victoria (state) route diagram templates{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
      | n | nt | s | sa | t | tas | w | wa
      | #default = [[Category:Templates for railway lines of Australia{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
    }}
 
  |      afr = [[Category:Templates for railway lines in Africa{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
  | eu | eur = &lt;!-- Europe --&gt;
 
  | ct | cat = [[Category:Templates for railway lines in Catalonia{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}‎]]
  | cn | chn = [[Category:Templates for railway lines in the People's Republic of China{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}‎]]
  | cd | cod = [[Category:Templates for railway lines in the Democratic Republic of the Congo{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}‎]]
  | ko       = [[Category:Templates for railway lines in Korea{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]] &lt;!-- not an official code --&gt;
  | ge | geo = [[Category:Templates for railway lines of Georgia (country)|{{uc:{{{1}}}}}}}}} (country){{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
  | ie | irl = [[Category:Templates for railway lines of Ireland{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
  |      nil = [[Category:Templates for railway lines of Northern Ireland{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}‎]]
 
  | af | afg = [[Category:Rail transport in Afghanistan{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
  | mn | mng = [[Category:Rail transport in Mongolia{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
  | va | vat = [[Category:Rail transport in Vatican City{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | sg | sgp = [[Category:Singapore transport route diagram templates{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
  | th | tha = [[Category:Thailand transport route diagram templates{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | ee | est = [[Category:Estonia rail transport templates{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
 
  | #default = }}
  }}
  {{#switch:{{lc:{{{cat}}}}}
  | s | stn | station = [[Category:{{#switch:{{lc:{{{1}}}}}
    | au | aus = Australia
    | hk | hkg = Hong Kong
    | jp | jpn = Japan
    | no | nor = Norway
    | sg | sgp = Singapore
    | gb | gbr | uk | nil = United Kingdom
    | us | usa = United States
    }} station layout templates{{#if:{{{catidx|}}}|{{!}}{{{catidx}}}|}}]]
  | seg | segment = [[Category:Route diagram template segments]]
  }}
 }}&lt;noinclude&gt;