Difference between revisions of "Template:Infobox road/shieldmain/IRN"

From blackwiki
Jump to navigation Jump to search
imported>Fredddie
(narrow)
imported>Fredddie
(SVG)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch: {{{type|}}}
 
{{#switch: {{{type|}}}
|freeway=<div style="height: 80px; width: :{{#ifeq:{{{route|}}}|51|120|100}}px; display:flex; margin: auto;">
+
|freeway=[[File:Freeway in Iran.svg|x80px]]<span style="display: inline-block; vertical-align: bottom; line-height: 0; text-align: center; margin: none;">[[File:IRN-Fwy {{{route}}}.svg|x40px]]<br>[[File:IRN-EN-Fwy {{{route}}}.svg|x40px]]</span>
  <div style="flex: 1;">[[File:UK motorway symbol.svg|x80px]]</div>
+
|expressway=[[File:Expressway in Iran.svg|x80px]]
  <div style="display: flex; flex-direction: column; flex: 0 0 50%;">
+
|road=<span style="display: inline-block; vertical-align: bottom; line-height: 0; text-align: center; margin: none;">[[File:IRN-{{{route}}}.svg|x40px]]<br>[[File:IRN-EN-{{{route}}}.svg|x40px]]</span>
    <div style="flex: 50%;">[[File:IRN-Fwy {{{route}}}.svg|x40px]]</div>
+
|street=[[File:Street in Iran.svg|x80px]]
    <div style="flex: 50%;">[[File:IRN-EN-Fwy {{{route}}}.svg|x40px]]</div>
+
|boulevard=[[File:Avenue in Iran.svg|x80px]]
  </div>
 
</div>
 
|expressway=[[File:Expressway in Iran.png|x80px]]
 
|road=[[File:Road{{{route}}}.png|x80px]]
 
|street=[[File:Street in Iran.jpg|x80px]]
 
|boulevard=[[File:Avenue in Iran.jpg|x80px]]
 
 
|#default=none
 
|#default=none
 
}}
 
}}

Latest revision as of 02:27, 22 June 2019

none