Template:Fullurl: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
The Fullurl can be used to output the full wiki URL e.g. (http://www.medievalengineerswiki.com/index.php?title=) in plaintext or within a plainlink span.
The Fullurl can be used to output the full wiki URL e.g. (http://www.medievalengineerswiki.com/index.php?title=) in plaintext or within a plainlink span.
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.
<pre>{{Fullurl|:<page>|<action>}}</pre>
<pre>{{Fullurl:<page>|<action>}}</pre>
*The code above can be pasted into your page.
*The code above can be pasted into your page.



Revision as of 12:29, 5 January 2018

Usage

The Fullurl can be used to output the full wiki URL e.g. (http://www.medievalengineerswiki.com/index.php?title=) in plaintext or within a plainlink span. This template is useful for actions, for example action=edit to link to the edit box.

{{Fullurl:<page>|<action>}}
  • The code above can be pasted into your page.

Example

{{fullurl:{{FULLPAGENAME}}|action=history}}

Will output http://www.medievalengineerswiki.com/index.php?title=Template:Fullurl&action=history