Template:Infobox road: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
Line 1: Line 1:
{{Infobox
{{Infobox
|templatestyles =Infobox road/styles.css
| bodystyle =  
|headerclass={{#invoke:Infobox road|headerStyle}}
float: right;
|belowstyle=line-height:150%
clear: right;
margin: 0 0 1em 1em;
width: 300px;
background-color: #f5f5f5;
border: 1px solid #cecece;
font-size: 88%;
padding: 0;
border-spacing: 0;
border-collapse: collapse; <!-- for hidden border -->
| abovestyle =  
font-size: 125%;
line-height: 1.2;
font-weight: bold;
text-align: center;
padding-top: 0.5em;
padding-bottom: {{#if: {{{name|}}}| 0.25em | 0.6em }};
 
| subheaderstyle =  
padding-bottom: 0.5em;
font-weight: normal;
font-size: 125%;
line-height: 1.2;
text-align: center;
 
| imagestyle =
text-align: center;
padding-top: 0.6em;
border-top: 1px solid #a2a9b1;
 
| headerstyle =
text-align: left;
padding: 0.4em 1em 0 1em;
border-top: 1px solid #a2a9b1;
font-weight: bold;
 
| labelstyle =
vertical-align: top;
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 1em;
text-align: left;
width: 80px;
 
| datastyle =
vertical-align: top;
border-top: 1px solid #a2a9b1;
padding: 0.4em 1em 0.2em 0.6em;
text-align: left;
 
| rowstyle3 =
border-top: hidden;
| bodyclass = vcard
| templatestyles = infobox/mobileviewfix.css
 
<!-- ROUTE MARKER AND ROUTE NAME -->
<!-- ROUTE MARKER AND ROUTE NAME -->
|above={{#switch:{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}
|above={{#switch:{{Infobox road/meta/mask/country|{{{state|}}}{{{province|}}}|{{{country|}}}}}

Latest revision as of 11:04, 18 November 2023

[[File:|300px|alt=]]