|
fandomwiki>@DeletedUser40302604 |
| Line 1: |
Line 1: |
| <includeonly>{{#if: {{{nolink|}}} | <nowiki>http://www.minecraftwiki.net/index.php?title=</nowiki>{{{1}}}{{#if: {{{2|}}} | &{{{2}}} }} |<!-- | | <includeonly>{{#if: {{{nolink|}}} | <nowiki>http://help.gamepedia.com/index.php?title=</nowiki>{{{1}}}{{#if: {{{2|}}} | &{{{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>{{doc}} |
| | | [[Category:Formatting templates|{{PAGENAME}}]]</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.
| |
| | |
| 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 ===
| |
| <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> | |