Pojdi na vsebino

Pogovor o modulu:Political party/testniprimeri

Vsebina strani ni podprta v drugih jezikih.
Iz Wikipedije, proste enciklopedije

1 tests failed.

test_01_bad_values
Test Live Sandbox Expected
DaD {{#invoke:Political party|fetch|Aaaaaaaaaaa|color}} #F8F9FA #F8F9FA #F8F9FA
DaD {{#invoke:Political party|fetch|Aaaaaaaaaaa|shortname}} Aaaaaaaaaaa Aaaaaaaaaaa Aaaaaaaaaaa
DaD {{#invoke:Political party|fetch|aontú|color}} #F8F9FA #F8F9FA #F8F9FA
test_02_fallback_values
Test Live Sandbox Expected
DaD {{#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>
DaD {{#invoke:Political party|fetch|Unitary Socialist Party (Italy, 1922)|shortname}} Unitary Socialist Party Unitary Socialist Party Unitary Socialist Party
DaD {{#invoke:Political party|fetch|[[Unitary Socialist Party (Italy, 1922)]]|shortname}} Unitary Socialist Party Unitary Socialist Party Unitary Socialist Party
☒N {{#invoke:Political party|fetch|[[Unitary Socialist Party (Italy, 1922)|Unitary Socialist Party Italy, 1922]]|shortname}} Unitary Socialist Party Italy, 1922 Unitary Socialist Party Italy, 1922 Unitary Socialist Party
DaD {{#invoke:Political party|fetch|Actual Equality|shortname}} Actual Equality Actual Equality Actual Equality
DaD {{#invoke:Political party|fetch|Actual Equality|abbrev}} Actual Equality Actual Equality Actual Equality
test_03_invalid_types
Test Live Sandbox Expected
DaD {{#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>
DaD {{#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>
DaD {{#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>
DaD {{#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>
DaD {{#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>