Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox building: Difference between revisions

Template page
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{#invoke:Type in location|main|{{{building_type|Building}}}|{{comma separated entries
{{main other|{{#if:{{#invoke:Is infobox in lead|main|[Ii]nfobox [Bb]uilding}}|{{#if:{{Has short description}} |<!--Do nothing--> |{{#invoke:Type in location|main|{{{building_type|Building}}}|{{comma separated entries
  |1= {{if empty|{{{location|}}}|{{{address|}}}}}
  |1= {{if empty|{{{location|}}}|{{{address|}}}}}
  |2= {{if empty|{{{location_town|}}}|{{{location_city|}}}}}
  |2= {{if empty|{{{location_town|}}}|{{{location_city|}}}}}
  |3= {{{location_country|}}}
  |3= {{{location_country|}}}
}}}}}}}}{{Infobox
}}}}}}}}}}{{Infobox
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| child = {{#ifeq:{{{embed|}}}|yes|yes}}
| bodyclass  = vcard
| bodyclass  = vcard
Line 20: Line 20:
| caption2  = {{{caption|{{{image_caption|}}}}}}
| caption2  = {{{caption|{{{image_caption|}}}}}}


| image4      = {{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}|mapframe-zoom={{{mapframe-zoom|13}}}|mapframe-frame-width={{{mapframe-frame-width|250}}}}}
| image3    = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type|}}}}}}
| caption4    = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}}}
|alt    = {{{pushpin_map_alt|{{{map_alt|}}}}}}
|coordinates = {{{coordinates|}}}
|float  = center
|mark    = {{{map_dot_mark|Red pog.svg}}}
|marksize= 7
|label  = {{{pushpin_label|{{{map_dot_label|}}}}}}
|relief  = {{{pushpin_relief|{{{relief|}}}}}}
|border  = infobox
|caption = {{{pushpin_map_caption|{{{map_caption|Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}}}}}}
|width  = {{{pushpin_mapsize|{{{map_size|}}}}}}
}} |<!-- else if map_type is blank
-->{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{map_size|}}}|sizedefault=250px|alt={{{map_alt|}}}}}<!-- end if map_type
-->}}
| caption3  = {{#if:{{{pushpin_map|{{{map_type|}}}}}} |<!-- leave blank -->| {{{map_caption|}}} }}


| label1    = Former names
| label1    = Former names
Line 102: Line 115:
|  data17  = {{{location_country|}}}
|  data17  = {{{location_country|}}}


| label18  = Coordinates
| label18  = [[Geographic coordinate system|Coordinates]]
|  data18  = {{{coordinates|}}}
|  data18  = {{{coordinates|}}}



Latest revision as of 07:05, 6 October 2024