テンプレート:Fullurl
ナビゲーションに移動
検索に移動
This template can be used to output the full wiki URL (https://minecraftjapan.mirahaze.org/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|Blocks|action=edit}}
Will output: https://minecraftjapan.miraheze.org/wiki/Blocks?action=edit
{{fullurl|Blocks|action=edit|nolink=1}}
Will output: https://minecraftjapan.miraheze.org/wiki/Blocks?action=edit
{{fullurl|Blocks|action=edit|noredirect=1}}
Will output: https://minecraftjapan.miraheze.org/wiki/Blocks?action=edit&redirect=no
{{fullurl|Blocks|action=edit|text=Edit page}}
Will output: Edit page
Notes[ソースを編集]
- 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}}
)
[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の記事は次のページから転記しています: テンプレート:Fullurl/doc.