Predefinição:Resultados das eleições primárias presidenciais do Partido Democrata (Estados Unidos) em 2016 por estado
A predefinição {{Resultados das eleições primárias presidenciais do Partido Democrata (Estados Unidos) em 2016 por estado}}
preenche parte da seção "Calendário e resultados" do verbete Eleições primárias presidenciais do Partido Democrata (Estados Unidos) em 2016.
- ATENÇÃO
NÃO tente editar essa predefinição manualmente!! Adicione novos dados à versão anglófona depois execute o script, cujo código-fonte pode ser encontrado abaixo. O script irá baixar a última versão anglófona, depois irá traduzi-la e copiará o resultado para sua área de transferência. Clique em "editar código-fonte", cole o resultado, sem modificá-lo, depois clique em "Mostrar previsão". É importante inspecionar atentamente o resultado, pois não há garantias que o script funcione perfeitamente!
Resultado
Data | Estado ou território | Delegados | Tipo | Voto popular ou equivalente | Estimated delegates | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Clinton | Sanders | Clinton | Sanders | Ainda disponíveis | ||||||||||||
C | S | T | C | S | T | C | S | T | C | S | T | |||||
1 de fevereiro de 2016 | Iowa[90] | 44 | 7 | 51 | Conselho semi-aberto | 700 (49,8%) | 697 (49,6%) | 23 | 6 | 29 | 21 | 0 | 21 | 0 | 1 | 1 |
9 de fevereiro de 2016 | Nova Hampshire[91] | 24 | 8 | 32 | Primária semi-fechada | 95 355 (37,7%) | 152 193 (60,1%) | 9 | 6 | 15 | 15 | 1 | 16 | 0 | 1 | 1 |
20 de fevereiro de 2016 | Nevada[92] | 35 | 8 | 43 | Conselho fechado | 6 316 (52,6%) | 5 678 (47,3%) | 20 | 7 | 27 | 15 | 1 | 16 | 0 | 0 | 0 |
27 de fevereiro de 2016 | Carolina do Sul[93] | 53 | 6 | 59 | Primária aberta | 272 379 (73,4%) | 96 498 (26,0%) | 39 | 5 | 44 | 14 | 0 | 14 | 0 | 1 | 1 |
1 de março de 2016 | Alabama[94] | 53 | 7 | 60 | Primária aberta | 309 926 (77,8%) | 76 401 (19,2%) | 44 | 6 | 50 | 9 | 0 | 9 | 0 | 1 | 1 |
Samoa Americana[95] | 6 | 5 | 11 | Conselho fechado | 162 (68,4%) | 61 (25,7%) | 4 | 4 | 8 | 2 | 1 | 3 | 0 | 0 | 0 | |
Arkansas[96] | 32 | 5 | 37 | Primária aberta | 146 057 (66,1%) | 66 236 (30,0%) | 22 | 5 | 27 | 10 | 0 | 10 | 0 | 0 | 0 | |
Colorado[97] | 66 | 12 | 78 | Conselho fechado | 49 789 (40,3%) | 72 846 (59,0%) | 25 | 9 | 34 | 41 | 0 | 41 | 0 | 3 | 3 | |
Geórgia[98] | 102 | 15 | 117 | Primária aberta | 543 008 (71,3%) | 214 332 (28,2%) | 73 | 11 | 84 | 29 | 0 | 29 | 0 | 4 | 4 | |
Massachusetts[99][100] | 91 | 24 | 115 | Primária semi-fechada | 606 822 (49,7%) | 589 803 (48,3%) | 46 | 21 | 67 | 45 | 1 | 46 | 0 | 2 | 2 | |
Minnesota[101] | 77 | 16 | 93 | Conselho aberto | 73 510 (38,4%) | 118 135 (61,6%) | 31 | 12 | 43 | 46 | 2 | 48 | 0 | 2 | 2 | |
Oklahoma[102][103] | 38 | 4 | 42 | Primária semi-fechada | 139 443 (41,5%) | 174 228 (51,9%) | 17 | 1 | 18 | 21 | 1 | 22 | 0 | 2 | 2 | |
Tennessee[104] | 67 | 8 | 75 | Primária aberta | 245 930 (66,1%) | 120 800 (32,5%) | 44 | 8 | 52 | 23 | 0 | 23 | 0 | 0 | 0 | |
Texas[105] | 222 | 29 | 251 | Primária aberta | 936 004 (65,2%) | 476 547 (33,2%) | 147 | 21 | 168 | 75 | 0 | 75 | 0 | 8 | 8 | |
Vermont[106][107] | 16 | 10 | 26 | Primária aberta | 18 338 (13,6%) | 115 900 (85,7%) | 0 | 5 | 5 | 16 | 5 | 21 | 0 | 0 | 0 | |
Virgínia[108] | 95 | 13 | 108 | Primária aberta | 504 741 (64,3%) | 276 370 (35,2%) | 62 | 12 | 74 | 33 | 0 | 33 | 0 | 1 | 1 | |
5 de março de 2016 | Kansas[109] | 33 | 4 | 37 | Conselho fechado | 12 593 (32,3%) | 26 450 (67,7%) | 10 | 4 | 14 | 23 | 0 | 23 | 0 | 0 | 0 |
Luisiana[110] | 51 | 8 | 59 | Primária fechada | 221 733 (71,1%) | 72 276 (23,2%) | 37 | 6 | 43 | 14 | 0 | 14 | 0 | 2 | 2 | |
Nebrasca[111] | 25 | 5 | 30 | Conselho fechado | 14 340 (42,9%) | 19 120 (57,1%) | 10 | 3 | 13 | 15 | 1 | 16 | 0 | 1 | 1 | |
6 de março de 2016 | Maine[112] | 25 | 5 | 30 | Conselho fechado | 1 232 (35,5%) | 2 231 (64,3%) | 8 | 4 | 12 | 17 | 1 | 18 | 0 | 0 | 0 |
1 de março de 2016 – 8 de março de 2016 | Democrats Abroad[113] | 13 | 4 | 17 | Primária fechada | 10 689 (30,9%) | 23 779 (68,9%) | 4 | 2½ | 6½ | 9 | ½ | 9½ | 0 | 1 | 1 |
8 de março de 2016 | Michigan[114][115] | 130 | 17 | 147 | Primária aberta | 581 775 (48,3%) | 598 943 (49,7%) | 63 | 13 | 76 | 67 | 0 | 67 | 0 | 4 | 4 |
Mississippi[116] | 36 | 5 | 41 | Primária aberta | 187 334 (82,5%) | 37 748 (16,6%) | 31 | 3 | 34 | 5 | 2 | 7 | 0 | 0 | 0 | |
12 de março de 2016 | Marianas do Norte[117] | 6 | 5 | 11 | Conselho fechado | 102 (54,0%) | 65 (34,4%) | 4 | 5 | 9 | 2 | 0 | 2 | 0 | 0 | 0 |
15 de março de 2016 | Flórida[118][119] | 214 | 32 | 246 | Primária fechada | 1 101 414 (64,4%) | 568 839 (33,3%) | 141 | 24 | 165 | 73 | 2 | 75 | 0 | 6 | 6 |
Illinois[120] | 156 | 27 | 183 | Primária aberta | 1 039 555 (50,6%) | 999 494 (48,6%) | 79 | 24 | 103 | 77 | 1 | 78 | 0 | 1 | 1 | |
Missouri[121] | 71 | 13 | 84 | Primária aberta | 312 285 (49,6%) | 310 711 (49,4%) | 36 | 11 | 47 | 35 | 0 | 35 | 0 | 2 | 2 | |
Carolina do Norte[122] | 107 | 14 | 121 | Primária semi-fechada | 622 915 (54,5%) | 467 018 (40,9%) | 60 | 9 | 69 | 47 | 2 | 49 | 0 | 3 | 3 | |
Ohio[123][124] | 143 | 17 | 160 | Primária semi-aberta | 696 681 (56,1%) | 535 395 (43,1%) | 81 | 16 | 97 | 62 | 1 | 63 | 0 | 0 | 0 | |
22 de março de 2016 | Arizona[125][126] | 75 | 10 | 85 | Primária fechada | 262 459 (56,3%) | 192 962 (41,4%) | 42 | 6 | 48 | 33 | 1 | 34 | 0 | 3 | 3 |
Idaho[127] | 23 | 4 | 27 | Conselho aberto | 5 065 (21,2%) | 18 640 (78,0%) | 5 | 1 | 6 | 18 | 2 | 20 | 0 | 1 | 1 | |
Utah[128] | 33 | 4 | 37 | Conselho semi-aberto | 15 666 (20,3%) | 61 333 (79,3%) | 6 | 2 | 8 | 27 | 2 | 29 | 0 | 0 | 0 | |
26 de março de 2016 | Alasca[129][130] | 16 | 4 | 20 | Conselho fechado | 2 146 (20,2%) | 8 447 (79,6%) | 3 | 1 | 4 | 13 | 1 | 14 | 0 | 2 | 2 |
Havaí[131] | 25 | 9 | 34 | Conselho semi-fechado | 10 125 (30,0%) | 23 530 (69,8%) | 8 | 5 | 13 | 17 | 2 | 19 | 0 | 2 | 2 | |
Washington[132] | 101 | 17 | 118 | Conselho aberto | 7 140 (27,1%) | 19 159 (72,7%) | 27 | 11 | 38 | 74 | 0 | 74 | 0 | 6 | 6 | |
5 de abril de 2016 | Wisconsin[133][134] | 86 | 10 | 96 | Primária aberta | 433 739 (43,1%) | 570 192 (56,6%) | 38 | 9 | 47 | 48 | 1 | 49 | 0 | 0 | 0 |
9 de abril de 2016 | Wyoming[135] | 14 | 4 | 18 | Conselho fechado | 124 (44,3%) | 156 (55,7%) | 7 | 4 | 11 | 7 | 0 | 7 | 0 | 0 | 0 |
19 de abril de 2016 | Nova Iorque[136][137][138] | 247 | 44 | 291 | Primária fechada | 1 133 980 (57,5%) | 820 256 (41,6%) | 139 | 41 | 180 | 108 | 0 | 108 | 0 | 3 | 3 |
26 de abril de 2016 | Connecticut[139][140] | 55 | 16 | 71 | Primária fechada | 170 045 (51,8%) | 152 379 (46,4%) | 28 | 15 | 43 | 27 | 0 | 27 | 0 | 1 | 1 |
Delaware[141][142] | 21 | 11 | 32 | Primária fechada | 55 954 (59,8%) | 36 662 (39,2%) | 12 | 11 | 23 | 9 | 0 | 9 | 0 | 0 | 0 | |
Maryland[143][144] | 95 | 24 | 119 | Primária fechada | 573 242 (62,5%) | 309 990 (33,8%) | 60 | 17 | 77 | 35 | 1 | 36 | 0 | 6 | 6 | |
Pensilvânia[145] | 189 | 19 | 208 | Primária fechada | 935 107 (55,6%) | 731 881 (43,5%) | 106 | 19 | 125 | 83 | 0 | 83 | 0 | 1 | 1 | |
Rhode Island[146][147] | 24 | 9 | 33 | Primária semi-fechada | 52 749 (43,1%) | 66 993 (54,7%) | 11 | 9 | 20 | 13 | 0 | 13 | 0 | 0 | 0 | |
3 de maio de 2016 | Indiana[148] | 83 | 9 | 92 | Primária aberta | 303 705 (47,5%) | 335 074 (52,5%) | 39 | 7 | 46 | 44 | 0 | 44 | 0 | 2 | 2 |
7 de maio de 2016 | Guam[149] | 7 | 5 | 12 | Conselho fechado | 777 (59,5%) | 528 (40,5%) | 4 | 5 | 9 | 3 | 0 | 3 | 0 | 0 | 0 |
10 de maio de 2016 | Nebrasca[150] | — | Primária fechada | 42 692 (53,1%) | 37 744 (46,9%) | Primária não-vinculante, sem nenhum delegado alocado. | ||||||||||
Virgínia Ocidental[151] | 29 | 8 | 37 | Primária semi-fechada | 86 914 (35,8%) | 124 700 (51,4%) | 11 | 6 | 17 | 18 | 2 | 20 | 0 | 0 | 0 | |
17 de maio de 2016 | Kentucky[152][153] | 55 | 5 | 60 | Primária fechada | 212 534 (46,8%) | 210 623 (46,3%) | 28 | 2 | 30 | 27 | 0 | 27 | 0 | 3 | 3 |
Óregon[154][155][156] | 61 | 13 | 74 | Primária fechada | 269 846 (42,1%) | 360 829 (56,2%) | 25 | 7 | 32 | 36 | 3 | 39 | 0 | 3 | 3 | |
24 de maio de 2016 | Washington[157] | — | [158] | Primária aberta420 461 (52,4%) | 382 293 (47,6%) | Primária não-vinculante, sem nenhum delegado alocado. | ||||||||||
4 de junho de 2016 | Ilhas Virgens[159][160][161] | 7 | 5 | 12 | Conselho fechado | 1 326 (87,12%) | 196 (12,88%) | 7 | 5 | 12 | 0 | 0 | 0 | 0 | 0 | 0 |
5 de junho de 2016 | Porto Rico[162] | 60 | 7 | 67 | Primária aberta | 52 658 (59,7%) | 33 368 (37,9%) | 37 | 6 | 43 | 23 | 0 | 23 | 0 | 1 | 1 |
7 de junho de 2016 | Califórnia[163][164] | 475 | 76 | 551 | Primária semi-fechada | 2 745 302 (53,1%) | 2 381 722 (46,0%) | 254 | 66 | 320 | 221 | 0 | 221 | 0 | 10 | 10 |
Montana[165][166] | 21 | 6 | 27 | Primária aberta | 55 805 (44,2%) | 65 156 (51,6%) | 10 | 5 | 15 | 11 | 1 | 12 | 0 | 0 | 0 | |
Nova Jérsia[167][168][169] | 126 | 16 | 142 | Primária semi-fechada | 566 247 (63,3%) | 328 058 (36,7%) | 79 | 12 | 91 | 47 | 2 | 49 | 0 | 2 | 2 | |
Novo México[170][171] | 34 | 9 | 43 | Primária fechada | 111 334 (51,5%) | 104 741 (48,5%) | 18 | 9 | 27 | 16 | 0 | 16 | 0 | 0 | 0 | |
Dakota do Norte[172] | 18 | 5 | 23 | [173] | Conselho aberto106 (25,6%) | 258 (64,2%) | 5 | 1 | 6 | 13 | 1 | 14 | 0 | 3 | 3 | |
Dakota do Sul[174][175] | 20 | 5 | 25 | [176] | Primária semi-fechada27 047 (51,0%) | 25 959 (49,0%) | 10 | 2 | 12 | 10 | 0 | 10 | 0 | 3 | 3 | |
14 de junho de 2016 | Distrito de Colúmbia[177][178] | 20 | 25 | 45 | Primária fechada | 76 704 (78,0%) | 20 361 (20,7%) | 16 | 23 | 39 | 4 | 2 | 6 | 0 | 0 | 0 |
Total | 4 051 | 712 | 4 763 | 16 847 084 (55,20%) | 13 168 222 (43,14%) | 2 205 | 570½ | 2 775½ | 1 846 | 43½ | 1 889½ | 0 | 97 | 97 | ||
Data | Estado ou território | C | S | T | Tipo | Clinton | Sanders | C | S | T | C | S | T | C | S | T |
Delegados | Voto popular ou equivalente | Clinton | Sanders | Disponíveis | ||||||||||||
Código-fonte do script
#!/usr/bin/env bash # Usien6, 2016-05-03 # <https://pt.wikipedia.org/wiki/Usu%C3%A1rio:Usien6> set -euvxo 'pipefail' && shopt -s 'expand_aliases' > '/dev/null' hash gsed && alias -- 'sed'="gsed" > '/dev/null' hash xclip && alias -- 'pbcopy'="xclip -selection 'clipboard' -i" declare -r TITULO='Resultados das eleições primárias presidenciais do Partido Democrata (Estados Unidos) em 2016 por estado' function traduzir() { local -r FONTE="${1:?}" cp '2016USDem.wikimedia' 'tmp' # Suprimir notas de cabeçalho sed -i 'tmp' -e 's/{{efn/{{subst:void/g' sed -i 'tmp' -e 's/\s*{{2016USDem source note[^}]*}}\s*//g' # Primeira linha do cabeçalho sed -i 'tmp' -e 's/ | Date/ | Data/' sed -i 'tmp' -e 's/ | State\/territory/ | Estado ou território/' sed -i 'tmp' -e 's/ | Calculated delegates/ | Delegados /' sed -i 'tmp' -e 's/ | Type/ | Tipo/' sed -i 'tmp' -e 's/ | Popular vote or equivalent/ | Voto popular ou equivalente/' sed -i 'tmp' -e 's/ | Calculated delegates/ | Delegados obtidos/' # Segunda linha do cabeçalho sed -i 'tmp' -e 's/\[\[Hillary Clinton presidential campaign, 2016/\[\[Hillary Clinton/g' sed -i 'tmp' -e 's/\[\[Bernie Sanders presidential campaign, 2016/\[\[Bernie Sanders/g' sed -i 'tmp' -e 's/ | Available/ | Ainda disponíveis/' # Terceira linha do cabeçalho sed -i 'tmp' -e 's/{{abbr|P|Pledged delegates}}/{{abbr|C|Delegados comprometidos}}/' sed -i 'tmp' -e 's/{{abbr|U|Unpledged delegates}}/{{abbr|S|Super-delegados}}/' sed -i 'tmp' -e 's/{{abbr|T|Total delegates}}/{{abbr|T|Total}}/' # Primeira coluna: datas sed -i 'tmp' -e 's/{{dts|\(\S\+\) \([0-9]\+\), 2016|format=[^}]*}}/{{dts|\2|\1|2016}}/' sed -i 'tmp' -e 's/{{dts|\([0-9]\+\)|February|2016}}/{{dts|\1|02|2016}}/' sed -i 'tmp' -e 's/{{dts|\([0-9]\+\)|March|2016}}/{{dts|\1|03|2016}}/' sed -i 'tmp' -e 's/{{dts|\([0-9]\+\)|April|2016}}/{{dts|\1|04|2016}}/' sed -i 'tmp' -e 's/{{dts|\([0-9]\+\)|May|2016}}/{{dts|\1|05|2016}}/' sed -i 'tmp' -e 's/{{dts|\([0-9]\+\)|June|2016}}/{{dts|\1|06|2016}}/' sed -i 'tmp' -e 's/{{dts|\([0-9]\)|/{{dts|0\1|/g' sed -i 'tmp' -e 's/{{dts|08|03|2016}}Mar 1–8/{{dts|01|03|2016}} \–{{dts|08|03|2016}}/' # Segunda coluna: intraligações sob os nomes dos estados e territórios sed -i 'tmp' -e "s/\[\[Democrats Abroad primary, 2016|Democrats Abroad\]\]/''Democrats Abroad''/" sed -i 'tmp' -e 's/ Democratic \(caucus\|primar\)[^,]*, 2016|/|/' sed -i 'tmp' -e 's/United States presidential election in \([^,]*\), 2016|/\1|/' sed -i 'tmp' -e 's/\[\[New Hampshire|New Hampshire\]\]/\[\[Nova Hampshire\]\]/' sed -i 'tmp' -e 's/\[\[South Carolina|South Carolina\]\]/\[\[Carolina do Sul\]\]/' sed -i 'tmp' -e 's/\[\[American Samoa|American Samoa\]\]/\[\[Samoa Americana\]\]/' sed -i 'tmp' -e 's/\[\[Georgia|Georgia\]\]/\[\[Geórgia (Estados Unidos)|Geórgia\]\]/' sed -i 'tmp' -e 's/\[\[Virginia|Virginia\]\]/\[\[Virgínia\]\]/' sed -i 'tmp' -e 's/\[\[Louisiana|Louisiana\]\]/\[\[Luisiana\]\]/' sed -i 'tmp' -e 's/\[\[Nebraska|Nebraska\]\]/\[\[Nebraska|Nebrasca\]\]/' sed -i 'tmp' -e 's/\[\[Northern Mariana Islands|Northern Marianas\]\]/\[\[Marianas Setentrionais|Marianas do Norte\]\]/' sed -i 'tmp' -e 's/\[\[Florida|Florida\]\]/\[\[Flórida\]\]/' sed -i 'tmp' -e 's/\[\[North Carolina|North Carolina\]\]/\[\[Carolina do Norte\]\]/' sed -i 'tmp' -e 's/\[\[Alaska|Alaska\]\]/\[\[Alasca\]\]/' sed -i 'tmp' -e 's/\[\[Hawaii|Hawaii\]\]/\[\[Havaí\]\]/' sed -i 'tmp' -e 's/\[\[New York|New York\]\]/\[\[Nova Iorque\]\]/' sed -i 'tmp' -e 's/\[\[Washington (state)|Washington\]\]/\[\[Washington\]\]/' sed -i 'tmp' -e 's/\[\[Pennsylvania|Pennsylvania\]\]/\[\[Pensilvânia\]\]/' sed -i 'tmp' -e 's/\[\[West Virginia|West Virginia\]\]/\[\[Virgínia Ocidental\]\]/' sed -i 'tmp' -e 's/\[\[United States Virgin Islands|Virgin Islands\]\]/\[\[Ilhas Virgens Americanas|Ilhas Virgens\]\]/' sed -i 'tmp' -e 's/\[\[Puerto Rico|Puerto Rico\]\]/\[\[Porto Rico\]\]/' sed -i 'tmp' -e 's/\[\[California|California\]\]/\[\[Califórnia\]\]/' sed -i 'tmp' -e 's/\[\[New Jersey|New Jersey\]\]/\[\[Nova Jérsia\]\]/' sed -i 'tmp' -e 's/\[\[New Mexico|New Mexico\]\]/\[\[Novo México\]\]/' sed -i 'tmp' -e 's/\[\[North Dakota|North Dakota\]\]/\[\[Dakota do Norte\]\]/' sed -i 'tmp' -e 's/\[\[South Dakota|South Dakota\]\]/\[\[Dakota do Sul\]\]/' sed -i 'tmp' -e 's/\[\[District of Columbia|District of Columbia\]\]/\[\[Distrito de Colúmbia\]\]/' sed -i 'tmp' -e 's/Non-binding primary with no delegates allocated/Primária não-vinculante, sem nenhum delegado alocado/' # Quarta coluna: tipo de concorrências sed -i 'tmp' -e 's/{{abbr|\(CD\|LDD\|SCD\|SDE\)[^}]\+}}//g' sed -i 'tmp' -e 's/{{Hs|\(..\)\(-[^}]*\)\?}}/{{ord|\1}}/g' sed -i 'tmp' -e 's/}}\s*Open caucus/}}Conselho aberto/g' sed -i 'tmp' -e 's/}}\s*Semi-open caucus/}}Conselho semi-aberto/g' sed -i 'tmp' -e 's/}}\s*Semi-closed caucus/}}Conselho semi-fechado/g' sed -i 'tmp' -e 's/}}\s*Closed caucus/}}Conselho fechado/g' sed -i 'tmp' -e 's/}}\s*Open primary/}}Primária aberta/g' sed -i 'tmp' -e 's/}}\s*Semi-open primary/}}Primária semi-aberta/g' sed -i 'tmp' -e 's/}}\s*Semi-closed primary/}}Primária semi-fechada/g' sed -i 'tmp' -e 's/}}\s*Closed primary/}}Primária fechada/g' # Quinta coluna: votos populares ou equivalentes sed -i 'tmp' -e 's/\s*|\s\+\([0-9]\+\)\s\+(\([0-9]\+\.[0-9]\+\)%)/ | {{fmtn|\1}}\ <small>({{fmtnx|\2|%}})<\/small>/g' sed -i 'tmp' -e 's/\s*|\s\+\([0-9]\+\),\([0-9]\+\)\s\+(\([0-9]\+\.[0-9]\+\)%)/ | {{fmtn|\1\2}}\ <small>({{fmtnx|\3|%}})<\/small>/g' sed -i 'tmp' -e 's/\s*|\s\+\([0-9]\+\),\([0-9]\+\),\([0-9]\+\)\s\+(\([0-9]\+\.[0-9]\+\)%)/ | {{fmtn|\1\2\3}}\ <small>({{fmtnx|\4|%}})<\/small>/g' # Últimas linhas sed -i 'tmp' -e "s/| State unknown<br\/>(vacant positions)/ | ''sem estado''/" sed -i 'tmp' -e 's/Party shading\/Democratic/Partido Democrata (Estados Unidos)\/meta\/cor/g' sed -i 'tmp' -e 's/\([0-9]\+\),\([0-9]\+\),\([0-9]\+\)\s*<br[^>]*>\s*(\([0-9\.]\+\)%)/{{fmtn|\1\2\3}}\ <small>({{fmtnx|\4|%}})<\/small>/' sed -i 'tmp' -e 's/\(! {{[^}]\+}} | \)\s*\([0-9]\+\),\([0-9]\+\)/\1 {{fmtn|\2\3}}/' sed -i 'tmp' -e 's/\(! {{[^}]\+}} | \)\s*\([0-9]\+\)/\1 {{fmtn|\2}}/' sed -i 'tmp' -e 's/\(! style="background:#[^"]*" | \)\s*\([0-9]\+\),\([0-9]\+\)/\1 {{fmtn|\2\3}}/' sed -i 'tmp' -e 's/\(! style="background:#[^"]*" | \)\s*\([0-9]\+\)/\1 {{fmtn|\2}}/' sed -i 'tmp' -e 's/ | Clinton delegates/ | Clinton/' sed -i 'tmp' -e 's/ | Sanders delegates/ | Sanders/' sed -i 'tmp' -e 's/ | Ainda disponíveis delegates/ | Disponíveis/' sed -i 'tmp' -e "s/{{navbar|2016USDem/{{navbar|${TITULO}/" # Suprimir inclusões em categorias sed -i 'tmp' -e 's/\s*\[\[Category:[^\[]*\]\]\s*/<!-- & -->/g' # Finalização: colar esse código fonte sed -i 'tmp' -e 's/{{notelist[^}]*}}//gI' sed -i 'tmp' -e 's/{{reflist[^}]*}}//gI' sed -i 'tmp' -e 's/<noinclude>/<noinclude><\/div><\/noinclude><!-- \/includeonly Fim da gambiarra com "div" -->&/' sed -i 'tmp' -e 's/^\s*<\/noinclude>\s*$//' cat \ <(echo -n '<!-- includeonly Fiz esta gambiarra com <div> pois parece que a substituição {{subst:void|...}} pára de funcionar quando dentro da etiqueta <includeonly> --><noinclude><div style="display: none; "></noinclude>') \ 'tmp' \ <(echo -n '{{Documentação|conteúdo= A predefinição '\'\'\''{{tlx|{{PAGENAME}}}}'\'\'\'' preenche parte da seção "'\'\''Calendário e resultados'\'\''" do verbete '\'\''[[Eleições primárias presidenciais do Partido Democrata (Estados Unidos) em 2016]]'\'\''. ;ATENÇÃO '\'\'\''NÃO'\'\'\'' tente editar essa predefinição manualmente!! Adicione novos dados à [[:en:Template:2016USDem|versão anglófona]] depois execute o script, cujo código-fonte pode ser encontrado abaixo. O script irá baixar a última versão anglófona, depois irá traduzi-la e copiará o resultado para sua área de transferência. Clique em "editar código-fonte", cole o resultado, sem modificá-lo, depois clique em "Mostrar previsão". É importante inspecionar atentamente o resultado, pois não há garantias que o script funcione perfeitamente! __FORCETOC____TOC__ == Resultado == {{ {{FULLPAGENAME}} }} == Código-fonte do script== <pre> ') \ <(cat -- "${FONTE}" | sed -e 's/\&/\&/g' | sed -e 's/</\</g' | sed -e 's/>/\>/g') \ <(echo '</pre> É importante que o script seja rodado a partir do sistema de arquivos, pois precisará buscar a si mesmo para gerar essa documentação. {{Referências|col = 3}} }} [[Categoria:!Predefinições sobre eleições nos Estados Unidos|{{PAGENAME}}]] </noinclude>') \ > 'tmp2' mv 'tmp2' 'tmp' # Embelezar sed -i 'tmp' -e 's/^\s\+\(|\)/\1/g' sed -i 'tmp' -e 's/\s\+$//g' sed -i 'tmp' -e 's/|\-/|\-\n\n|\-/g' # Copiar para a área de transferência do Xwin e exibir pbcopy < 'tmp' less 'tmp' # rm -rfv 'tmp' } function baixar() { [[ -e '2016USDem.wikimedia' ]] || curl 'https://en.wikipedia.org/w/index.php?title=Template:2016USDem&action=raw' > '2016USDem.wikimedia' } baixar && traduzir "${0}"
É importante que o script seja rodado a partir do sistema de arquivos, pois precisará buscar a si mesmo para gerar essa documentação.
Referências
- ↑ «Iowa Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «New Hampshire Democratic Primary Results». William M. Gardner New Hampshire Secretary of State. Consultado em 1 de abril de 2016
- ↑ «Nevada Caucus Results». The New York Times. Consultado em 15 de maio de 2016
- ↑ «South Carolina Democratic Primary Official Results». South Carolina State Election Commission. Consultado em 1 de abril de 2016
- ↑ «Alabama Democratic Party certified Election Results» (PDF). Secretary of State of Alabama. Consultado em 1 de abril de 2016
- ↑ Berg-Andersson, Richard E. «American Samoa Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «Arkansas Official County results (provisional)». Arkansas Secretary of State. Consultado em 1 de abril de 2016
- ↑ Berg-Andersson, Richard E. (15 de abril de 2016). «Colorado Democratic Delegation 2016». The Green Papers. Consultado em 19 de abril de 2016
- ↑ «Georgia Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Massachusetts Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Massachusetts Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ «Minnesota Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Oklahoma State Election Board - 2016 March PPP Election». ok.gov. Consultado em 17 de junho de 2016
- ↑ «Oklahoma Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Tennessee Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Texas Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ Vermont Secretary of State
- ↑ «Vermont Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Virginia Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Kansas Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Louisiana Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Nebraska Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Maine Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ Berg-Andersson, Richard E. «Democrats Abroad Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Michigan Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Johnson, Ruth. «2016 Michigan Election results». Michigan Department of State. Consultado em 1 de abril de 2016
- ↑ «Mississippi Primary Results». Mississippi Secretary of State. Consultado em 16 de junho de 2016
- ↑ Berg-Andersson, Richard E. «Northern Marianas Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Florida Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «2016 Presidential Preference Primary - Official Election Results». Florida Department of State Division of elections. Consultado em 31 de março de 2016
- ↑ Berg-Andersson, Richard E. «Illinois Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Missouri Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «North Carolina Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «Ohio Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Ohio Democratic Delegation 2016». thegreenpapers.com. Consultado em 23 de abril de 2016
- ↑ «State of Arizona Official Canvass - 2016 Presidential Preference Election - March 22, 2016» (PDF). Arizona Secretary of State. 4 de abril de 2016. Consultado em 6 de abril de 2016
- ↑ Berg-Andersson, Richard E. «Arizona Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Idaho Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Utah Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «Alaska Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Alaska Democratic Delegation 2016». thegreenpapers.com. Consultado em 23 de abril de 2016
- ↑ «Hawaii Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ Berg-Andersson, Richard E. «Washington Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Wisconsin Official Results
- ↑ Berg-Andersson, Richard E. «Wisconsin Democratic Delegation 2016». The Green Papers. Consultado em 6 de abril de 2016
- ↑ Berg-Andersson, Richard E. «Wyoming Democratic Delegation 2016». The Green Papers. Consultado em 25 de abril de 2016
- ↑ New York State Board of Elections
- ↑ «New York Primary Results». The New York Times. Consultado em 17 de abril de 2016
- ↑ «New York Democratic Delegation 2016». thegreenpapers.com. Consultado em 23 de abril de 2016
- ↑ Connecticut Secretary of State - Official Primary Results
- ↑ «Connecticut Democratic Delegation 2016». thegreenpapers.com. Consultado em 27 de abril de 2016
- ↑ «State of Delaware - Office of the State Election Commissioner». delaware.gov. Consultado em 18 de junho de 2016
- ↑ «Delaware Primary Results». The New York Times. Consultado em 26 de abril de 2016
- ↑ «Maryland Official Primary Results». Maryland State Board of Elections. Consultado em 15 de junho de 2016
- ↑ «Maryland Democratic Delegation 2016». thegreenpapers.com. Consultado em 27 de abril de 2016
- ↑ «Pennsylvania Democratic Delegation 2016». thegreenpapers.com. Consultado em 27 de abril de 2016
- ↑ «Rhode Island Primary Results». The New York Times. Consultado em 26 de abril de 2016
- ↑ «RI.gov: Election Results». ri.gov. Consultado em 6 de maio de 2016
- ↑ «Indiana Democratic Delegation 2016 - Official Primary Results». thegreenpapers.com. Consultado em 4 de maio de 2016
- ↑ «Guam Democratic Delegation». thegreenpapers.com. Consultado em 7 de maio de 2016
- ↑ «Election Results». Nebraska Secretary of State . Consultado em 10 de maio de 2016
- ↑ «West Virginia Democratic Delegation 2016». thegreenpapers.com. Consultado em 12 de maio de 2016
- ↑ Kentucky Secretary of State - Official Primary Results
- ↑ «Kentucky Democratic Delegation 2016». thegreenpapers.com. Consultado em 17 de maio de 2016
- ↑ Oregon Secretary of State - Official Election Results
- ↑ «Unofficial Election Results». Oregon Secretary of State. Consultado em 18 de maio de 2016
- ↑ «Oregon Democratic Delegation 2016». thegreenpapers.com. Consultado em 20 de maio de 2016
- ↑ «Presidential Primary Results». wa.gov. 24 de maio de 2016. Consultado em 28 de maio de 2016
- ↑ «2016 Presidential Primary». wa.gov. Consultado em 12 de maio de 2016
- ↑ «Clinton moves closer to nomination, sweeps in Virgin Islands». Consultado em 5 de junho de 2016
- ↑ «Delegate Tracker». Associated Press. 6 de junho de 2016. Consultado em 6 de junho de 2016
- ↑ «Virgin Islands Democratic Delegation 2016». thegreenpapers.com. Consultado em 17 de julho de 2016
- ↑ «Puerto Rico Democratic Delegation 2016». thegreenpapers.com. Consultado em 19 de abril de 2016
- ↑ «California Democratic Primary - Official Election Results» (PDF). ca.gov. Consultado em 25 de julho de 2016
- ↑ «California Democratic Delegation 2016». thegreenpapers.com. Consultado em 29 de junho de 2016
- ↑ Montana Secretary of State - Official Primary Results
- ↑ «Montana Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ New Jersey Democratic Primary Official Results - New Jersey Department of State
- ↑ «New Jersey Democratic Primary Results» (PDF). New Jersey State Elections. 7 de junho de 2016. Consultado em 15 de junho de 2016
- ↑ «New Jersey Democrat». The Green Papers. 7 de junho de 2016. Consultado em 7 de junho de 2016
- ↑ New Mexico State Board of Elections - Official Primary Results
- ↑ «New Mexico Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ «North Dakota Democrat». The Green Papers. 7 de junho de 2016. Consultado em 7 de junho de 2016
- ↑ «North Dakota Democratic-NPL Caucus Guide 2016». Consultado em 29 de maio de 2016 [ligação inativa]
- ↑ South Dakota Secretary of State - Official Primary Results
- ↑ «South Dakota Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ «Upcoming Elections: South Dakota Secretary of State, Shantel Krebs». sdsos.gov. Consultado em 19 de abril de 2016
- ↑ District of Columbia Board of Elections - Official Primary Results
- ↑ «District of Columbia Democratic Delegation 2016». thegreenpapers.com. Consultado em 14 de junho de 2016
- ↑ «Iowa Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «New Hampshire Democratic Primary Results». William M. Gardner New Hampshire Secretary of State. Consultado em 1 de abril de 2016
- ↑ «Nevada Caucus Results». The New York Times. Consultado em 15 de maio de 2016
- ↑ «South Carolina Democratic Primary Official Results». South Carolina State Election Commission. Consultado em 1 de abril de 2016
- ↑ «Alabama Democratic Party certified Election Results» (PDF). Secretary of State of Alabama. Consultado em 1 de abril de 2016
- ↑ Berg-Andersson, Richard E. «American Samoa Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «Arkansas Official County results (provisional)». Arkansas Secretary of State. Consultado em 1 de abril de 2016
- ↑ Berg-Andersson, Richard E. (15 de abril de 2016). «Colorado Democratic Delegation 2016». The Green Papers. Consultado em 19 de abril de 2016
- ↑ «Georgia Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Massachusetts Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Massachusetts Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ «Minnesota Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Oklahoma State Election Board - 2016 March PPP Election». ok.gov. Consultado em 17 de junho de 2016
- ↑ «Oklahoma Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Tennessee Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Texas Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ Vermont Secretary of State
- ↑ «Vermont Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Virginia Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Kansas Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Louisiana Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Nebraska Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Maine Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ Berg-Andersson, Richard E. «Democrats Abroad Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Michigan Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Johnson, Ruth. «2016 Michigan Election results». Michigan Department of State. Consultado em 1 de abril de 2016
- ↑ «Mississippi Primary Results». Mississippi Secretary of State. Consultado em 16 de junho de 2016
- ↑ Berg-Andersson, Richard E. «Northern Marianas Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Florida Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «2016 Presidential Preference Primary - Official Election Results». Florida Department of State Division of elections. Consultado em 31 de março de 2016
- ↑ Berg-Andersson, Richard E. «Illinois Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Missouri Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «North Carolina Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «Ohio Primary Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Ohio Democratic Delegation 2016». thegreenpapers.com. Consultado em 23 de abril de 2016
- ↑ «State of Arizona Official Canvass - 2016 Presidential Preference Election - March 22, 2016» (PDF). Arizona Secretary of State. 4 de abril de 2016. Consultado em 6 de abril de 2016
- ↑ Berg-Andersson, Richard E. «Arizona Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Idaho Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Berg-Andersson, Richard E. «Utah Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ «Alaska Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ «Alaska Democratic Delegation 2016». thegreenpapers.com. Consultado em 23 de abril de 2016
- ↑ «Hawaii Caucus Results». The New York Times. Consultado em 28 de março de 2016
- ↑ Berg-Andersson, Richard E. «Washington Democratic Delegation 2016». The Green Papers. Consultado em 30 de março de 2016
- ↑ Wisconsin Official Results
- ↑ Berg-Andersson, Richard E. «Wisconsin Democratic Delegation 2016». The Green Papers. Consultado em 6 de abril de 2016
- ↑ Berg-Andersson, Richard E. «Wyoming Democratic Delegation 2016». The Green Papers. Consultado em 25 de abril de 2016
- ↑ New York State Board of Elections
- ↑ «New York Primary Results». The New York Times. Consultado em 17 de abril de 2016
- ↑ «New York Democratic Delegation 2016». thegreenpapers.com. Consultado em 23 de abril de 2016
- ↑ Connecticut Secretary of State - Official Primary Results
- ↑ «Connecticut Democratic Delegation 2016». thegreenpapers.com. Consultado em 27 de abril de 2016
- ↑ «State of Delaware - Office of the State Election Commissioner». delaware.gov. Consultado em 18 de junho de 2016
- ↑ «Delaware Primary Results». The New York Times. Consultado em 26 de abril de 2016
- ↑ «Maryland Official Primary Results». Maryland State Board of Elections. Consultado em 15 de junho de 2016
- ↑ «Maryland Democratic Delegation 2016». thegreenpapers.com. Consultado em 27 de abril de 2016
- ↑ «Pennsylvania Democratic Delegation 2016». thegreenpapers.com. Consultado em 27 de abril de 2016
- ↑ «Rhode Island Primary Results». The New York Times. Consultado em 26 de abril de 2016
- ↑ «RI.gov: Election Results». ri.gov. Consultado em 6 de maio de 2016
- ↑ «Indiana Democratic Delegation 2016 - Official Primary Results». thegreenpapers.com. Consultado em 4 de maio de 2016
- ↑ «Guam Democratic Delegation». thegreenpapers.com. Consultado em 7 de maio de 2016
- ↑ «Election Results». Nebraska Secretary of State . Consultado em 10 de maio de 2016
- ↑ «West Virginia Democratic Delegation 2016». thegreenpapers.com. Consultado em 12 de maio de 2016
- ↑ Kentucky Secretary of State - Official Primary Results
- ↑ «Kentucky Democratic Delegation 2016». thegreenpapers.com. Consultado em 17 de maio de 2016
- ↑ Oregon Secretary of State - Official Election Results
- ↑ «Unofficial Election Results». Oregon Secretary of State. Consultado em 18 de maio de 2016
- ↑ «Oregon Democratic Delegation 2016». thegreenpapers.com. Consultado em 20 de maio de 2016
- ↑ «Presidential Primary Results». wa.gov. 24 de maio de 2016. Consultado em 28 de maio de 2016
- ↑ «2016 Presidential Primary». wa.gov. Consultado em 12 de maio de 2016
- ↑ «Clinton moves closer to nomination, sweeps in Virgin Islands». Consultado em 5 de junho de 2016
- ↑ «Delegate Tracker». Associated Press. 6 de junho de 2016. Consultado em 6 de junho de 2016
- ↑ «Virgin Islands Democratic Delegation 2016». thegreenpapers.com. Consultado em 17 de julho de 2016
- ↑ «Puerto Rico Democratic Delegation 2016». thegreenpapers.com. Consultado em 19 de abril de 2016
- ↑ «California Democratic Primary - Official Election Results» (PDF). ca.gov. Consultado em 25 de julho de 2016
- ↑ «California Democratic Delegation 2016». thegreenpapers.com. Consultado em 29 de junho de 2016
- ↑ Montana Secretary of State - Official Primary Results
- ↑ «Montana Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ New Jersey Democratic Primary Official Results - New Jersey Department of State
- ↑ «New Jersey Democratic Primary Results» (PDF). New Jersey State Elections. 7 de junho de 2016. Consultado em 15 de junho de 2016
- ↑ «New Jersey Democrat». The Green Papers. 7 de junho de 2016. Consultado em 7 de junho de 2016
- ↑ New Mexico State Board of Elections - Official Primary Results
- ↑ «New Mexico Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ «North Dakota Democrat». The Green Papers. 7 de junho de 2016. Consultado em 7 de junho de 2016
- ↑ «North Dakota Democratic-NPL Caucus Guide 2016». Consultado em 29 de maio de 2016 [ligação inativa]
- ↑ South Dakota Secretary of State - Official Primary Results
- ↑ «South Dakota Democratic Delegation 2016». thegreenpapers.com. Consultado em 13 de junho de 2016
- ↑ «Upcoming Elections: South Dakota Secretary of State, Shantel Krebs». sdsos.gov. Consultado em 19 de abril de 2016
- ↑ District of Columbia Board of Elections - Official Primary Results
- ↑ «District of Columbia Democratic Delegation 2016». thegreenpapers.com. Consultado em 14 de junho de 2016
Editores podem experimentar nas páginas de teste (criar | espelhar) e de exemplos para testes (criar) desta predefinição. Subpáginas desta predefinição. |