Difference between revisions of "Template:Infobox road/name/ESP"

From blackwiki
Jump to navigation Jump to search
imported>Fredddie
(add some logic to National roads)
imported>Fredddie
(+C)
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
  |#default=Autovía {{{type}}}-{{{route}}}
 
  |#default=Autovía {{{type}}}-{{{route}}}
 
}}
 
}}
|GJ|PO={{{type}}}-{{{route}}}
+
|C|GJ|PO={{{type}}}-{{{route}}}
 
|N|national|nacional={{#switch:{{{route}}}
 
|N|national|nacional={{#switch:{{{route}}}
 
  |I|II|III|IV|V|VI|IIa|IVa=National road {{{route}}}
 
  |I|II|III|IV|V|VI|IIa|IVa=National road {{{route}}}
  |#default=National road {{#iferror:{{#expr:1+{{{route}}}}}|{{{route}}}|N-{{{route}}}}}
+
  |#default={{#iferror:{{#expr:1+{{{route}}}}}|{{{route}}}|National road N-{{{route}}}}}
 
  }}
 
  }}
 
|R=Autopista Radial R-{{{route}}}
 
|R=Autopista Radial R-{{{route}}}

Latest revision as of 20:14, 23 December 2020