Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Aliases  





2 Substitution  














Template:United States presidential election results table header






Simple English

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


This is used to start the table of the results of United States presidential elections in a given area, such as a county, city, etc. It is used alongside {{PresRow}} and {{PresFoot}} for that purpose, like so:

{{PresHead|PresHead parameters...}}
{{PresRow|PresRow parameters...}}
{{PresRow|PresRow parameters...}}
.
.
.
{{PresRow|PresRow parameters...}}
{{PresFoot|PresFoot parameters...}}

It has the following parameters:

Test cases can be found at the test page for PresRow here.

Aliases

Substitution

PresHead (this particular template) and PresFoot should NOT be substituted. The code works just the same if they are, but it is not best practice to substitute them. PresHead should not be substituted because it doesn't speed up the performance of the page appreciably and leaves it unable to automatically conform to any changes to the template (however low a chance they may have of happening). PresFoot should not be substituted because it won't necessarily be the earliest Presidential election available (earlier data may yet be found, for example), and it leaves a "cap" to the wikitable that proves a slight inconvenience to remove.

PresRow may be substituted at the discretion of the editor to help avoid the transclusor (i.e., the page on which the template is transcluded) reaching the template limits.


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:United_States_presidential_election_results_table_header&oldid=1201415383"

Category: 
Presidential elections in the United States
Hidden categories: 
Wikipedia extended-confirmed-protected templates
Wikipedia substituted templates
 



This page was last edited on 31 January 2024, at 15:41 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki