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: Difference between revisions

Template page
fandomwiki>Wynthyst
m 1 revision
fandomwiki>Wynthyst
m 1 revision
Line 2: Line 2:
           --><span class="plainlinks">{{#if: {{{text|}}} | [ }}{{fullurl: {{{1}}} | {{{2|}}} }} {{#if: {{{text|}}} | {{{text}}}]}}</span>}}</includeonly><noinclude>
           --><span class="plainlinks">{{#if: {{{text|}}} | [ }}{{fullurl: {{{1}}} | {{{2|}}} }} {{#if: {{{text|}}} | {{{text}}}]}}</span>}}</includeonly><noinclude>


==Usage==
This template can be used to output the full wiki URL (<nowiki>http://www.minecraftwiki.net/index.php?title=</nowiki>) in plaintext or within a plainlink span using the fullurl magic word.


[[Category:Formatting templates|F]]</noinclude>
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 &amp;).
 
=== Examples ===
<pre>{{fullurl|Blocks|action{{=}}edit}}</pre>
Will output: {{fullurl|Blocks|action{{=}}edit}}
 
<pre>{{fullurl|Blocks|action{{=}}edit|nolink=1}}</pre>
Will output: {{fullurl|Blocks|action{{=}}edit|nolink=1}}
 
<pre>{{fullurl|Blocks|action{{=}}edit|text=Edit page}}</pre>
Will output: {{fullurl|Blocks|action{{=}}edit|text=Edit page}}
 
=== Notes ===
* Any = signs in the second parameter must be replaced with the {{tl|{{=}}}} template.
* All url parameters are kept within the same parameter. (<code><nowiki>{{fullurl|MediaWiki:Common.css|action{{=}}raw&ctype{{=}}text/css}}</nowiki></code> instead of <code><nowiki>{{fullurl|MediaWiki:Common.css|action{{=}}raw|ctype{{=}}text/css}}</nowiki></code>) <!-- Requires better wording -->
 
[[Category:Formatting templates|F]]
</noinclude>

Revision as of 18:35, 24 September 2012


Usage

This template can be used to output the full wiki URL (http://www.minecraftwiki.net/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: https://cobalt.oxeyewiki.o7.si/w/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

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