Changes

Jump to: navigation, search

Template:Fullurl/doc

20 bytes added, 2 years ago
m
no edit summary
{{doc/start}}
 
This template can be used to output the full wiki URL e.g. (<ttcode><nowiki>http://help.gamepedia.com/index.php?title=</nowiki></ttcode>) 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.
=== Examples ===
<pre>{{fullurl|Blocks|action=edit}}</pre>
Will output: <ttcode><nowiki>//help.gamepedia.com/index.php?title=Blocks&action=edit</nowiki></ttcode>
 
<pre>{{fullurl|Blocks|action=edit|nolink=1}}</pre>
Will output: <ttcode><nowiki>http://help.gamepedia.com/index.php?title=Blocks&action=edit</nowiki></ttcode>
 
<pre>{{fullurl|Blocks|action=edit|text=Edit page}}</pre>
 
=== Notes ===
* All url parameters are kept within the same parameter. (<ttcode><nowiki>{{fullurl|MediaWiki:Common.css|action=raw&ctype=text/css}}</nowiki></ttcode> instead of <ttcode><nowiki>{{fullurl|MediaWiki:Common.css|action=raw|ctype=text/css}}</nowiki></ttcode>)
{{doc/end}}
103,602

edits

Navigation menu