Template:Fullurl/doc

From Millénaire Wiki
< Template:Fullurl
Revision as of 10:53, 13 July 2012 by Trancid (talk | contribs) (Linking into the category tree)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Template-info.png Documentation

This template can be used to output the full wiki URL (http://millenaire.org/wiki/index.php?title=) in plaintext or within a plainlink span using the fullurl magic word.

This template is useful for actions, for example action=edit to link to the edit box.

Usage[edit]

To use this template you put the name of the page you want and any actions you want to perform (anything that is after an &).

Examples[edit]

{{fullurl|Blocks|action{{=}}edit}}

Will output: https://www.millenaire.org/wk/index.php?title=Blocks&action=edit

{{fullurl|Blocks|action{{=}}edit|nolink=1}}

Will output: http://www.minecraftwiki.net/index.php?title=Blocks&action=edit

{{fullurl|Blocks|action{{=}}edit|text=Edit page}}

Will output: Edit page

Notes[edit]

  • Any = signs in the second parameter must be replaced with the {{=}} template.
  • All url parameters are kept within the same parameter. ({{fullurl|MediaWiki:Common.css|action{{=}}raw&ctype{{=}}text/css}} instead of {{fullurl|MediaWiki:Common.css|action{{=}}raw|ctype{{=}}text/css}})