Template:Category series navigation/testcases: Difference between revisions
Tom.Reding (talk | contribs) m →Forced errors: Indent Tag: Reverted |
Fix Linter errors. Fix misuse of colon markup for indenting (also, div tags often don't like being indented). |
||
Line 99: | Line 99: | ||
==Forced errors== |
==Forced errors== |
||
* Unnamed parameter via <nowiki>{{template}}</nowiki>: |
* Unnamed parameter via <nowiki>{{template}}</nowiki>: |
||
{{Navseasoncats |2010}} |
|||
{{Navseasoncats/sandbox|2010}} |
|||
* Unknown parameter via <nowiki>{{template}}</nowiki>: |
* Unknown parameter via <nowiki>{{template}}</nowiki>: |
||
{{Navseasoncats |unknown_param=2010}} |
|||
{{Navseasoncats/sandbox|unknown_param=2010}} |
|||
* #invoke unnamed parameter: |
* #invoke unnamed parameter: |
||
{{#invoke:Navseasoncats |navseasoncats|2010}} |
|||
{{#invoke:Navseasoncats/sandbox|navseasoncats|2010}} |
|||
* #invoke unknown parameter: |
* #invoke unknown parameter: |
||
{{#invoke:Navseasoncats |navseasoncats|unknown_param=2010}} |
|||
{{#invoke:Navseasoncats/sandbox|navseasoncats|unknown_param=2010}} |
|||
{{Navseasoncats testcase|Scotland}} |
{{Navseasoncats testcase|Scotland}} |
Revision as of 05:43, 18 August 2021
![]() | This is the template test cases page for the sandbox of Template:Category series navigation. 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 and parsers with these links: |
Related pages |
---|
- See also: Template:Category series navigation/testcases — regular years, decades, terms, BC/E, Roman numerals, nordinals, wordinals, redirects;
/
; forced errors; EPFC=382 - See also: Template:Category series navigation/testcases1.1 — regular months
- See also: Template:Category series navigation/testcases2 — regular years
|skip-gaps=yes=
; EPFC=184 - See also: Template:Category series navigation/testcases3 — regular years
|skip-gaps=yes=
low-#; trailing hyphens; EPFC=425 - See also: Template:Category series navigation/testcases3.1 — following redirects; EPFC=161
- See also: Template:Category series navigation/testcases4 — regular terms & AD; irregular redirects using templates; EPFC=468
- See also: Template:Category series navigation/testcases5 — regular terms MOS:DATERANGE & irregular MOS:TOPRESENT checks; EPFC=329
- See also: Template:Category series navigation/testcases6 — irregular terms with common year; EPFC=248
- See also: Template:Category series navigation/testcases6.1 — "" formerly problematic; EPFC=267
- See also: Template:Category series navigation/testcases7 — irregular terms with a 0-length term; EPFC=374
- See also: Template:Category series navigation/testcases8 — irregular terms starting on a multi-year term; EPFC=316
- See also: Template:Category series navigation/testcases8.1 — isolated terms; EPFC=210
- See also: Template:Category series navigation/testcases9 — irregular terms with irregular gaps & normal #Rs; EPFC=407
- See also: Template:Category series navigation/testcases10 — irregular terms with irregular gaps & base change #Rs (Mysore/Karnataka MLAs); EPFC=300
- See also: Template:Category series navigation/testcases11 — irregular terms starting or ending with a 0-length (1); EPFC=326
- See also: Template:Category series navigation/testcases12 — irregular terms starting or ending with a 0-length (2); EPFC=179
- See also: Template:Category series navigation/testcases13 — irregular terms showing duplicate ranges; years + 1-year ranges; EPFC=450
- See also: Template:Category series navigation/testcases13.1 — ""
|skip-gaps=yes=
; EPFC=134 - See also: Template:Category series navigation/testcases14 — irregular terms & 1-year ranges; EPFC=414
- See also: Template:Category series navigation/testcases15 — irregular terms starting on a 1-year term; EPFC=100
- See also: Template:Category series navigation/testcases16 — grey text; EPFC=482
- See also: Template:Category series navigation/testcases17 — portals; EPFC=28
Model testcase
{{Navseasoncats testcase|1999 in Scotland}}
Positive
- Category:12 (identical):
- Category:2000s (identical):
- Category:1857 in New York (state) (identical):
- Category:10s conflicts (identical):
- Category:1960s-themed radio stations (identical):
- Category:Birds described in 1901 (identical):
- Category:Fiction set in the 1990s (identical):
- Category:Austrian football clubs 1999–2000 season (identical):
- Category:Austrian football clubs 2001–02 season (identical):
- Category:MEPs 2004–09 (identical):
- Category:30 Rock (season 7) episodes (identical):
Presidential elections
- Category:Candidates in the 2008 United States presidential election (4 year gaps) (identical):
- Category:Candidates in the 1792 United States presidential election (gap mismatch; use #skip-gaps) (identical):
Irregular term lengths with common year
Ordinals
- Category:4th parliament of Turkey (identical):
- Category:4th-century BC people by religion (identical):
BCE
- Category:8th-century BCE Hebrew people (should only show BCE @ center) (identical):
- Category:1st-century BCE rabbis (should show AD links) (identical):
- Category:2nd-century Judaism (should link to BCE (not BC #R) cats) (identical):
1-10 BC
- Category:10 BC (identical):
- Category:5 BC (identical):
- Category:1 BC (identical):
1–999 AD
- Category:AD 1 (identical):
- Category:AD 5 (identical):
- Category:12 (identical):
60s to 0s BC
- Category:60s BC (identical):
- Category:50s BC (identical):
- Category:10s BC (identical):
- Category:0s BC (identical):
0s–990s AD
- Category:0s conflicts (identical):
- Category:10s conflicts (identical):
1–2 AD – 998–999 AD
Examples needed
- Category:Austrian football clubs 1–2 season (different):
Lua error: too many expensive function calls. Lua error: too many expensive function calls.
- Category:Austrian football clubs 998–999 season (different):
Lua error: too many expensive function calls. Lua error: too many expensive function calls.
Overlapping seasons
MOS-incorrect
Lua error: too many expensive function calls. Lua error: too many expensive function calls.
MOS-correct
Lua error: too many expensive function calls. Lua error: too many expensive function calls.
Forced errors
- Unnamed parameter via {{template}}:
Error! Function find_var can't find the variable text in category "Category series navigation/testcases".***Category series navigation failed to generate navbox***V Category:Category series navigation using unknown parameter Error! Function find_var can't find the variable text in category "Category series navigation/testcases".***Category series navigation failed to generate navbox***V Category:Category series navigation using unknown parameter
- Unknown parameter via {{template}}:
Error! Function find_var can't find the variable text in category "Category series navigation/testcases".***Category series navigation failed to generate navbox***V Category:Category series navigation using unknown parameter Error! Function find_var can't find the variable text in category "Category series navigation/testcases".***Category series navigation failed to generate navbox***V Category:Category series navigation using unknown parameter
- #invoke unnamed parameter:
Script error: No such module "Navseasoncats". Script error: No such module "Navseasoncats/sandbox".
- #invoke unknown parameter:
Script error: No such module "Navseasoncats". Script error: No such module "Navseasoncats/sandbox".
- Category:Scotland (identical):
Error! Function find_var can't find the variable text in category "Scotland".***Category series navigation failed to generate navbox***V
Error! Function find_var can't find the variable text in category "Scotland".***Category series navigation failed to generate navbox***V
- Category:201O (identical):
Error! Function find_var can't find the variable text in category "201O".***Category series navigation failed to generate navbox***V
Error! Function find_var can't find the variable text in category "201O".***Category series navigation failed to generate navbox***V
- Category:2010d (identical):
Error! Function find_var can't find the variable text in category "2010d".***Category series navigation failed to generate navbox***V
Error! Function find_var can't find the variable text in category "2010d".***Category series navigation failed to generate navbox***V
- Category:Austrian football clubs 2000–01 season (using hex NCR   for space) (identical):
Error! Function find_var can't find the variable text in category "Austrian football clubs 2000–01 season".***Category series navigation failed to generate navbox***V
Error! Function find_var can't find the variable text in category "Austrian football clubs 2000–01 season".***Category series navigation failed to generate navbox***V
- Category:Austrian football clubs 20OO–01 season (identical):
Error! Function find_var can't find the variable text in category "Austrian football clubs 20OO–01 season".***Category series navigation failed to generate navbox***V
Error! Function find_var can't find the variable text in category "Austrian football clubs 20OO–01 season".***Category series navigation failed to generate navbox***V
- Category:Austrian football clubs 1999–OO season (identical):
Error! Function find_var can't find the variable text in category "Austrian football clubs 1999–OO season".***Category series navigation failed to generate navbox***V
Error! Function find_var can't find the variable text in category "Austrian football clubs 1999–OO season".***Category series navigation failed to generate navbox***V
- Category:Austrian football clubs 19999–00 season (identical):
Error! Function find_var can't find the variable text in category "Austrian football clubs 19999–00 season".***Category series navigation failed to generate navbox***V
Error! Function find_var can't find the variable text in category "Austrian football clubs 19999–00 season".***Category series navigation failed to generate navbox***V
- Category:Austrian football clubs 1999–97 season (identical):