模板:Fullurl/doc

来自SCP: Sharp Wiki
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information

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

Edit page

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}}).
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。