Jump to content

Template:Infobox convention center and Template:Infobox convention center/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
No edit summary
 
Fix problem with caption - if not defined it displayed as "90%". Use invoke:InfoboxImage and add parameters for size and alt text.
 
Line 1: Line 1:
{{Infobox
{{#invoke:infobox|infoboxTemplate
| bodyclass = vcard
| bodyclass = vcard


| aboveclass = fn org
| aboveclass = fn org
| abovestyle = font-size:larger;
| above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| above = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}


| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}} |size={{{logo_size|}}} |sizedefault=250px |alt={{{logo_alt|{{{logo_alt|}}}}}} }}
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=220px |maxsize=250px |alt={{{image_alt|{{{alt|}}}}}} }}
| image2 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=250px |alt={{{image_alt|{{{alt|}}}}}} }}
| caption = {{#if:{{{image_caption|{{{caption|}}}}}} |{{smaller|{{{image_caption|{{{caption|}}}}}}}} }}
| caption2 = {{{image_caption|{{{caption|}}}}}}
| image3 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image2|}}} |size={{{image2_size|}}} |sizedefault=250px |alt={{{image2_alt|{{{alt|}}}}}} }}
| caption3 = {{{image2_caption|{{{caption2|}}}}}}
| image4 = {{#if:{{{pushpin_map|{{{map_type|}}}}}}|{{Location map|{{{pushpin_map|{{{map_type|}}}}}}
|alt = {{{pushpin_map_alt|{{{map_alt|}}}}}}
|coordinates = {{{coordinates|}}}
|float = center
|mark = Red pog.svg
|marksize= 7
|label = {{{pushpin_label|{{{map dot 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
-->}}
| caption4 = {{#if:{{{pushpin_map|{{{map_type|}}}}}} |<!-- added above -->|{{#if:{{{image_map|}}} |{{{map_caption|}}} }}}}

| image5 = {{#invoke:Infobox mapframe|auto|mapframe-frame-width=250|mapframe-width=250|onByDefault={{#if:{{{pushpin_map|}}}|no|yes}}|mapframe-shape=on}}
| caption5 = {{#invoke:Infobox mapframe|autocaption}}


| headerstyle = background:#eee;
| headerstyle = background:#eee;
Line 49: Line 29:
| data6 = {{{built|}}}
| data6 = {{{built|}}}


| label7 = Architect
| label7 = Inaugurated
| data7 = {{{architect|}}}
| data7 = {{{inaugurated|}}}
| class7 = label


| label8 = Inaugurated
| label8 = Renovated
| data8 = {{{inaugurated|}}}
| data8 = {{{renovated|}}}
| class8 = label


| label9 = Opened
| label9 = Opened
| data9 = {{{opened|}}}
| data9 = {{{opened|}}}


| label10 = Renovated
| label10 = Closed
| data10 = {{{renovated|}}}
| data10 = {{{closed|}}}

| label11 = Expanded
| data11 = {{{expanded|}}}

| label12 = Closed
| data12 = {{{closed|}}}

| label13 = Demolished
| data13 = {{{demolished|}}}


| label11 = Demolished
| label14 = {{longitem|Construction cost}}
| data14 = {{{construction_cost|}}}
| data11 = {{{demolished|}}}


| label15 = {{longitem|Former names}}
| label12 = {{longitem|Construction cost}}
| data15 = {{{former_names|}}}
| data12 = {{{construction_cost|}}}


| label16 = {{longitem|{{nowrap|Classroom-style}} seating}}
| label13 = {{longitem|Former names}}
| data16 = {{{classroom_cap|}}}
| data13 = {{{former_names|}}}


| label17 = {{longitem|{{nowrap|Meeting-room}} seating}}
| label14 = {{longitem|{{nowrap|Classroom-style}} seating}}
| data17 = {{{meeting_cap|}}}
| data14 = {{{classroom_cap|}}}


| label15 = {{longitem|{{nowrap|Meeting-room}} seating}}
| label18 = Banquet/ballroom
| data18 = {{{banquets|}}}
| data15 = {{{meeting_cap|}}}


| label16 = Banquet/ballroom
| label19 = {{longitem|Theatre seating}}
| data19 = {{{theatre|}}}
| data16 = {{{banquets|}}}


| label17 = {{longitem|Theatre seating}}
| header20 = <includeonly>Enclosed space</includeonly>
| data17 = {{{theatre|}}}


| header18 = <includeonly>Enclosed space</includeonly>
| label21 = &nbsp;•&nbsp;Total&nbsp;space
| data21 = {{{total_space|}}}


| label22 = &nbsp;•&nbsp;Exhibit&nbsp;hall&nbsp;floor
| label19 = &nbsp;•&nbsp;Total&nbsp;space
| data22 = {{{exhibit|}}}
| data19 = {{{total_space|}}}


| label23 = &nbsp;•&nbsp;Breakout/meeting
| label20 = &nbsp;•&nbsp;Exhibit&nbsp;hall&nbsp;floor
| data23 = {{{breakout|}}}
| data20 = {{{exhibit|}}}


| label24 = &nbsp;•&nbsp;Ballroom
| label21 = &nbsp;•&nbsp;Breakout/meeting
| data24 = {{{ballroom|}}}
| data21 = {{{breakout|}}}


| label25 = Parking
| label22 = &nbsp;•&nbsp;Ballroom
| data25 = {{{parking|}}}
| data22 = {{{ballroom|}}}


| label23 = Parking
| label26 = {{longitem|Bicycle facilities}}
| data26 = {{{bicycle|}}}
| data23 = {{{parking|}}}


| label24 = {{longitem|Bicycle facilities}}
| label27 = Public&nbsp;transit access
| data27 = {{{publictransit|}}}
| data24 = {{{bicycle|}}}


| label25 = Public&nbsp;transit access
| header28 = {{#if:{{{tenants|}}}|Tenants}}
| data29 = {{{tenants|}}}
| data25 = {{{publictransit|}}}


| header30 = {{#if:{{{website|}}}|Website}}
| label26 = Website
| data31 = {{{website|}}}
| data26 = {{{website|}}}


}}<noinclude>{{Documentation}}</noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox convention center with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox convention center]] with unknown parameter "_VALUE_"|ignoreblank=y| address | alt | architect | ballroom | banquets | bicycle | breakout | built | caption | caption2 | classroom_cap | closed | construction_cost | coordinates | demolished | exhibit | expanded | former_names | image | image2 | image_alt | image2_alt | image_caption | image2_caption | image_map | image_size | image2_size | inaugurated | location | logo | logo_alt | logo_size | map dot label | map_alt | map_caption | map_dot_label | map_size | map_type | meeting_cap | name | opened | operator | owner | parking | publictransit | pushpin_label | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_mapsize | pushpin_relief | relief | renovated | tenants | theatre | total_space | website | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher | mapframe-height | mapframe-width }}<noinclude>
{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS. -->
</noinclude>