Template:Fullurl/doc
Appearance
This is a documentation subpage for Template:Fullurl It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]{{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 source]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.wikibooks.org/wiki/Template:Fullurl/doc{{fullurl|Main Page}}
→ https://en.wikibooks.org/wiki/Main_Page