Difference between revisions of "Template:Infobox Italian comune/testcases"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 3: | Line 3: | ||
==Admin organisation checks== | ==Admin organisation checks== | ||
:{{para|region, province, met_city}} | :{{para|region, province, met_city}} | ||
| − | :{{clc|Pages using Infobox Italian comune with administrative division issues}} | + | :To test: |
| + | ::{{para|region}} is present? | ||
| + | ::For {{para|province}}, {{para|metropolitan_city}} one just one is used. | ||
| + | ::For [[Aosta]] no prov, no metro may be entered (Aosta has none). | ||
| + | |||
| + | :Errors are ''categorised'' in {{clc|Pages using Infobox Italian comune with administrative division issues}}. Also, a ''warning'' shows when in {{button|Preview}}. How to test: open this section for editing, then {{button|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 {{tl|Main other}}). | ||
| + | |||
===all fine=== | ===all fine=== | ||
{{testcase table | {{testcase table | ||
| Line 131: | Line 139: | ||
| istat = 008055 | | istat = 008055 | ||
}} | }} | ||
| − | |||
==Napoli== | ==Napoli== | ||
Revision as of 17:25, 9 January 2019
| This is the template test cases page for the sandbox of Template:Infobox Italian comune. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
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
region missing
prov & metro missing
- Aosta
both prov & metro used
- Aosta
- Aosta (Metro used)
Napoli
- Napoli (uses many parameters)
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)