Template:NAXPoll: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
|- | |- | ||
{{#if:{{{party1|}}}| | {{#if:{{{party1|}}}| | ||
| | | {{#if:{{{abbr1|}}}|[[{{{party1}}}]] ([[{{{abbr1}}}]])|[[{{{party1}}}]]}} | ||
| {{#if:{{{pct1|}}}|{{{pct1}}}|}}% | | {{#if:{{{pct1|}}}|{{{pct1}}}|}}% | ||
| {{#if:{{{dir1|}}}|{{{{{{dir1}}}}}}} {{#if:{{{change1|}}}|{{{change1}}}|}}% | | {{#if:{{{dir1|}}}|{{{{{{dir1}}}}}}} {{#if:{{{change1|}}}|{{{change1}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party2|}}}| | {{#if:{{{party2|}}}| | ||
| | | {{#if:{{{abbr2|}}}|[[{{{party2}}}]] ([[{{{abbr2}}}]])|[[{{{party2}}}]]}} | ||
| {{#if:{{{pct2|}}}|{{{pct2}}}|}}% | | {{#if:{{{pct2|}}}|{{{pct2}}}|}}% | ||
| {{#if:{{{dir2|}}}|{{{{{{dir2}}}}}}} {{#if:{{{change2|}}}|{{{change2}}}|}}% | | {{#if:{{{dir2|}}}|{{{{{{dir2}}}}}}} {{#if:{{{change2|}}}|{{{change2}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party3|}}}| | {{#if:{{{party3|}}}| | ||
| | | {{#if:{{{abbr3|}}}|[[{{{party3}}}]] ([[{{{abbr3}}}]])|[[{{{party3}}}]]}} | ||
| {{#if:{{{pct3|}}}|{{{pct3}}}|}}% | | {{#if:{{{pct3|}}}|{{{pct3}}}|}}% | ||
| {{#if:{{{dir3|}}}|{{{{{{dir3}}}}}}} {{#if:{{{change3|}}}|{{{change3}}}|}}% | | {{#if:{{{dir3|}}}|{{{{{{dir3}}}}}}} {{#if:{{{change3|}}}|{{{change3}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party4|}}}| | {{#if:{{{party4|}}}| | ||
| | | {{#if:{{{abbr4|}}}|[[{{{party4}}}]] ([[{{{abbr4}}}]])|[[{{{party4}}}]]}} | ||
| {{#if:{{{pct4|}}}|{{{pct4}}}|}}% | | {{#if:{{{pct4|}}}|{{{pct4}}}|}}% | ||
| {{#if:{{{dir4|}}}|{{{{{{dir4}}}}}}} {{#if:{{{change4|}}}|{{{change4}}}|}}% | | {{#if:{{{dir4|}}}|{{{{{{dir4}}}}}}} {{#if:{{{change4|}}}|{{{change4}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party5|}}}| | {{#if:{{{party5|}}}| | ||
| | | {{#if:{{{abbr5|}}}|[[{{{party5}}}]] ([[{{{abbr5}}}]])|[[{{{party5}}}]]}} | ||
| {{#if:{{{pct5|}}}|{{{pct5}}}|}}% | | {{#if:{{{pct5|}}}|{{{pct5}}}|}}% | ||
| {{#if:{{{dir5|}}}|{{{{{{dir5}}}}}}} {{#if:{{{change5|}}}|{{{change5}}}|}}% | | {{#if:{{{dir5|}}}|{{{{{{dir5}}}}}}} {{#if:{{{change5|}}}|{{{change5}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party6|}}}| | {{#if:{{{party6|}}}| | ||
| | | {{#if:{{{abbr6|}}}|[[{{{party6}}}]] ([[{{{abbr6}}}]])|[[{{{party6}}}]]}} | ||
| {{#if:{{{pct6|}}}|{{{pct6}}}|}}% | | {{#if:{{{pct6|}}}|{{{pct6}}}|}}% | ||
| {{#if:{{{dir6|}}}|{{{{{{dir6}}}}}}} {{#if:{{{change6|}}}|{{{change6}}}|}}% | | {{#if:{{{dir6|}}}|{{{{{{dir6}}}}}}} {{#if:{{{change6|}}}|{{{change6}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party7|}}}| | {{#if:{{{party7|}}}| | ||
| | | {{#if:{{{abbr7|}}}|[[{{{party7}}}]] ([[{{{abbr7}}}]])|[[{{{party7}}}]]}} | ||
| {{#if:{{{pct7|}}}|{{{pct7}}}|}}% | | {{#if:{{{pct7|}}}|{{{pct7}}}|}}% | ||
| {{#if:{{{dir7|}}}|{{{{{{dir7}}}}}}} {{#if:{{{change7|}}}|{{{change7}}}|}}% | | {{#if:{{{dir7|}}}|{{{{{{dir7}}}}}}} {{#if:{{{change7|}}}|{{{change7}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party8|}}}| | {{#if:{{{party8|}}}| | ||
| | | {{#if:{{{abbr8|}}}|[[{{{party8}}}]] ([[{{{abbr8}}}]])|[[{{{party8}}}]]}} | ||
| {{#if:{{{pct8|}}}|{{{pct8}}}|}}% | | {{#if:{{{pct8|}}}|{{{pct8}}}|}}% | ||
| {{#if:{{{dir8|}}}|{{{{{{dir8}}}}}}} {{#if:{{{change8|}}}|{{{change8}}}|}}% | | {{#if:{{{dir8|}}}|{{{{{{dir8}}}}}}} {{#if:{{{change8|}}}|{{{change8}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party9|}}}| | {{#if:{{{party9|}}}| | ||
| | | {{#if:{{{abbr9|}}}|[[{{{party9}}}]] ([[{{{abbr9}}}]])|[[{{{party9}}}]]}} | ||
| {{#if:{{{pct9|}}}|{{{pct9}}}|}}% | | {{#if:{{{pct9|}}}|{{{pct9}}}|}}% | ||
| {{#if:{{{dir9|}}}|{{{{{{dir9}}}}}}} {{#if:{{{change9|}}}|{{{change9}}}|}}% | | {{#if:{{{dir9|}}}|{{{{{{dir9}}}}}}} {{#if:{{{change9|}}}|{{{change9}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
{{#if:{{{party10|}}}| | {{#if:{{{party10|}}}| | ||
| | | {{#if:{{{abbr10|}}}|[[{{{party10}}}]] ([[{{{abbr10}}}]])|[[{{{party10}}}]]}} | ||
| {{#if:{{{pct10|}}}|{{{pct10}}}|}}% | | {{#if:{{{pct10|}}}|{{{pct10}}}|}}% | ||
| {{#if:{{{dir10|}}}|{{{{{{dir10}}}}}}} {{#if:{{{change10|}}}|{{{change10}}}|}}% | | {{#if:{{{dir10|}}}|{{{{{{dir10}}}}}}} {{#if:{{{change10|}}}|{{{change10}}}|}}% | ||
|- | |- | ||
}} | |}} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
Revision as of 01:02, 19 May 2025
This template creates standardized polling tables for Nouvelle Alexandrie.
Usage
National Party Voting Intention
{{#if:Federal Humanist Party|| Party | Percentage in Poll | Change (Since I.1744 AN{{#if:I.)) | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Federal Humanist Party (FHP) | 33.1% | {{{increase}}}} 3.8%
{{#if:Federal Consensus Party of Nouvelle Alexandrie| |
Federal Consensus Party of Nouvelle Alexandrie (FCP) | 32.5% | {{{increase}}}} 8.7%
{{#if:Alliance for a Just Nouvelle Alexandrie| |
Alliance for a Just Nouvelle Alexandrie (AJNA) | 31.8% | {{{decrease}}}} 10.9%
{{#if:Liberty and Prosperity Alliance| |
Liberty and Prosperity Alliance (LPA) | 1.1% | {{{decrease}}}} 0.8%
{{#if:Independents & Other Candidates| |
Independents & Other Candidates | 1.5% | {{{decrease}}}} 0.8%
{{#if:| |
[[{{{party6}}}]] | % | -
{{#if:| |
[[{{{party7}}}]] | % | -
{{#if:| |
[[{{{party8}}}]] | % | -
{{#if:| |
[[{{{party9}}}]] | % | -
{{#if:| |
[[{{{party10}}}]] | % | - |
Parameters
- polltype - Type of poll (e.g. "National Party Voting Intention", "Government Popularity", "Party Leaders Approval Ratings")
- month - Month in AN format (use Roman numerals)
- year - Year in AN format (e.g. 1744)
- prevmonth - Previous month for comparison (optional)
- prevyear - Previous year for comparison (optional)
- margin - Margin of error (e.g. 2.4)
- party1...party10 - Name of party or poll category
- abbr1...abbr10 - Abbreviation of party if applicable
- pct1...pct10 - Percentage value
- change1...change10 - Change amount (without + or - sign)
- dir1...dir10 - Direction of change (increase, decrease, or steady)
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |
