Template:Malaysian election result/source/doc
< Template:Malaysian election result | source
Jump to navigation
Jump to search
Revision as of 14:28, 1 September 2019 by imported>Anomalocaris (comment out stripped <code>)
| 40px | This is a documentation subpage for Template:Malaysian election result/source. It contains usage information, categories and other content that is not part of the original template page. |
Usage
| Parameter | Description | |
|---|---|---|
| Source / Note | 1 | Displays passed text. Use source= or note= if text contains an equals sign.
|
| Column span | colspan | Overrides the default and specifies number of columns spanned/in table (Default = 7) |
| Row style | style | Specify additional table/cell style="…" commands for the row. Separate/end style commands with ";".
|
| Preliminary | prelim | Set any value (e.g. "prelim=yes") to ignore source or note parameter and add the row: (Use in /source or /top, not both)
|
| ** Preliminary results — Not yet official ** | ||
| On date | on | Pass the future election date (e.g. on=29 March 2014) to display standardized notice:
|
| The 2013 general election will be held on 5 May. | ||
| By-election | by | Applicable only with on parameter above. Set any value (e.g. "by=yes") to reformat standardized notice (above) about future elections for by-elections:
|
| The by-election will be held on 29 March 2014. | ||
| Collapsed Sources | hide | Overridden by on and prelim. Set the source(s) here to put one or more rows of information into a hidden "Source(s)" section. Best practices are to place last in the table; separate multiple sources with a solid line <hr />; and do not use with <ref> links within hidden divisions.
|
| hide={{cite web |url=http://semak.spr.gov.my/spr/laporan/5_KedudukanAkhir.php |title=Keputusan Pilihan Raya |date=1 January 2016 |publisher=[[Election Commission of Malaysia]] |accessdate=23 April 2016 }} <hr/> {{cite web |url=http://www.elections.on.ca/…/ElectionSummary.xls |type=[[File:Microsoft_Excel_2013_logo.svg|15px]] Excel Spreadsheet |title=Statistical Summary |date=October 1, 2013 |publisher=[[Elections Ontario]] |accessdate=May 9, 2014 }} }} Close the /source template | ||
Source(s)
"Summary of Valid Votes Cast for Each Candidate" (PDF). Elections Ontario. October 6, 2011. Retrieved May 9, 2014. "Statistical Summary" (15px Excel Spreadsheet). Elections Ontario. October 1, 2013. Retrieved May 9, 2014. | ||