Template:Registration required/doc
This is a documentation subpage for Template:Registration required. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 7,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This function is now built into {{citation}} and the Citation Style 1 templates by use of |url-access=registration . |
This template can be used to flag an external link that requires free registration.
Use {{registration required}}
when you find an external link within a paragraph or a reference citation, where it is necessary to register with the website (but not pay anything) in order to view the page. Doing so will place a note by the URL.
Append this template directly after the external link or citation template, leaving the original link intact. Not doing so will prevent detection from automated tools. This tag should be placed within the reference, i.e. between the <ref>
and </ref>
tags. The notice will then appear in the footnote reference (instead of in the body of the text, which is not recommended).
Usage
[edit]- Common form
{{registration required}}
- Optional parameter
{{registration required|nolink=y}}
{{registration required|nolink=1}}
The parameter nolink may be set to any value to prevent wikilinking of the text.
Examples
[edit]External links
[edit]* [http://example.org/ Webpage title] {{registration required}}
* [http://media.guardian.co.uk/site/story/0,14173,1601858,00.html Sorrell accuses Murdoch of panic buying] {{registration required|nolink=y}}
- Sorrell accuses Murdoch of panic buying (registration required)
Citation templates
[edit]Example.<ref>{{cite web |url=http://example.org/ |title=Webpage title |website=example.org |access-date=September 22, 2012}} {{registration required}}</ref>
- Example.[1]
Example.<ref>{{cite news |last=Plunkett |first=John |date=27 October 2005 |url=http://media.guardian.co.uk/site/story/0,14173,1601858,00.html |title=Sorrell accuses Murdoch of panic buying |newspaper=[[The Guardian]] |access-date=22 September 2012}} {{registration required|nolink=y}}</ref>
- Example.[2]
- ^ "Webpage title". example.org. Retrieved September 22, 2012. (registration required)
- ^ Plunkett, John (27 October 2005). "Sorrell accuses Murdoch of panic buying". The Guardian. Retrieved 22 September 2012. (registration required)
Citation templates using |url-access=registration
[edit]Example.<ref>{{cite web |url=http://example.org/ |title=Webpage title |website=example.org |access-date=September 22, 2012 |url-access=registration}}</ref>
- Example.[1]
Example.<ref>{{cite news |last=Plunkett |first=John |date=27 October 2005 |url=http://media.guardian.co.uk/site/story/0,14173,1601858,00.html |title=Sorrell accuses Murdoch of panic buying |newspaper=[[The Guardian]] |access-date=22 September 2012 |url-access=registration}}</ref>
- Example.[2]
- ^ "Webpage title". example.org. Retrieved September 22, 2012.
- ^ Plunkett, John (27 October 2005). "Sorrell accuses Murdoch of panic buying". The Guardian. Retrieved 22 September 2012.
Redirects
[edit]- {{registration}}
- {{regreq}}
See also
[edit]- {{Register}} – a boilerplate message to anonymous editors
- {{Subscription required}} – to flag an external link that requires a paid subscription
- Category:Pages with login required references or sources (7,677)