Template:NAXPoll

From MicrasWiki
Jump to navigationJump to search


Template documentation

This template creates standardized polling tables for Nouvelle Alexandrie.

Usage

National Party Voting Intention
{{#if:Federal Humanist Party|
National Party Voting Intention
% of registered New Alexandrian voters
Margin of error: ±2.4%
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:|

[[:Category:{{{party6}}}|{{{party6}}}]] % -

{{#if:|

[[:Category:{{{party7}}}|{{{party7}}}]] % -

{{#if:|

[[:Category:{{{party8}}}|{{{party8}}}]] % -

{{#if:|

[[:Category:{{{party9}}}|{{{party9}}}]] % -

{{#if:|

[[:Category:{{{party10}}}|{{{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)