Jump to content

Template:Infobox zoo and Template:Infobox zoo/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
No edit summary
 
Create sandbox version of Template:Infobox zoo
 
Line 1: Line 1:
{{main other|{{#if:{{Has short description}} |<!--Do nothing--> |{{#invoke:Type in location|main|{{#if:{{{floorspace|}}}{{{largest_tank_vol|}}}{{{total_tank_vol|}}}|Aquarium|Zoo}}|{{{location|}}}}}}}}}
{{#if:{{Has short description}} |<!--Do nothing--> |{{#invoke:Type in location|main|{{#if:{{{floorspace|}}}{{{largest_tank_vol|}}}{{{total_tank_vol|}}}|Aquarium|Zoo}}|{{{location|}}}}}}}{{Infobox
{{Infobox
| bodyclass = vcard
| bodyclass = vcard
| title = {{{name|{{{zoo_name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}}
| titleclass = fn org
| titleclass = fn org

| above = {{#ifeq:{{{embed|}}}|yes
|
|{{if empty|{{{name|}}}|{{{zoo name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
}}

| abovestyle = text-align:center;background-color:#ededed;

| subheader = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|alt={{{logo_alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|alt={{{logo_alt|}}}}}
Line 18: Line 9:
| caption2 = {{{image_caption|}}}
| caption2 = {{{image_caption|}}}


| label1 = Slogan
| image4 = {{#if:{{{pushpin map|}}}|
| data1 = {{{slogan|}}}
{{Location map|{{{pushpin map|}}}
| label2 = Date opened
|label={{#ifeq: {{lc: {{{pushpin label position|}}} }} | none | | {{if empty|{{{name|}}}|{{PAGENAMEBASE}}}} }}
|alt = {{{pushpin map alt|}}}
| data2 = {{{date_opened|}}}
| label3 = Date opening
|relief = {{{relief|}}}
|coordinates = {{{coordinates|}}}
| data3 = {{{date_opening|}}}
| label4 = Date closed
|float = center
|caption = {{{map caption|}}}
| data4 = {{{date_closed|}}}
| label5 = Location
|border = infobox
|position = {{{pushpin label position|}}}
| data5 = {{{location|}}}
| class5 = label
|width = {{if empty|{{{pushpin mapsize|}}}| 250 }}
| label6 = [[Geographic coordinate system|Coordinates]]
}}
| data6 = {{{coordinates|}}}
}}

| image5 = {{#invoke:Infobox mapframe|auto| onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}|mapframe-zoom={{{mapframe-zoom|12}}}|mapframe-marker=zoo|mapframe-marker-color= #008000 |mapframe-width=250|mapframe-frame-width=250| mapframe-wikidata = {{{mapframe-wikidata|yes}}}}}
| caption5 = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{pushpin map|}}}|no|yes}}}}

| data1 = {{#if:{{{coordinates|}}}
|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{country}}}}}}}}} |}}

| label2 = Slogan
| data2 = {{{slogan|}}}
| label3 = Date opened
| data3 = {{{date_opened|}}}
| label4 = Date opening
| data4 = {{{date_opening|}}}
| label5 = Date closed
| data5 = {{{date_closed|}}}
| label6 = Location
| data6 = {{{location|}}}
| class6 = label
| label7 = Land area
| label7 = Land area
| data7 = {{{area|}}}
| data7 = {{{area|}}}