Knowledge (XXG)

Template:Election box 2-party-preferred

Source 📝

442:{{Election box begin |title=2019 Australian fictional election: ]}} {{Election box candidate AU party |candidate = ] |party = Liberal |votes = 44,001 |percentage = 46.59 |change = −6.02 }} {{Election box candidate AU party |candidate = Ashan de Silva |party = Centre Alliance |votes = 27,452 |percentage = 29.07 |change = +29.07 }} {{Election box candidate AU party |candidate = John Clarke |party = Labor<nowiki/> |votes = 14,363 |percentage = 15.21 |change = −3.16 }} {{Election box formal |votes = 94,445 |percentage = 95.72 |change = +1.10 }} {{Election box informal |votes = 4,228 |percentage = 4.28 |change = −1.10 }} {{Election box turnout |votes = 98,673 |percentage = 93.44 |change = −1.18 }} {{Election box end}} 482:{{Election box 2pp}} {{Election box candidate AU party |candidate = ] |party = Liberal |votes = 61,566 |percentage = 65.19 |change = −1.36 }} {{Election box candidate AU party |candidate = John Clarke |party = Labor |votes = 32,879 |percentage = 34.81 |change = +1.36 }} {{Election box 2cp}} {{Election box candidate AU party |candidate = ] |party = Liberal |votes = 51,698 |percentage = 54.74 |change = −11.81 }} {{Election box candidate AU party |candidate = Ashan de Silva |party = Centre Alliance |votes = 42,747 |percentage = 45.26 |change = +45.26 }} 85: 116: 436:, will return a linked name for that party. This may be different for state elections, such as "liberal sa" or "labor qld". If they are not listed, there is no colour and the party unlinked. Where you want to use a name that is different from the linked party, adding <nowiki/> at the end of the party name will prevent linking or using the party colour, as in the Labor example above. 475:: Two-candidate-preferred result, used where one or both major parties is not in the top two. Where the two-party-preferred figures are also available, this may included and is typically placed before the two-candidate-preferred result. 1034: 100: 1030: 168: 96: 1062: 104: 1083: 428:
template is used once for each candidate and contributes a row to the table. If there is a wikipedia page for the candidate, this should be linked. If the party is listed at
463:: Two-party-preferred result, used where the election comes down to a choice between the two major parties, typically in Australia the Liberal/National Coalition and Labor. 1088: 161: 177:
These election box templates are for displaying a list of candidates and results for Australian elections contested by parties. They produce tables like this:
1024: 663: 154: 140: 92: 630: 429: 363: 652: 641: 1016: 132: 128: 433: 1078: 385: 580: 528: 396: 215: 182: 565: 374: 990: 919: 888: 819: 792: 450:
One or both of the following templates are commonly used for the results where a form of preferential voting is used:
352: 913: 907: 882: 811: 725: 673: 575: 523: 210: 1009: 469: 457: 407: 513: 56: 136: 903: 875: 546: 1020: 984: 980: 807: 783: 598: 233: 1072: 318: 424:
templates start and end a table with appropriate columns and formatting. The
123: 79: 951: 851: 759: 701: 506: 201: 34: 127:
and changes may be widely noticed. Test changes in the template's
110: 623:
One of the following templates then concludes the results
1055: 1047: 1043: 345:There are six templates used in the example above: 1040:Editors can experiment in this template's sandbox 672:If there is a redistribution which changes the 432:, it will use the colour for that party, while 162: 8: 1025:Template:Election box candidate AU party/doc 680:clarifies that the hold or gain is notional 1084:Australia politics and government templates 932: 832: 740: 682: 487: 430:Template:Australian politics/party colours 179: 169: 155: 15: 1089:Election and referendum infobox templates 479:Adding these to the table above would be 439:Using the example above these are : 938: 838: 746: 688: 493: 317: 188: 139:. Consider discussing changes on the 21: 7: 181:2019 Australian fictional election: 664:Election box member change AU party 631:Election box new seat win AU party 14: 434:Template:Australian politics/name 956: 856: 764: 706: 594: 571: 542: 519: 269: 250: 229: 206: 114: 83: 62: 39: 364:Election box candidate AU party 124:approximately 2,400 pages 1: 1105: 1014: 653:Election box gain AU party 642:Election box hold AU party 1063:Subpages of this template 1010:Template:Election box/doc 974: 950: 947: 944: 941: 902: 874: 850: 847: 844: 841: 806: 782: 758: 755: 752: 749: 732: 724: 700: 697: 694: 691: 564: 512: 505: 502: 499: 496: 303: 289: 200: 197: 194: 191: 143:before implementing them. 135:subpages, or in your own 122:This template is used on 55: 33: 30: 27: 24: 566:Two-candidate-preferred 1079:Election box templates 88:Template documentation 386:Election box informal 674:notional seat status 446:Preferential Results 397:Election box turnout 935: 835: 743: 685: 514:Two-party-preferred 490: 375:Election box formal 290:Total formal votes 185: 57:Two-party-preferred 18: 933: 833: 741: 683: 488: 353:Election box begin 180: 16: 1002: 1001: 931: 930: 831: 830: 739: 738: 616: 615: 333: 332: 147: 146: 78: 77: 1096: 1059: 1051: 1038: 962:(member change) 953: 936: 853: 836: 761: 744: 703: 686: 679: 668: 662: 657: 651: 646: 640: 635: 629: 508: 491: 474: 470:Election box 2cp 468: 462: 458:Election box 2pp 456: 412: 408:Election box end 406: 401: 395: 390: 384: 379: 373: 368: 362: 357: 351: 273:Aussie battlers 203: 186: 171: 164: 157: 151: 118: 117: 111: 108: 89: 87: 86: 36: 19: 1104: 1103: 1099: 1098: 1097: 1095: 1094: 1093: 1069: 1068: 1067: 1066: 1061: 1053: 1041: 1039: 1028: 1013: 1007: 808:Centre Alliance 784:Centre Alliance 712:(new seat win) 678:|notional = yes 677: 666: 660: 655: 649: 644: 638: 633: 627: 621: 603:Ashan de Silva 599:Centre Alliance 483: 472: 466: 460: 454: 448: 443: 410: 404: 399: 393: 388: 382: 377: 371: 366: 360: 355: 349: 343: 338: 304:Informal votes 238:Ashan de Silva 234:Centre Alliance 175: 149: 115: 109: 90: 84: 82: 12: 11: 5: 1102: 1100: 1092: 1091: 1086: 1081: 1071: 1070: 1052:and testcases 1006: 1003: 1000: 999: 997: 994: 987: 973: 970: 969: 967: 965: 963: 960: 958: 955: 954: 949: 946: 943: 940: 929: 928: 926: 923: 916: 901: 898: 897: 895: 892: 885: 873: 870: 869: 867: 865: 863: 860: 858: 855: 854: 849: 846: 843: 840: 829: 828: 826: 823: 816: 805: 802: 801: 799: 796: 789: 781: 778: 777: 775: 773: 771: 768: 766: 763: 762: 757: 754: 751: 748: 737: 736: 731: 723: 720: 719: 717: 715: 713: 710: 708: 705: 704: 699: 696: 693: 690: 670: 669: 658: 647: 636: 620: 617: 614: 613: 610: 607: 604: 601: 596: 593: 592: 589: 586: 583: 578: 573: 570: 569: 562: 561: 558: 555: 552: 549: 544: 541: 540: 537: 534: 531: 526: 521: 518: 517: 510: 509: 504: 501: 498: 495: 481: 477: 476: 464: 447: 444: 441: 414: 413: 402: 391: 380: 369: 358: 342: 339: 337: 334: 331: 330: 327: 324: 321: 315: 314: 311: 308: 305: 301: 300: 297: 294: 291: 287: 286: 283: 280: 277: 276:Tony Woodford 274: 271: 268: 267: 264: 261: 258: 255: 252: 249: 248: 245: 242: 239: 236: 231: 228: 227: 224: 221: 218: 213: 208: 205: 204: 199: 196: 193: 190: 174: 173: 166: 159: 150:This content: 148: 145: 144: 119: 81: 80: 76: 75: 73: 71: 69: 66: 64: 61: 60: 53: 52: 50: 48: 46: 43: 41: 38: 37: 32: 29: 26: 23: 13: 10: 9: 6: 4: 3: 2: 1101: 1090: 1087: 1085: 1082: 1080: 1077: 1076: 1074: 1064: 1057: 1049: 1045: 1036: 1032: 1026: 1022: 1018: 1017:documentation 1012: 1011: 1004: 998: 995: 993: 992: 988: 986: 982: 978: 972: 971: 968: 966: 964: 961: 959: 957: 937: 927: 924: 922: 921: 917: 915: 911: 909: 905: 900: 899: 896: 893: 891: 890: 886: 884: 880: 877: 872: 871: 868: 866: 864: 861: 859: 857: 837: 827: 824: 822: 821: 817: 815: 813: 809: 804: 803: 800: 797: 795: 794: 790: 788: 785: 780: 779: 776: 774: 772: 769: 767: 765: 745: 735: 730: 727: 722: 721: 718: 716: 714: 711: 709: 707: 687: 681: 675: 665: 659: 654: 648: 643: 637: 632: 626: 625: 624: 618: 611: 608: 605: 602: 600: 597: 595: 590: 587: 584: 582: 579: 577: 574: 572: 567: 563: 559: 556: 553: 550: 548: 545: 543: 538: 535: 532: 530: 527: 525: 522: 520: 515: 511: 492: 486: 485:Which gives: 480: 471: 465: 459: 453: 452: 451: 445: 440: 437: 435: 431: 427: 423: 419: 409: 403: 398: 392: 387: 381: 376: 370: 365: 359: 354: 348: 347: 346: 340: 335: 328: 325: 322: 320: 316: 312: 309: 306: 302: 298: 295: 292: 288: 284: 281: 278: 275: 272: 270: 265: 262: 259: 256: 253: 251: 246: 243: 240: 237: 235: 232: 230: 225: 222: 219: 217: 214: 212: 209: 207: 187: 184: 178: 172: 167: 165: 160: 158: 153: 152: 142: 138: 134: 130: 126: 125: 120: 113: 112: 106: 102: 98: 94: 74: 72: 70: 67: 65: 63: 58: 54: 51: 49: 47: 44: 42: 40: 20: 1008: 989: 976: 934:{{{title}}} 918: 906: 887: 878: 834:{{{title}}} 818: 810: 791: 786: 742:{{{title}}} 733: 728: 684:{{{title}}} 671: 667:}} 661:{{ 656:}} 650:{{ 645:}} 639:{{ 634:}} 628:{{ 622: 619:Final result 581:Katie Norris 551:John Clarke 529:Katie Norris 489:{{{title}}} 484: 478: 473:}} 467:{{ 461:}} 455:{{ 449: 438: 425: 421: 417: 415: 411:}} 405:{{ 400:}} 394:{{ 389:}} 383:{{ 378:}} 372:{{ 367:}} 361:{{ 356:}} 350:{{ 344: 257:John Clarke 216:Katie Norris 176: 137:user subpage 121: 17:{{{title}}} 1021:transcluded 103:] [ 99:] [ 95:] [ 1073:Categories 1015:The above 985:Australian 942:Candidate 910: gain 842:Candidate 814: hold 750:Candidate 734:(new seat) 692:Candidate 497:Candidate 192:Candidate 133:/testcases 25:Candidate 981:Australia 676:, adding 426:candidate 141:talk page 1005:See also 975:Member 908:notional 812:notional 129:/sandbox 1046:| 1035:history 1033:| 977:changed 914:Liberal 883:Liberal 862:(gain) 770:(hold) 726:Liberal 612:+45.26 606:42,747 591:−11.81 585:51,698 576:Liberal 568:result 554:32,879 533:61,566 524:Liberal 516:result 323:98,673 319:Turnout 293:94,445 260:14,363 247:+29.07 241:27,452 220:44,001 211:Liberal 101:history 68:  59:result 45:  1060:pages. 1056:create 1048:mirror 1044:create 945:Votes 939:Party 845:Votes 839:Party 753:Votes 747:Party 695:Votes 689:Party 609:45.26 588:54.74 560:+1.36 557:34.81 539:−1.36 536:65.19 500:Votes 494:Party 329:−1.18 326:93.44 313:−1.10 307:4,228 299:+1.10 296:95.72 285:−2.18 279:5,458 266:−3.16 263:15.21 254:Labor 244:29.07 226:−6.02 223:46.59 195:Votes 189:Party 183:Utopia 28:Votes 22:Party 1023:from 991:Swing 983:from 920:Swing 912:from 904:Labor 889:Swing 881:from 876:Labor 820:Swing 793:Swing 547:Labor 418:begin 341:Basic 336:Usage 310:4.28 282:5.78 107:] 105:purge 91:[ 1031:edit 996:-6.5 925:-2.5 894:+2.5 879:gain 825:-2.5 798:-2.5 787:hold 420:and 416:The 170:edit 163:talk 156:view 97:edit 93:view 1019:is 979:to 729:win 422:end 131:or 1075:: 1027:. 952:±% 948:% 852:±% 848:% 760:±% 756:% 702:±% 698:% 507:±% 503:% 202:±% 198:% 35:±% 31:% 1065:. 1058:) 1054:( 1050:) 1042:( 1037:) 1029:(

Index

Two-party-preferred
view
edit
history
purge
approximately 2,400 pages
/sandbox
/testcases
user subpage
talk page
view
talk
edit
Utopia
Liberal
Katie Norris
Centre Alliance
Turnout
Election box begin
Election box candidate AU party
Election box formal
Election box informal
Election box turnout
Election box end
Template:Australian politics/party colours
Template:Australian politics/name
Election box 2pp
Election box 2cp
Two-party-preferred
Liberal

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.