Template:Fullurl/doc
From Altitude Game: Wiki
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
This template can be used to output the full wiki URL (http://nimblygames.com/wiki/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|Planes|action{{=}}edit}}
Will output: /index.php?title=Planes&action=edit
{{fullurl|Planes|action{{=}}edit|nolink=1}}
Will output: http://nimblygames.com/wiki/index.php?title=Planes&action=edit
{{fullurl|Planes|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}}
)
The above documentation is transcluded from Template:Fullurl/doc/doc. (edit | history)