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

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Evad37
(Adding mapframe mapping capability per Wikipedia:Requests for comment/Mapframe maps in infoboxes)
 
imported>Steel1943
(Dab)
 
Line 23: Line 23:
 
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{map_size|}}}|sizedefault=250px|alt={{{map_alt|}}}}}
 
   |{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{map_size|}}}|sizedefault=250px|alt={{{map_alt|}}}}}
 
   }}
 
   }}
| caption2    = {{#if:{{{map|}}}||{{{map_caption|}}}}}
+
| caption2    = {{#if:{{{map_type|}}}||{{{map_caption|}}}}}
 
 
| image3    = {{#invoke:Infobox mapframe|auto}}
 
| caption3  = {{#invoke:Infobox mapframe|autocaption}}
 
  
 
| label1    = Alternative name(s)
 
| label1    = Alternative name(s)
Line 89: Line 86:
 
   | data2  = {{{robust_struct_built|}}}
 
   | data2  = {{{robust_struct_built|}}}
 
   | label3  = Size and area
 
   | label3  = Size and area
   | data3  = {{#if: {{{robust_struct_dim1|}}} {{{robust_struct_dim2|}}} | {{{robust_struct_dim1|}}} m × {{{robust_struct_dim2|}}} m|}} {{#if:{{{robust_struct_area|}}}|({{{robust_struct_area|}}} [[hectare|ha]])|}}
+
   | data3  = {{#if: {{{robust_struct_dim1|}}} {{{robust_struct_dim2|}}} | {{{robust_struct_dim1|}}} m x {{{robust_struct_dim2|}}} m|}} {{#if:{{{robust_struct_area|}}}|({{{robust_struct_area|}}} [[hectare|ha]])|}}
 
   | label4  = Shape
 
   | label4  = Shape
 
   | data4  = {{{robust_struct_shape|}}}
 
   | data4  = {{{robust_struct_shape|}}}
Line 110: Line 107:
 
   | data2  = {{{weak_struct_built|}}}
 
   | data2  = {{{weak_struct_built|}}}
 
   | label3  = Size and area
 
   | label3  = Size and area
   | data3  = {{#if: {{{weak_struct_dim1|}}} {{{weak_struct_dim2|}}} | {{{weak_struct_dim1|}}} m × {{{weak_struct_dim2|}}} m ({{{weak_struct_area|}}} [[hectare|ha]])|}}
+
   | data3  = {{#if: {{{weak_struct_dim1|}}} {{{weak_struct_dim2|}}} | {{{weak_struct_dim1|}}} m x {{{weak_struct_dim2|}}} m ({{{weak_struct_area|}}} [[hectare|ha]])|}}
 
   | label4  = Shape
 
   | label4  = Shape
 
   | data4  = {{{weak_struct_shape|}}}
 
   | data4  = {{{weak_struct_shape|}}}
Line 222: Line 219:
 
| data79    = {{{notes|}}}
 
| data79    = {{{notes|}}}
  
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox castrum with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox castrum]] with unknown parameter "_VALUE_"|ignoreblank=y| name | image | image_size | image_alt | alt | caption | map | map_alt | map_relief | map_caption | map_size | image_map | alt_names | known_as | type | built_during_reign_of | founded | abandoned | attested_by | previous_fortification | province | capital_of | admin_unit_2 | admin_unit_1 | limes | nearby_water | links | robust_struct_material | weak_struct_material | robust_struct_built_during_reign_of | robust_struct_built | robust_struct_dim1 | robust_struct_dim2 | robust_struct_area | robust_struct_shape | robust_struct_thickness | robust_struct_technique | robust_struct_towers | weak_struct_built_during_reign_of | weak_struct_built | weak_struct_dim1 | weak_struct_dim2 | weak_struct_area | weak_struct_shape | weak_struct_thickness | weak_struct_technique | weak_struct_towers | legions | cohorts | alae | numeri | classis | events | coordinates | altitude_m | altitude | place_name | location_town | location_county | location_region | location_country | iso_region | altitude_ref | location_state | ref:UK:OSNG | ref:RO:LMI | ref:RO:RAN | ref:RO:SIRUTA | ref:UNESCO | recognition | coins_found | discovery_year | condition | controlled_by | excavations | archaeologists | exhibitions | notes | 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 }}<noinclude>
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox castrum with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox castrum]] with unknown parameter "_VALUE_"|ignoreblank=y| name | image | image_size | image_alt | alt | caption | map | map_alt | map_relief | map_caption | map_size | image_map | map_type | alt_names | known_as | type | built_during_reign_of | founded | abandoned | attested_by | previous_fortification | province | capital_of | admin_unit_2 | admin_unit_1 | limes | nearby_water | links | robust_struct_material | weak_struct_material | robust_struct_built_during_reign_of | robust_struct_built | robust_struct_dim1 | robust_struct_dim2 | robust_struct_area | robust_struct_shape | robust_struct_thickness | robust_struct_technique | robust_struct_towers | weak_struct_built_during_reign_of | weak_struct_built | weak_struct_dim1 | weak_struct_dim2 | weak_struct_area | weak_struct_shape | weak_struct_thickness | weak_struct_technique | weak_struct_towers | legions | cohorts | alae | numeri | classis | events | coordinates | altitude_m | altitude | place_name | location_town | location_county | location_region | location_country | iso_region | altitude_ref | location_state | ref:UK:OSNG | ref:RO:LMI | ref:RO:RAN | ref:RO:SIRUTA | ref:UNESCO | recognition | coins_found | discovery_year | condition | controlled_by | excavations | archaeologists | exhibitions | notes | website }}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>