Template:EL table row/testcases

From English Wikipedia @ Freddythechick

__EXPECTUNUSEDTEMPLATE__

1a basic French
{{EL table row|French|mil}}
{{EL table row}}
mil Military 7
{{EL table row/sandbox}}
mil Military 7
1b basic German
{{EL table row|German|gov}}
{{EL table row}}
gov Government and politics 0
{{EL table row/sandbox}}
gov Government and politics 0
2a basic Italian, standard topic code
{{EL table row|Italian|cult}}
{{EL table row}}
cult Culture 0
{{EL table row/sandbox}}
cult Culture 0
2b basic Italian, topic code alias
{{EL table row|Italian|culture}}
{{EL table row}}
cult Culture 0
{{EL table row/sandbox}}
cult Culture 0
3 no subcat for valid topic; expect: nothing (no row)
{{EL table row|German|mil}}
{{EL table row}}
{{EL table row/sandbox}}
4a topics: invalid topic; expect 'unknown topic code' in red
{{EL table row|Spanish|church}}
{{EL table row}}
church unknown topic code  
{{EL table row/sandbox}}
church unknown topic code  
4b topics: topic/subcat not defined for Italian; expect: nothing (no row)
{{EL table row|Italian|bio}}
{{EL table row}}
bio Biography 0
{{EL table row/sandbox}}
bio Biography 0
4c topics: same topic defined for French
{{EL table row|French|bio}}
{{EL table row}}
{{EL table row/sandbox}}
Test 5a subcats: lang-topic with no subcats; Expect: simple article count in col 3
{{EL table row|French|bio}}
{{EL table row}}
{{EL table row/sandbox}}
Test 5b subcats: lang-topic with no subcats; Expect: as for 5a
{{EL table row|Catalan|geo}}
{{EL table row}}
geo Geography 0
{{EL table row/sandbox}}
geo Geography 0
Test 5c subcats: lang-topic with subcats and articles; Expect: subcat count in parens, and nonzero article count
{{EL table row|French|geo}}
{{EL table row}}
{{EL table row/sandbox}}
Test 5d subcats: lang-topic with subcats but no articles; Expect: subcat count in parens, and zero article count
{{EL table row|French| | French commune}}
{{EL table row}}
French commune (79 C) 1
{{EL table row/sandbox}}
French commune (79 C) 1
Test 5e subcats: another lang-topic with subcats but no articles; Expect: as for 5d
{{EL table row|Japanese| | Media}}
{{EL table row}}
Media 0
{{EL table row/sandbox}}
Media 0