Template:Fullurl/doc: Difference between revisions
Jump to navigation
Jump to search
创建页面,内容为“{{documentation header}} <!-- 文档页面 --> <templatedata> { "params": { "1": { "label": { "zh": "页面名称", "zh-hant": "頁面名稱" }, "description": { "zh": "目标页面名称,可以使用跨语言/跨wiki前缀和段落名称。", "zh-hant": "目標頁面名稱,可以使用跨語言/跨wiki前綴和段落名稱。" }, "example": "en:Minecraft Wiki", "type": "wiki-page-name", "default": "{{FULLPAGENAME}}"…” |
m 1 revision imported |
||
(No difference)
|
Latest revision as of 12:29, 1 November 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description
| Page name | optional |
2 | 2 | no description
| String | optional |
action | action | no description
| String | optional |
text | text 3 | no description | String | optional |
nolink | nolink | no description
| String | optional |
示例
- 源代码编辑“方块”的URL(创建链接):
-{}-{{fullurl|方块|action=edit}}
效果:方块
- 源代码编辑“方块”第1段的URL(不创建链接):
-{}-{{fullurl|方块|action=edit§ion=1|nolink=1}}
效果:方块
- 源代码编辑“方块”第1段的URL(创建链接),链接名称为“编辑页”:
-{}-{{fullurl|方块|action=edit§ion=1|text=编辑页}}
效果:方块
- 可视化编辑“方块”第1段的URL(创建链接),链接名称为“编辑页”:
-{}-{{fullurl|方块|veaction{{=}}edit§ion{{=}}1|编辑页}}
效果:编辑页