跳转到内容

Template:Sandbox/Curid/doc:修订间差异

添加的内容 删除的内容
TripleCamera
TripleCamera留言 | 贡献 (Ctrl C, Ctrl V)
 
第6行: 第6行:
"params": {
"params": {
"1": {
"1": {
"label": "页面短链接号(curid)",
"label": "页面ID(curid)",
"required": true,
"description": "要指向页面的curid。",
"example": "1",
"type": "number",
"type": "number",
"required": true
"example": "1"
},
},
"2": {
"2": {
"label": "链接文本",
"label": "链接文本",
"required": true,
"description": "生成链接的文本。",
"required": true
"type": "string",
"example": "首页"
},
"iw": {
"label": "跨wiki代码",
"type": "string",
"example": "mcwzh"
}
}
},
},
"description": "插入本站的短链接,但不依赖于伪静态配置。",
"description": "插入本站或跨wiki的短链接,但不依赖于伪静态配置。",
"format": "inline"
"format": "inline"
}
}

2022年11月26日 (六) 12:08的版本

插入本站或跨wiki的短链接,但不依赖于伪静态配置。

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
页面ID(curid)1

无描述

示例值
1
数字必需
链接文本2

无描述

示例值
首页
字符串必需
跨wiki代码iw

无描述

示例值
mcwzh
字符串可选



Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。