Difference between revisions of "Template:Infobox Italian comune/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Cabayi
(add a reflist so the error message sits where it belongs)
imported>DePiep
(Reorder sections only (local admin checks -like region presence- more below). No content change.)
 
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
 +
 +
==Napoli==
 +
:[[Napoli]] (uses many parameters)
 +
{{testcase table
 +
| name                  = Naples
 +
| native_name          = {{native name|it|Napoli}}<br/>{{native name|nap|Napule}}
 +
| official_name        = Comune di Napoli
 +
| image_skyline        = MontageofNaples.jpg
 +
| image_caption        = Top:Panorama view of Mergellina Port, Mergellina, Chiaia area, over view of [[Mount Vesuvius]], Second left:Naples Directional Center (''Centro Direzionale di Napoli'') and Spaccanapoli Street, Second right:Via Toledo Street, Third left:Naples Media Center, Third right:[[Castel Nuovo]] (''Maschio Angioino''), Bottom:View of Centro Direzionale di Napoli, from Naples Railroad Station
 +
| image_shield          = CoA Città di Napoli.svg
 +
| shield_size          =
 +
| image_map            = Map of comune of Naples (Metropolitan city of Naples, region Campania, Italy).svg
 +
| nickname              = Partenope
 +
| motto                =
 +
| region                = [[Campania]]
 +
| metropolitan_city    = [[Metropolitan City of Naples|Naples]] (NA)
 +
| province              =
 +
| frazioni              =
 +
| adjacentcomuni        =
 +
| established_date      =
 +
| mayor                = [[Luigi de Magistris (mayor)|Luigi de Magistris]]
 +
| mayor_party          = [[Democrazia Autonomia|DA]]
 +
| elevation_footnotes  =
 +
| elevation_m          = 17
 +
| area_footnotes        =
 +
| area_total_km2        = 117.27
 +
| population_footnotes  =<ref name=ComItData2012 /><ref name=CityPop2011>[http://www.citypopulation.de/world/Agglomerations.html Principal Agglomerations of the World] {{webarchive|url=https://www.webcitation.org/5rRuMtUmh?url=http://www.citypopulation.de/world/Agglomerations.html |date=24 July 2010 }}. Citypopulation.de. 1 October 2011. Retrieved 1 April 2012.</ref>
 +
| population_as_of      = 30 September 2017
 +
| population_total      = 967,068
 +
| pop_density_footnotes =
 +
| population_demonym    = Neapolitan(s), Napolitan(s) (English)<br />''Napoletano'', ''Napoletani'' or ''Partenopeo'', ''Partenopei'' (Italian)<br />''Napulitano'', ''Napulitani'' (Neapolitan)
 +
| telephone            =
 +
| postalcode            =
 +
| istat                = 063049
 +
| saint                = [[Januarius]]
 +
| day                  = 19 September
 +
| website              = {{official website|http://www.comune.napoli.it}}
 +
| footnotes            =
 +
| image_flag            = Flag of Naples.svg
 +
| shield_alt            =
 +
| mapsize              =
 +
| map_alt              =
 +
| map_caption          =
 +
| pushpin_map          = Italy Campania#Italy#Europe
 +
| coordinates          = {{coord|40|50|N|14|15|E|display=inline}}
 +
| coordinates_footnotes =
 +
| elevation_min_m      =
 +
| elevation_max_m      =
 +
| postal_code          = 80100, 80121-80147
 +
| area_code            = 081
 +
}}
 +
 +
===refs===
 +
{{Reflist}}
 +
 +
==All up==
 +
:All parameters used. Input: parameters name litrerally, or mapID/true image/number etc when required.
 +
:Tested: 2019-01-09 checked parameter set (51x). 10 aliases not used here; interaction not tested (eg map & pushpin map). -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 10:33, 9 January 2019 (UTC)
 +
{{testcase table
 +
| name = name
 +
| official_name = official_name
 +
| native_name = native_name
 +
| settlement_type = settlement_type
 +
| image_skyline = MontageofNaples.jpg
 +
| image_caption = image_caption
 +
| image_size = 150px
 +
| image_alt = image_alt
 +
| image_flag = Flag of Naples.svg
 +
| flag_size = 50px
 +
| flag_alt = flag_alt
 +
| image_shield = CoA Città di Napoli.svg
 +
| shield_size = 50px
 +
| shield_alt = shield_alt
 +
| nickname = nickname
 +
| motto = motto
 +
| map = Map of comune of Naples (Metropolitan city of Naples, region Campania, Italy).svg
 +
| map_caption = map_caption
 +
| mapsize = 200px
 +
| map_alt = map_alt
 +
| pushpin_map = Italy Campania#Italy#Europe
 +
| pushpin_mapsize = 300px
 +
| pushpin_label_position = left
 +
| pushpin_map_alt = pushpin_map_alt
 +
| coordinates = {{coord|40|50|N|14|15|E|display=inline}}
 +
| coordinates_footnotes = coordinates_footnotes
 +
| region = [[Campania]]
 +
| metropolitan_city = metropolitan_city
 +
| province = province
 +
| established_title = established_title
 +
| established_date = established_date
 +
| frazioni = frazioni
 +
| mayor = mayor
 +
| mayor_party = mayor_party
 +
| area_total_km2 = 222
 +
| area_footnotes = area_footnotes
 +
| elevation_m = 50
 +
| elevation_max_m = 100
 +
| elevation_min_m = 0
 +
| elevation_footnotes = elevation_footnotes
 +
| population_as_of = population_as_of
 +
| population_total = 3333333
 +
| population_footnotes = population_footnotes
 +
| population_demonym = population_demonym
 +
| postal_code = postal_code
 +
| area_code = area_code
 +
| istat = 63049
 +
| saint = saint
 +
| day = day
 +
| website = website
 +
| footnotes = footnotes
 +
}}
 +
{{clear}}
  
 
==Admin organisation checks==
 
==Admin organisation checks==
Line 139: Line 251:
 
| istat              = 008055
 
| istat              = 008055
 
}}
 
}}
 
==Napoli==
 
:[[Napoli]] (uses many parameters)
 
{{testcase table
 
| name                  = Naples
 
| native_name          = {{native name|it|Napoli}}<br/>{{native name|nap|Napule}}
 
| official_name        = Comune di Napoli
 
| image_skyline        = MontageofNaples.jpg
 
| image_caption        = Top:Panorama view of Mergellina Port, Mergellina, Chiaia area, over view of [[Mount Vesuvius]], Second left:Naples Directional Center (''Centro Direzionale di Napoli'') and Spaccanapoli Street, Second right:Via Toledo Street, Third left:Naples Media Center, Third right:[[Castel Nuovo]] (''Maschio Angioino''), Bottom:View of Centro Direzionale di Napoli, from Naples Railroad Station
 
| image_shield          = CoA Città di Napoli.svg
 
| shield_size          =
 
| image_map            = Map of comune of Naples (Metropolitan city of Naples, region Campania, Italy).svg
 
| nickname              = Partenope
 
| motto                =
 
| region                = [[Campania]]
 
| metropolitan_city    = [[Metropolitan City of Naples|Naples]] (NA)
 
| province              =
 
| frazioni              =
 
| adjacentcomuni        =
 
| established_date      =
 
| mayor                = [[Luigi de Magistris (mayor)|Luigi de Magistris]]
 
| mayor_party          = [[Democrazia Autonomia|DA]]
 
| elevation_footnotes  =
 
| elevation_m          = 17
 
| area_footnotes        =
 
| area_total_km2        = 117.27
 
| population_footnotes  =<ref name=ComItData2012 /><ref name=CityPop2011>[http://www.citypopulation.de/world/Agglomerations.html Principal Agglomerations of the World] {{webarchive|url=https://www.webcitation.org/5rRuMtUmh?url=http://www.citypopulation.de/world/Agglomerations.html |date=24 July 2010 }}. Citypopulation.de. 1 October 2011. Retrieved 1 April 2012.</ref>
 
| population_as_of      = 30 September 2017
 
| population_total      = 967,068
 
| pop_density_footnotes =
 
| population_demonym    = Neapolitan(s), Napolitan(s) (English)<br />''Napoletano'', ''Napoletani'' or ''Partenopeo'', ''Partenopei'' (Italian)<br />''Napulitano'', ''Napulitani'' (Neapolitan)
 
| telephone            =
 
| postalcode            =
 
| istat                = 063049
 
| saint                = [[Januarius]]
 
| day                  = 19 September
 
| website              = {{official website|http://www.comune.napoli.it}}
 
| footnotes            =
 
| image_flag            = Flag of Naples.svg
 
| shield_alt            =
 
| mapsize              =
 
| map_alt              =
 
| map_caption          =
 
| pushpin_map          = Italy Campania#Italy#Europe
 
| coordinates          = {{coord|40|50|N|14|15|E|display=inline}}
 
| coordinates_footnotes =
 
| elevation_min_m      =
 
| elevation_max_m      =
 
| postal_code          = 80100, 80121-80147
 
| area_code            = 081
 
}}
 
 
===refs===
 
{{Reflist}}
 
 
==All up==
 
:All parameters used. Input: parameters name litrerally, or mapID/true image/number etc when required.
 
:Tested: 2019-01-09 checked parameter set (51x). 10 aliases not used here; interaction not tested (eg map & pushpin map). -[[User:DePiep|DePiep]] ([[User talk:DePiep|talk]]) 10:33, 9 January 2019 (UTC)
 
{{testcase table
 
| name = name
 
| official_name = official_name
 
| native_name = native_name
 
| settlement_type = settlement_type
 
| image_skyline = MontageofNaples.jpg
 
| image_caption = image_caption
 
| image_size = 150px
 
| image_alt = image_alt
 
| image_flag = Flag of Naples.svg
 
| flag_size = 50px
 
| flag_alt = flag_alt
 
| image_shield = CoA Città di Napoli.svg
 
| shield_size = 50px
 
| shield_alt = shield_alt
 
| nickname = nickname
 
| motto = motto
 
| map = Map of comune of Naples (Metropolitan city of Naples, region Campania, Italy).svg
 
| map_caption = map_caption
 
| mapsize = 200px
 
| map_alt = map_alt
 
| pushpin_map = Italy Campania#Italy#Europe
 
| pushpin_mapsize = 300px
 
| pushpin_label_position = left
 
| pushpin_map_alt = pushpin_map_alt
 
| coordinates = {{coord|40|50|N|14|15|E|display=inline}}
 
| coordinates_footnotes = coordinates_footnotes
 
| region = [[Campania]]
 
| metropolitan_city = metropolitan_city
 
| province = province
 
| established_title = established_title
 
| established_date = established_date
 
| frazioni = frazioni
 
| mayor = mayor
 
| mayor_party = mayor_party
 
| area_total_km2 = 222
 
| area_footnotes = area_footnotes
 
| elevation_m = 50
 
| elevation_max_m = 100
 
| elevation_min_m = 0
 
| elevation_footnotes = elevation_footnotes
 
| population_as_of = population_as_of
 
| population_total = 3333333
 
| population_footnotes = population_footnotes
 
| population_demonym = population_demonym
 
| postal_code = postal_code
 
| area_code = area_code
 
| istat = 63049
 
| saint = saint
 
| day = day
 
| website = website
 
| footnotes = footnotes
 
}}
 
{{clear}}
 
  
 
==Test 1==
 
==Test 1==

Latest revision as of 21:29, 11 January 2019

Napoli

Napoli (uses many parameters)

Template:Testcase table

refs

All up

All parameters used. Input: parameters name litrerally, or mapID/true image/number etc when required.
Tested: 2019-01-09 checked parameter set (51x). 10 aliases not used here; interaction not tested (eg map & pushpin map). -DePiep (talk) 10:33, 9 January 2019 (UTC)

Template:Testcase table

Admin organisation checks

|region, province, met_city=
To test:
|region= is present?
For |province=, |metropolitan_city= one just one is used.
For Aosta no prov, no metro may be entered (Aosta has none).
Errors are categorised in Category:Pages using Infobox Italian comune with administrative division issues (0). Also, a warning shows when in Preview. How to test: open this section for editing, then preview.
The categorised pages are catsorted under 0, A, B, R (0=no prov no metro input; A=Aosta check, B=Both prov and metro used, R=region missing).
TESTnote: For the current testing period, the categorisation is not done. Instead, the catsort letter is shown. (once ready to go live, categorisation will be put in {{Main other}}).

all fine

Template:Testcase table

Template:Testcase table

region missing

Template:Testcase table

prov & metro missing

Template:Testcase table

Aosta

Template:Testcase table

both prov & metro used

Template:Testcase table

Aosta

Template:Testcase table


Aosta (Metro used)

Template:Testcase table

Test 1

Template:Testcase table

Test 2

Template:Testcase table

Test 3

Template:Testcase table

Test 4

Template:Testcase table