Difference between revisions of "Template:Fullurl/doc"
Jump to navigation
Jump to search
Line 29: | Line 29: | ||
--------------------------------------------------------------------> | --------------------------------------------------------------------> | ||
</includeonly> | </includeonly> | ||
− | [[Category:Template documentation]] | + | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 06:40, 13 April 2015
Usage[edit]
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.
- https:{{Fullurl}}/doc gives
- https:https://underwiki.com/wiki/Template:Fullurl/doc/doc
Parameters[edit]
protocol
E.G. {{Fullurl|protocol=http}}/doc gives