Template:Infobox settlement: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
No edit summary
m (Undo revision 2293 by Sebbog (talk))
Tag: Undo
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{main other|{{#invoke:Settlement short description|main}}|}}{{Infobox
<includeonly>{{main other|{{#invoke:Settlement short description|main}}|}}
{{Infobox
| child = {{yesno|{{{embed|}}}}}
| child = {{yesno|{{{embed|}}}}}
| templatestyles = Infobox settlement/styles.css
| bodystyle =  
| bodyclass = ib-settlement vcard
float: right;
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;
background-color: #c2d4ed;
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;
 
| 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;


<!--** names, type, and transliterations ** -->
<!--** names, type, and transliterations ** -->
Line 84: Line 136:
         -->|image={{{image_skyline|}}}<!--
         -->|image={{{image_skyline|}}}<!--
         -->|size={{if empty|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=250px<!--
         -->|size={{if empty|{{{image_size|}}}|{{{imagesize|}}}}}|sizedefault=250px<!--
        -->|align=center<!--
         -->|alt={{if empty|{{{image_alt|}}}|{{{alt|}}}}}<!--
         -->|alt={{if empty|{{{image_alt|}}}|{{{alt|}}}}}<!--
         -->|title={{if empty|{{{image_caption|}}}|{{{caption|}}}|{{{image_alt|}}}|{{{alt|}}}}}}}<!--
         -->|title={{if empty|{{{image_caption|}}}|{{{caption|}}}|{{{image_alt|}}}|{{{alt|}}}}}}}<!--
Line 99: Line 152:
| 5 = {{#if:{{{image_map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map}}}|size={{{mapsize|}}}|sizedefault=100x100px|alt={{{map_alt|}}}|title={{{map_caption|Location of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}}}}}}{{#if:{{{map_caption|}}}|<div class="ib-settlement-caption-link">{{{map_caption}}}</div>}}}}
| 5 = {{#if:{{{image_map|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map}}}|size={{{mapsize|}}}|sizedefault=100x100px|alt={{{map_alt|}}}|title={{{map_caption|Location of {{#if:{{{name|}}}|{{{name}}}|{{{official_name}}}}}}}}}}{{#if:{{{map_caption|}}}|<div class="ib-settlement-caption-link">{{{map_caption}}}</div>}}}}
| 0 = {{#if:{{{pushpin_map_narrow|}}}|{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
| 0 = {{#if:{{{pushpin_map_narrow|}}}|{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
{{location map|{{{pushpin_map|}}}
|border = infobox
|alt = {{{pushpin_map_alt|}}}
|caption ={{#if:{{{pushpin_map_caption_notsmall|}}}|{{{pushpin_map_caption_notsmall|}}}|{{#if:{{{pushpin_map_caption|}}}|{{{pushpin_map_caption}}}|{{#if:{{{map_caption|}}}|{{{map_caption}}}}}}}}}
|float = center
|width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize}}}|150}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|overlay_image = {{{pushpin_overlay|}}}
|coordinates = {{{coordinates|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{official_name|}}}}}}} }}
|marksize =6
|outside = {{{pushpin_outside|}}}<!-- pin is outside the map -->
|position = {{{pushpin_label_position|}}}
}}
}} }}
}} }}
}} }}
}} }}
Line 151: Line 188:
| rowclass26 = mergedtoprow
| rowclass26 = mergedtoprow
|  data26 = {{#if:{{{pushpin_map_narrow|}}}||{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
|  data26 = {{#if:{{{pushpin_map_narrow|}}}||{{#if:{{both| {{{pushpin_map|}}} | {{{coordinates|}}} }}|
{{location map|{{{pushpin_map|}}}
|border = infobox
|alt = {{{pushpin_map_alt|}}}
|caption ={{#if:{{{pushpin_map_caption_notsmall|}}}|{{{pushpin_map_caption_notsmall|}}}|{{#if:{{{pushpin_map_caption|}}}|{{{pushpin_map_caption}}}|{{#if:{{{map_caption|}}}|{{#if:{{{image_map|}}}||{{{map_caption}}}}}}}}}}}
|float = center
|width = {{{pushpin_mapsize|}}}
|default_width = 250
|relief= {{{pushpin_relief|}}}
|AlternativeMap = {{{pushpin_image|}}}
|overlay_image = {{{pushpin_overlay|}}}
|coordinates = {{{coordinates|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{pushpin_label|}}}|{{{pushpin_label}}}|{{#if:{{{name|}}}|{{{name}}}|{{{official_name|}}}}}}} }}
|marksize =6
|outside = {{{pushpin_outside|}}}<!-- pin is outside the map -->
|position = {{{pushpin_label_position|}}}
}}
}} }}
}} }}



Latest revision as of 15:53, 19 May 2023

  1. "2016 U.S. Gazetteer Files". United States Census Bureau. Retrieved Aug 13, 2017.
  2. Cite error: Invalid <ref> tag; no text was provided for refs named \"USCensusEst2016\"