Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Fullurl/doc: Difference between revisions

Template page
fandomwiki>@DeletedUser40302604
Created page with "{{doc/start}} This template can be used to output the full wiki URL e.g. (<tt><nowiki>http://help.gamepedia.com/index.php?title=</nowiki></tt>) in plaintext or within a plain..."
 
fandomwiki>Game widow
No edit summary
Line 1: Line 1:
{{doc/start}}
{{doc/start}}


This template can be used to output the full wiki URL e.g. (<tt><nowiki>http://help.gamepedia.com/index.php?title=</nowiki></tt>) in plaintext or within a plainlink span using the fullurl magic word.
This template can be used to output the full wiki URL e.g. (<tt><nowiki>https://help.gamepedia.com/index.php?title=</nowiki></tt>) 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.
This template is useful for actions, for example action=edit to link to the edit box.
Line 13: Line 13:


<pre>{{fullurl|Blocks|action=edit|nolink=1}}</pre>
<pre>{{fullurl|Blocks|action=edit|nolink=1}}</pre>
Will output: <tt><nowiki>http://help.gamepedia.com/index.php?title=Blocks&action=edit</nowiki></tt>
Will output: <tt><nowiki>https://help.gamepedia.com/index.php?title=Blocks&action=edit</nowiki></tt>


<pre>{{fullurl|Blocks|action=edit|text=Edit page}}</pre>
<pre>{{fullurl|Blocks|action=edit|text=Edit page}}</pre>
Will output: <span class="plainlinks">[http://help.gamepedia.com/index.php?title=Blocks&action=edit Edit page]</span>
Will output: <span class="plainlinks">[https://help.gamepedia.com/index.php?title=Blocks&action=edit Edit page]</span>


=== Notes ===
=== Notes ===
* All url parameters are kept within the same parameter. (<tt><nowiki>{{fullurl|MediaWiki:Common.css|action=raw&ctype=text/css}}</nowiki></tt> instead of <tt><nowiki>{{fullurl|MediaWiki:Common.css|action=raw|ctype=text/css}}</nowiki></tt>)  
* All url parameters are kept within the same parameter. (<tt><nowiki>{{fullurl|MediaWiki:Common.css|action=raw&ctype=text/css}}</nowiki></tt> instead of <tt><nowiki>{{fullurl|MediaWiki:Common.css|action=raw|ctype=text/css}}</nowiki></tt>)  
{{doc/end}}
{{doc/end}}