Template:Fullurl

From Journey ShoutWiki
Jump to navigation Jump to search

THIS TEMPLATE IS NOT CURRENTLY WORKING. If it's to be used, it needs to be modified so that it doesn't use variable names.

DocIMG-info-Journey.png Documentation

This template can be used to output the full wiki URL e.g. (http://help.gamepedia.com/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 source]

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 source]

{{fullurl|Blocks|action=edit}}

Will output: http://http://en.journey.shoutwiki.com/w/index.php?title={urlencode: Blocks }}&action=edit

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

Will output: http://http://en.journey.shoutwiki.com/w/index.php?title={urlencode: Blocks }}&action=edit

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

Will output: Blocks }}&action=edit Edit page

Notes[edit source]

  • 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}})
The above documentation is transcluded from Template:Fullurl/doc.[edit | history | purge]


This template was adapted from Gamepedia's version. (It still needs work.))