This template can output the full wiki URL(https://scpsharp.miraheze.org/wiki/) in plain text.
This template is useful for operations, such a using action=edit
to link to the editor of a page.
Usage[编辑 | 编辑源代码]
To use this template, enter the name of the page and the action to be performed (URL parameters after &
).
Examples[编辑 | 编辑源代码]
- Input
{{fullurl|Template:Fullurl|action=edit}}
- Output
https://wiki.scpsharp.ga/w/index.php?title=%E6%A8%A1%E6%9D%BF:Fullurl&action=edit
- Input
{{fullurl|Template:Fullurl|action=edit|nolink=1}}
- Output
https://wiki.scpsharp.ga/w/index.php?title=%E6%A8%A1%E6%9D%BF:Fullurl&action=edit
- Input
{{fullurl|Template:Fullurl|action=edit|text=Edit page}}
- Output
Note[编辑 | 编辑源代码]
- All URL parameters should be placed in one parameter(Such as
{{fullurl|MediaWiki:Common.css|action=raw&ctype=text/css}}
but not{{fullurl|MediaWiki:Common.css|action=raw|ctype=text/css}}
).
[查看 | 编辑 | 历史 | 刷新]The above documentation is transcluded from 模板:Fullurl/doc.