Template:Electiontable: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
Created page with "<noinclude> ==Usage== This template marks the beginning of a table and defines borders, margins, background colours, and text alignment within the table. (Default alignment is..."
 
No edit summary
Line 40: Line 40:
! align="center" colspan="2"|67
! align="center" colspan="2"|67
|}
|}
</noinclude> {| border="1" cellpadding="4" cellspacing="1" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; text-align:right; border-collapse: collapse; font-size: 95%;"
[[Category: Politics templates]]</noinclude> {| border="1" cellpadding="4" cellspacing="1" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; text-align:right; border-collapse: collapse; font-size: 95%;"
|+
|+

Revision as of 02:38, 12 January 2020

Usage

This template marks the beginning of a table and defines borders, margins, background colours, and text alignment within the table. (Default alignment is "right" - for numbers, others must be specified.) Table rows and cells are written as usual in any number and the table is closed with "|}"

Example:

Summary of Marsian election results, 2005
Parties Votes % +/- Seats +/-
The Little Green Party 123,456 79.2 -8.3 53 -8
The Red Party 23,697 15.2 +6.6 10 +4
The Sun-Followers' Party 8,730 5.6 +1.7 4 +4
Total 155,883 100% 67

{| border="1" cellpadding="4" cellspacing="1" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; text-align:right; border-collapse: collapse; font-size: 95%;"

|+