Template:Fullurl/doc
Appearance
This is a documentation subpage for Template:Fullurl. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 5,300 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. |
Usage
[edit]{{Fullurl|1=page|protocol=protocol|action=action}}
This page doubles for the magic word fullurl:
- if it is used as a template instead of as a magic word.
Additional usage
[edit]To create an HTML link to the current page. User with Subst: this link will not change if the text is moved or archived.
Example: To document text previously added to an archive which is being re-factored (with Subst:).
Example: To create a link to the current page which HTML scraper-mirrors may preserve.
Example: To create a base-link which can changed or extended to indicate sub-pages, alternative protocols or equivalent pages on other wikis.
{{fullurl}}
→ https://en.wikipedia.org/wiki/Template:Fullurl/doc{{fullurl|Main Page}}
→ https://en.wikipedia.org/wiki/Main_Page