Template:Fullurl/doc: Difference between revisions

From Portals of Phereon Wiki
gamepedia>Sonicwave32
mNo edit summary
 
m (1 revision imported)
(No difference)

Revision as of 12:34, 1 December 2019

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.

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

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

{{fullurl|Blocks|action=edit}}

Will output: http://www.portalsofphereon.com/w/index.php?title=Blocks&action=edit

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

Will output: http://www.portalsofphereon.com/w/index.php?title=Blocks&action=edit

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

Will output: Edit page

Notes

  • 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}})