Puzzle Potato Dry Brush.png
UnNews Logo Potato1.png

Welcome to the Mother Ship of amateur comedy writing! (Amateur means we don't pay you to do it.)

This is where the original Uncyclopedia wound up. You might as well pick a user name. We have no "partners" that want to sell you stuff. Giving your email simply lets you recover your password; we don't send spam. Uncyclopedians get a talk page, private edit area, and a welcome, maybe, if you actually edit; and we won't de-platform you for your views, if they're funny.


Template:United States presidential election

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

Description

This is a meta-template to facilitate writing navigation templates for Uncyclopedia's United States presidential election articles. It abstracts table coding to simplify {{2008Pres}}, {{2012Pres}}, {{2016Pres}}, etc.

Usage

{{United States presidential election|year=year|Democratic=list|Republican=list|Third=list|below=text}}

Parameters

  • |year= (required)
    Election year
  • |Democratic= (optional)[note 1]
    Democratic Party candidates as a bulleted list, enclosed in <div>…</div>
  • |Republican= (optional)[note 1]
    Republican Party candidates as a bulleted list, enclosed in <div>…</div>
  • |Third= (optional)
    Third party candidates as a bulleted list, enclosed in <div>…</div>
  • |below= (optional)
    Passed to {{Navbox}} for text below the candidates

  1. Jump up to: 1.0 1.1 It's technically possible to specify no candidates whatsoever, although it doesn't make much sense for a two-party nation.

Examples

2016

Demonstrating application of the |below= parameter.

{{United States presidential election
|year=2016
|Republican=<div>
* [[Jeb Bush]]
* [[Ben Carson]]
* [[Chris Christie]]
* [[Ted Cruz]]
* [[Carly Fiorina]]
* [[Jim Gilmore]]
* [[Mike Huckabee]]
* [[John Kasich]]
* [[Rand Paul]]
* [[Rick Perry]]
* [[Marco Rubio]]
* [[Rick Santorum]]
* <s>[[Donald Trump]]</s><sup>†</sup>
</div>
|Democratic=<div>
* [[Hillary Clinton]]
* [[Bernie Sanders]]
</div>
|below=<sup>†</sup>Currently boycotting {{Wordmark}} until a certain moderator is removed who is Third-rate and her career is all washed up
}}

2008

Demonstrating that Third-party candidates only show up when non-empty.

{{United States presidential election
|year=2008
|Republican=<div>
* [[John McCain]]
* [[Rudy Giuliani]]
* [[Mike Huckabee]]
* [[Ron Paul]]
* [[Mitt Romney]]
* [[Tom Tancredo]]
* [[Fred Thompson]]
* [[Tommy Thompson]]
</div>
|Democratic=<div>
* [[Barack Obama]]/[[Baraq Hussein Osama]]
* [[Hillary Clinton]]
* [[John Edwards]]
</div>
|Third=<div>
* [[Ralph Nader]]
</div>
}}