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 Usage  



1.1  Examples  







2 Technical note  





3 See also  














Template:Pslink







فارسی
Latina
Lietuvių
Slovenščina
 


Edit links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
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
 




In other projects  



Wikimedia Commons
MediaWiki
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


[[#{{{1}}}|{{{1}}}]]

This template creates a link to a section of an article. It can be used both in an article and its corresponding talk-page. It also can be used with two parameters to link to a different article. The only visible text is the section's name.

It has three advantages:

Usage[edit]

{{Pslink|section}} gives a link to {{SUBJECTPAGE}}#Section and looks like [[...|section]]

{{Pslink|page|section}} gives a link to Page#Section and looks like [[...|section]]

Examples[edit]

{{Pslink|Usage}} links to Usage.

{{Pslink|usage}} also links to usage.

It would also link to Usage if written on Template talk:Pslink.

{{Pslink|1891 Atlantic hurricane season|Storms}} links to Storms

Technical note[edit]

Because links to anchors are case-sensitive (at least when using Mozilla), and because per our style guide section headlines should begin with an uppercase letter, this template automatically capitalizes the first letter of the link. Therefore, it is not possible to link to a section with a lower case title with this template, which can be a problem when linking to talk page discussions.

See also[edit]


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

Category: 
Section and anchor link formatting templates
 



This page was last edited on 24 February 2015, at 08:55 (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