Difference between pages "Template:Infobox venue" and "Template:Infobox venue/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Frietjes
(add mapframe parameters to parameter check)
 
imported>Razonklnbd
(new variable for time difference for GMT at infobox to easily understand current time of venue with viewer local time)
 
Line 7: Line 7:
 
| titleclass  = fn org
 
| titleclass  = fn org
  
| subheader  = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}
+
| subheader  = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
| subheader2  = {{#if:{{{nickname|{{{othernames|}}}}}}|<div class="nickname">{{{nickname|{{{othernames|}}}}}}</div>}}
+
| subheader2  = {{#if:{{{nickname|{{{othernames|}}}}}}|<span class="nickname">{{{nickname|{{{othernames|}}}}}}</span>}}
 
   
 
   
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{logo_size|}}}|sizedefault=frameless|upright=1|alt={{{logo_alt|}}}}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{logo_size|}}}|sizedefault=frameless|upright=1|alt={{{logo_alt|}}}}}
Line 21: Line 21:
 
|  image4    = {{#if:{{{pushpin_map|}}}|{{Location map|{{{pushpin_map}}}
 
|  image4    = {{#if:{{{pushpin_map|}}}|{{Location map|{{{pushpin_map}}}
 
  | alt      =  
 
  | alt      =  
  | coordinates = {{{coordinates|}}}
+
  | coordinates={{{coordinates|}}}
 
  | float    = center
 
  | float    = center
| border  = infobox
+
  | caption  =  
  | caption  = {{#if:{{{pushpin_map_caption|}}}|{{{pushpin_map_caption}}}|Location within {{#invoke:Location map|data|{{{pushpin_map}}}|name}} }}
 
 
  | mark    = Red pog.svg
 
  | mark    = Red pog.svg
 
  | marksize = 7
 
  | marksize = 7
 
  | position = {{{pushpin_label_position|}}}
 
  | position = {{{pushpin_label_position|}}}
 
  | relief  = {{{pushpin_relief|}}}
 
  | relief  = {{{pushpin_relief|}}}
  | label    = {{If empty|{{{pushpin_label|}}}|{{{name|{{{stadium_name|{{{centre_name|}}}}}}}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
+
  | label    = {{If empty|{{{name|{{{stadium_name|{{{centre_name|}}}}}}}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
 
  | width    = {{If empty|{{{pushpin_mapsize|}}}|{{{map_size|}}}|250}}
 
  | width    = {{If empty|{{{pushpin_mapsize|}}}|{{{map_size|}}}|250}}
 
  }}}}  
 
  }}}}  
 
+
| caption4   = {{{pushpin_map_caption|}}}
| image5   = {{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{pushpin_map|}}}{{{image_map|}}}|no|yes}}|mapframe-zoom={{{mapframe-zoom|13}}}}}
 
| caption5  = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{pushpin_map|}}}{{{image_map|}}}|no|yes}}}}
 
  
 
|  label1    = Full name
 
|  label1    = Full name
Line 49: Line 46:
 
|  label5    = [[Geographic coordinate system|Coordinates]]
 
|  label5    = [[Geographic coordinate system|Coordinates]]
 
|  data5    = {{{coordinates|}}}
 
|  data5    = {{{coordinates|}}}
|  label6    = Elevation
+
|  label6    = Public transit
|  data6    = {{{elevation|{{{altitude|}}}}}}
+
|  data6    = {{{publictransit|}}}
|  label7    = Public transit
+
|  label7    = Parking
|  data7    = {{{publictransit|}}}
+
|  data7    = {{{parking|}}}
|  label8    = Parking
+
|  label8    = Owner
|  data8    = {{{parking|}}}
+
|  data8    = {{{owner|}}}
|  label9    = Owner
+
|  class8    = agent
|  data9    = {{{owner|}}}
+
|  label9    = Operator
 +
|  data9    = {{{operator|}}}
 
|  class9    = agent
 
|  class9    = agent
|  label10    = Operator
+
|  label10    = Designation
|  data10    = {{{operator|}}}
+
|  data10    = {{{designation|}}}
|  class10    = agent
+
|  label11    = Type
|  label11    = Designation
+
|  data11    = {{{type|}}}
|  data11   = {{{designation|}}}
+
class11   = category
|  label12    = Type
+
label12   = Genre(s)
|  data12   = {{{type|}}}
+
data12   = {{{genre|}}}
class12   = category
+
label13   = Seating type
label13   = Genre(s)
+
data13   = {{{seating_type|}}}
data13   = {{{genre|}}}
+
label14   = Executive suites
label14   = Seating type
+
data14   = {{{Suites|{{{suites|}}}}}}
data14   = {{{seating_type|}}}
+
label15   = [[Seating capacity|Capacity]]
label15   = Executive suites
+
data15   = {{{capacity|{{{seating_capacity|}}}}}}
data15   = {{{Suites|{{{suites|}}}}}}
+
label16   = Record&nbsp;attendance
label16   = [[Seating capacity|Capacity]]
+
data16   = {{{record_attendance|}}}
data16   = {{{capacity|{{{seating_capacity|}}}}}}
+
label17   = Field size
label17   = Record&nbsp;attendance
+
data17   = {{{dimensions|}}}
data17   = {{{record_attendance|}}}
+
label18   = Field shape
label18   = Field size
+
data18   = {{{field_shape|}}}
data18   = {{{dimensions|}}}
+
label19   = [[Area|Acreage]]
label19   = Field shape
+
data19   = {{{Acreage|{{{acreage|}}}}}}
data19   = {{{field_shape|}}}
+
label20   = Surface
label20   = [[Area|Acreage]]
+
data20   = {{{surface|}}}
data20   = {{{Acreage|{{{acreage|}}}}}}
+
label21   = Scoreboard
label21   = Surface
+
data21   = {{{scoreboard|}}}
data21   = {{{surface|}}}
+
label22   = Screens
label22   = Scoreboard
+
data22   = {{{screens|}}}
data22   = {{{scoreboard|}}}
+
label23   = Current use
label23   = Screens
+
data23   = {{{currentuse|}}}
data23   = {{{screens|}}}
+
class23   = category
label24   = Current use
+
label24   = Production
data24   = {{{currentuse|}}}
+
data24   = {{{production|}}}
class24   = category
+
 
label25   = Production
+
| header25    = {{#if:{{{broke ground|{{{broke_ground|}}}}}}{{{built|}}}<!-- not (((opened|))) -->{{{renovated|{{{rebuilt|}}}}}}{{{expanded|}}}<!-- not (((closed|))) -->{{{reopened|}}}{{{demolished|}}}{{{rebuilt|}}}{{{cost|{{{construction_cost|}}}}}}{{{architect|}}}{{{project manager|{{{project_manager|}}}}}}{{{structural engineer|}}}{{{services engineer|}}}{{{general contractor|{{{general_contractor|}}}}}}{{{main contractors|{{{main_contractors|}}}}}}|Construction}}
data25   = {{{production|}}}
+
|  label26    = Broke ground
 +
|  data26    = {{{broke ground|{{{broke_ground|}}}}}}
 +
|  label27    = Built
 +
|  data27    = {{{built|}}}
 +
|  label28    = Opened
 +
|  data28    = {{{opened|}}}
 +
|  label29    = Renovated
 +
|  data29    = {{{renovated|}}}
 +
|  label30    = Expanded
 +
|  data30    = {{{expanded|}}}
 +
|  label31    = Closed
 +
|  data31    = {{{closed|}}}
 +
|  label32    = Reopened
 +
|  data32    = {{{reopened|}}}
 +
|  label33    = Demolished
 +
|  data33    = {{{demolished|}}}
 +
|  label34    = Rebuilt
 +
|  data34    = {{{rebuilt|}}}
 +
|  label35    = Years active
 +
|  data35    = {{{yearsactive|}}}
 +
|  label36    = Construction cost
 +
|  data36    = {{{cost|{{{construction_cost|}}}}}}
 +
|  label37    = Architect
 +
|  data37    = {{{architect|}}}
 +
|  label38    = Builder
 +
|  data38    = {{{builder|}}}
 +
|  label39    = Project manager
 +
|  data39    = {{{project manager|{{{project_manager|}}}}}}
 +
|  label40    = Structural engineer
 +
|  data40    = {{{structural engineer|}}}
 +
|  label41    = Services engineer
 +
|  data41    = {{{services engineer|}}}
 +
|  label42    = General contractor
 +
|  data42    = {{{general contractor|{{{general_contractor|}}}}}}
 +
|  label43    = Main contractors
 +
|  data43    = {{{main contractors|{{{main_contractors|}}}}}}
 +
|  label49    = Time Difference
 +
|  data49    = {{{time difference|{{{time_difference|}}}}}}
  
| header26    = {{#if:{{{broke ground|{{{broke_ground|}}}}}}{{{built|}}}<!-- not (((opened|))) -->{{{renovated|{{{rebuilt|}}}}}}{{{expanded|}}}<!-- not (((closed|))) -->{{{reopened|}}}{{{demolished|}}}{{{rebuilt|}}}{{{cost|{{{construction_cost|}}}}}}{{{architect|}}}{{{project manager|{{{project_manager|}}}}}}{{{structural engineer|}}}{{{services engineer|}}}{{{general contractor|{{{general_contractor|}}}}}}{{{main contractors|{{{main_contractors|}}}}}}|Construction}}
 
|  label27    = Broke ground
 
|  data27    = {{{broke ground|{{{broke_ground|}}}}}}
 
|  label28    = Built
 
|  data28    = {{{built|}}}
 
|  label29    = Opened
 
|  data29    = {{{opened|}}}
 
|  label30    = Renovated
 
|  data30    = {{{renovated|}}}
 
|  label31    = Expanded
 
|  data31    = {{{expanded|}}}
 
|  label32    = Closed
 
|  data32    = {{{closed|}}}
 
|  label33    = Reopened
 
|  data33    = {{{reopened|}}}
 
|  label34    = Demolished
 
|  data34    = {{{demolished|}}}
 
|  label35    = Rebuilt
 
|  data35    = {{{rebuilt|}}}
 
|  label36    = Years active
 
|  data36    = {{{yearsactive|}}}
 
|  label37    = Construction cost
 
|  data37    = {{{cost|{{{construction_cost|}}}}}}
 
|  label38    = Architect
 
|  data38    = {{{architect|}}}
 
|  label39    = Builder
 
|  data39    = {{{builder|}}}
 
|  label40    = Project manager
 
|  data40    = {{{project manager|{{{project_manager|}}}}}}
 
|  label41    = Structural engineer
 
|  data41    = {{{structural engineer|}}}
 
|  label42    = Services engineer
 
|  data42    = {{{services engineer|}}}
 
|  label43    = General contractor
 
|  data43    = {{{general contractor|{{{general_contractor|}}}}}}
 
|  label44    = Main contractors
 
|  data44    = {{{main contractors|{{{main_contractors|}}}}}}
 
  
| header45   = {{#if:{{{tenants|{{{tenant|}}}}}}|Tenants}}
+
| header44   = {{#if:{{{tenants|{{{tenant|}}}}}}|Tenants}}
data46   = {{{tenants|{{{tenant|}}}}}}
+
data45   = {{{tenants|{{{tenant|}}}}}}
  
| header47   = {{#if:{{{website|{{{Website|}}}}}}{{{homepage|}}}{{{URL|}}}|Website}}
+
| header46   = {{#if:{{{website|{{{Website|}}}}}}{{{homepage|}}}{{{URL|}}}|Website}}
data48   = {{{website|{{{Website|{{{homepage|{{{URL|}}}}}}}}}}}}
+
data47   = {{{website|{{{Website|{{{homepage|{{{URL|}}}}}}}}}}}}
  
| header49   = {{{nrhp|{{{embedded|}}}}}}
+
| header48   = {{{nrhp|{{{embedded|}}}}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox venue with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox venue]] with unknown parameter "_VALUE_"|ignoreblank=y| Acreage | acreage | address | altitude | architect | broke ground | broke_ground | builder | built | capacity | caption | centre_name | city | closed | construction_cost | coordinates  | cost | country | currentuse | demolished | designation | dimensions | elevation | embedded | expanded | field_shape | former names | former_names | formernames | fullname | general contractor | general_contractor | genre | homepage | image | image_alt | image_caption | image_map | image_size | image_upright | location | logo_alt | logo_caption | logo_image | logo_size | main contractors | main_contractors | map_alt | map_caption | map_size | name | native_name | native_name_lang | nickname | nrhp | opened | operator | othernames | owner | parking | production | project manager | project_manager | publictransit | pushpin_label | pushpin_label_position | pushpin_map | pushpin_map_caption | pushpin_mapsize | pushpin_relief | rebuilt | record_attendance | renovated | reopened | scoreboard | screens | seating_capacity | seating_type | services engineer | stadium_name | structural engineer | Suites | suites | surface | tenant | tenants | type | URL | website | Website | yearsactive  
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox venue with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox venue]] with unknown parameter "_VALUE_"|ignoreblank=y| Acreage | acreage | address | architect | broke ground | broke_ground | builder | built | capacity | caption | centre_name | city | closed | construction_cost | coordinates  | cost | country | currentuse | demolished | designation | dimensions | embedded | expanded | field_shape | former names | former_names | formernames | fullname | general contractor | general_contractor | genre | homepage | image | image_alt | image_caption | image_map | image_size | image_upright | location | logo_alt | logo_caption | logo_image | logo_size | main contractors | main_contractors | map_alt | map_caption | map_size | name | native_name | native_name_lang | nickname | nrhp | opened | operator | othernames | owner | parking | production | project manager | project_manager | publictransit | pushpin_label_position | pushpin_map | pushpin_map_caption | pushpin_mapsize | pushpin_relief | rebuilt | record_attendance | renovated | reopened | scoreboard | screens | seating_capacity | seating_type | services engineer | stadium_name | structural engineer | Suites | suites | surface | tenant | tenants | type | URL | website | Website | yearsactive }}<noinclude>
| 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
 
}}{{#if:{{both|{{{image_map|}}}|{{{pushpin_map|}}}}}|[[Category:Pages using infobox venue with both image_map and pushpin_map]]}}{{#if:{{both|{{{map_caption|}}}|{{{pushpin_map|}}}}}|[[Category:Pages using infobox venue with both map_caption and pushpin_map]]}}<noinclude>
 
  
{{documentation}}<!-- Add category links to the /doc subpage, not here! -->
+
{{Documentation}}<!-- Add category links to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>