Module talk:Political party/testcases
Appearance
All 14 tests passed.
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Political party|fetch|Aaaaaaaaaaa|color}} | #F8F9FA | #F8F9FA | #F8F9FA | |
{{#invoke:Political party|fetch|Aaaaaaaaaaa|shortname}} | Aaaaaaaaaaa | Aaaaaaaaaaa | Aaaaaaaaaaa | |
{{#invoke:Political party|fetch|aontú|color}} | #F8F9FA | #F8F9FA | #F8F9FA |
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Political party|fetch|A test no values|color}} | <strong class="error">Value not in template. Please request that it be added.</strong> | <strong class="error">Value not in template. Please request that it be added.</strong> | <strong class="error">Value not in template. Please request that it be added.</strong> | |
{{#invoke:Political party|fetch|Unitary Socialist Party (Italy, 1922)|shortname}} | Unitary Socialist Party | Unitary Socialist Party | Unitary Socialist Party | |
{{#invoke:Political party|fetch|[[Unitary Socialist Party (Italy, 1922)]]|shortname}} | Unitary Socialist Party | Unitary Socialist Party | Unitary Socialist Party | |
{{#invoke:Political party|fetch|[[Unitary Socialist Party (Italy, 1922)|Unitary Socialist Party Italy, 1922]]|shortname}} | Unitary Socialist Party | Unitary Socialist Party | Unitary Socialist Party | |
{{#invoke:Political party|fetch|Actual Equality|shortname}} | Actual Equality | Actual Equality | Actual Equality | |
{{#invoke:Political party|fetch|Actual Equality|abbrev}} | Actual Equality | Actual Equality | Actual Equality |
Test | Live | Sandbox | Expected | |
---|---|---|---|---|
{{#invoke:Political party|fetch|}} | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | |
{{#invoke:Political party|fetch||color}} | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | |
{{#invoke:Political party|fetch||shortname}} | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | |
{{#invoke:Political party|fetch||abbrev}} | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | <strong class="error">parameter 1 should be a party name.</strong> | |
{{#invoke:Political party|fetch|Business and Professional Group}} | <strong class="error">parameter 2 should be the output type.</strong> | <strong class="error">parameter 2 should be the output type.</strong> | <strong class="error">parameter 2 should be the output type.</strong> |
Start a discussion about improving the Module:Political party/testcases page
Talk pages are where people discuss how to make content on Wikipedia the best that it can be. You can use this page to start a discussion with others about how to improve the "Module:Political party/testcases" page.