User:Ederporto/sandbox/9

{{{{{|safesubst:}}}#ifexist:{{{{{|safesubst:}}}FULLPAGENAME}}/state|{{{{{|safesubst:}}}#ifexist:{{{{{|safesubst:}}}FULLPAGENAME}}/federal|{{{{{|safesubst:}}}#ifexist:{{{{{|safesubst:}}}FULLPAGENAME}}/senator|{{{{{|safesubst:}}}#ifexist:{{{{{|safesubst:}}}FULLPAGENAME}}/governor1|{{{{{|safesubst:}}}#ifexist:{{{{{|safesubst:}}}FULLPAGENAME}}/governor{{{{{|safesubst:}}}#if:{{{3|}}}|2|1}}|{{Infobox Election {{{{{|safesubst:}}}#if:{{{3|}}}|| }}| map_image         = }}
 * election_name     = {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1001|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}|linked=no}} gubernatorial election, {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}}
 * country           = {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1001|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}|linked=no}}
 * party_name        = yes
 * type              = gubernatorial
 * ongoing           = no
 * previous_election = {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}}-4}} {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1001|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}|linked=no}} gubernatorial election
 * previous_year     = {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}}-4}}
 * next_election     = {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}}+4}} {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1001|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}|linked=no}} gubernatorial election
 * next_year         = {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}}+4}}
 * election_date     = {{{{{|safesubst:}}}#if:{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{2|}}}}} (First round) {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}}} (Second round) |{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{2|}}}}}}}
 * image1            = {{{{{
 * nominee1          = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}}}
 * running_mate1     = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P6149|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P6149|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}}}
 * party1            = {{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:String|replace|source={{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P102|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |1}}|pattern=[|replace=}}|{{{{{|safesubst:}}}!}}|1}}
 * popular_vote1     = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |1}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |1}}}}
 * percentage1       = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |1}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{Percentage|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |1}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|2}}|{{Percentage|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |1}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|2}}}}
 * image2            = {{{{{
 * nominee2          = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}}}
 * running_mate2     = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P6149|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P6149|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}}}
 * party2            = {{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:String|replace|source={{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P102|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |2}}|pattern=[|replace=}}|{{{{{|safesubst:}}}!}}|1}}
 * popular_vote2     = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |2}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |2}}}}
 * percentage2       = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |2}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{Percentage|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |2}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|2}}|{{Percentage|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |2}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|2}}}}
 * image3            = {{{{{
 * nominee3          = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}}}
 * running_mate3     = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P6149|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P6149|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}}}
 * party3            = {{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P102|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes|linked=no}}|, |3}}
 * popular_vote3     = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |3}}|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |3}}}}
 * percentage3       = {{{{{|safesubst:}}}#ifeq:{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|, |3}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|{{Percentage|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |3}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|2}}|{{Percentage|{{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |3}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|2}}}}
 * map_size          =
 * map_caption       =
 * title             = Governor
 * before_election   = {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P6|fetchwikidata=ALL|onlysourced=no|noicon=yes|qid={{{{{|safesubst:}}}#invoke:Wikidata|getPropertyIDs|P1001|FETCH_WIKIDATA|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}}}
 * before_party      = {{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:String|replace|source={{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P6|qual=P102|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#invoke:Wikidata|getPropertyIDs|P1001|FETCH_WIKIDATA|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}|qualsonly=yes}}|pattern=[|replace=}}|{{{{{|safesubst:}}}!}}|1}}
 * after_election    = {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}}}
 * after_party       = {{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:String|replace|source={{{{{|safesubst:}}}#invoke:Sandbox/Ederporto/Test|split|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|qual=P102|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{{{|safesubst:}}}#if:{{{3|}}}|{{{3|}}}|{{{2|}}}}}|qualsonly=yes}}|, |1}}|pattern=[|replace=}}|{{{{{|safesubst:}}}!}}|1}}

{{{{{|safesubst:}}}#invoke:WikidataIB|getAT|{{{1|}}}}} took place as part of the elections in 26 states and the Federal District. {{{{{|safesubst:}}}#invoke:WikidataIB|getValue|qid={{{3|}}}|P991|qual=P102|fetchwikidata=ALL|noicon=yes|onlysourced=no}} and {{{{{|safesubst:}}}#invoke:WikidataIB|getValue|qid={{{3|}}}|P991|qual=P6149|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes}} were elected to the positions of governor and vice governor, respectively and {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{4|}}}|sep= and }} for the position of senator. In addition, {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:String|len|s={{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|contagem=yes|qid={{{5|}}}}}}}-{{{{{|safesubst:}}}#invoke:String|len|s={{{{{|safesubst:}}}#invoke:String|replace|source={{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|contagem=yes|qid={{{5|}}}}}|pattern=,|replace=}}}}+1}} federal deputies and {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:String|len|s={{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|contagem=yes|qid={{{6|}}}}}}}-{{{{{|safesubst:}}}#invoke:String|len|s={{{{{|safesubst:}}}#invoke:String|replace|source={{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|contagem=yes|qid={{{6|}}}}}|pattern=,|replace= }}}}+1}} state deputies were elected.{{{{{|safesubst:}}}#if:{{{3|}}}| As none of the gubernatorial candidates received more than half of the valid votes, there was a second round on {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}}} between {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{2|}}}|sep= and }}, with {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P991|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}|postfix='s ticket}} winning with {{percentage|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|qid={{{3|}}}|P991|qual=P1111|fetchwikidata=ALL|noicon=yes|onlysourced=no|qualsonly=yes}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|qid={{{3|}}}|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no}}|2}} of the valid votes.}} By the Brazilian Constitution, the governor is elected for a four-year term beginning on the January 1st, {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}|df=y}}+1}}.

In {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P585|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}}, the {{{{{|safesubst:}}}#expr:{{{{{|safesubst:}}}#invoke:String|len|s={{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|contagem=yes|qid={{{2|}}}}}}}-{{{{{|safesubst:}}}#invoke:String|len|s={{{{{|safesubst:}}}#invoke:String|replace|source={{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P726|fetchwikidata=ALL|noicon=yes|onlysourced=no|contagem=yes|qid={{{2|}}}}}|pattern=,|replace=}}}}+1}} candidates for the position of governor were: {{{{{|safesubst:}}}#invoke:WikidataIB|getValue|qid={{{2|}}}|P726|qual=P102|fetchwikidata=ALL|noicon=yes|onlysourced=no}}.

The electoral process in the state had {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1867|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}} eligible votes and {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P5043|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{1|}}}}} ({{percentage|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P5043|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{4|}}}}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1867|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{4|}}}}}|2}}) abstentions {{{{{|safesubst:}}}#if:{{{3|}}}|in the first round. In the second round, there were {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P5043|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}}} ({{percentage|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P5043|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}}}|{{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1867|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}}}|2}}) abstentions.}} Excluding blank and spoilt votes, state deputies were elected with {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{6|}}}}} votes, while federal deputies were elected with {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{5|}}}}} votes. The position of senator was decided by {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{4|}}}}} valid votes and the one of governor by {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{2|}}}}} valid votes {{{{{|safesubst:}}}#if:{{{3|}}}|in the first round and by {{{{{|safesubst:}}}#invoke:WikidataIB|getPreferredValue|P1697|fetchwikidata=ALL|noicon=yes|onlysourced=no|qid={{{3|}}}}} valid votes on the second round}}.

Results

 *  You have to create the results table for the governor and vice governor before create this page.  []   Once the table is created, reload this page to create the article on your test page.    }}|   You have to create the results table for the governor and vice governor before create this page.   []   Once the table is created, reload this page to create the article on your test page.    }}|   You have to create the results table for the senator(s) before create this page.   []   Once the table is created, reload this page to create the article on your test page.    }}|   You have to create the results table for the federal deputies before create this page.   []   Once the table is created, reload this page to create the article on your test page.    }}|   You have to create the results table for the state deputies before create this page.   []   Once the table is created, reload this page to create the article on your test page.    }}