|
|
| 第21行: |
第21行: |
| 若放置于段落中,请定义{{p|section}}。 | | 若放置于段落中,请定义{{p|section}}。 |
|
| |
|
| <templatedata>
| |
| {
| |
| "params": {
| |
| "1": {
| |
| "aliases": [
| |
| "about"
| |
| ],
| |
| "label": "主题",
| |
| "description": "本页面的主题",
| |
| "example": "怪物",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "2": {
| |
| "aliases": [
| |
| "use",
| |
| "use2"
| |
| ],
| |
| "label": "用法2",
| |
| "type": "string",
| |
| "description": "另一个用法",
| |
| "suggested": true
| |
| },
| |
| "3": {
| |
| "aliases": [
| |
| "page2"
| |
| ],
| |
| "label": "页面2",
| |
| "type": "wiki-page-name",
| |
| "suggested": true,
| |
| "description": "另一个相似主题的页面"
| |
| },
| |
| "4": {
| |
| "aliases": [
| |
| "use3"
| |
| ],
| |
| "label": "用法3",
| |
| "type": "string",
| |
| "description": "第3种用法"
| |
| },
| |
| "5": {
| |
| "aliases": [
| |
| "page3"
| |
| ],
| |
| "label": "页面3",
| |
| "type": "wiki-page-name",
| |
| "description": "用法3对应的页面"
| |
| },
| |
| "6": {
| |
| "aliases": [
| |
| "use4"
| |
| ],
| |
| "label": "用法4",
| |
| "type": "string",
| |
| "description": "第4种用法"
| |
| },
| |
| "7": {
| |
| "aliases": [
| |
| "page4"
| |
| ],
| |
| "label": "页面4",
| |
| "type": "wiki-page-name",
| |
| "description": "用法4对应的页面"
| |
| },
| |
| "8": {
| |
| "aliases": [
| |
| "use5"
| |
| ],
| |
| "label": "用法5",
| |
| "type": "string",
| |
| "description": "第5种用法"
| |
| },
| |
| "9": {
| |
| "aliases": [
| |
| "page5"
| |
| ],
| |
| "label": "页面5",
| |
| "type": "wiki-page-name",
| |
| "description": "用法5对应的页面"
| |
| },
| |
| "section": {
| |
| "aliases": [
| |
| "s"
| |
| ],
| |
| "label": "段落",
| |
| "type": "boolean",
| |
| "autovalue": "1",
| |
| "description": "将原本显示为命名空间名称的位置替换为“章节”"
| |
| }
| |
| },
| |
| "description": "用于生成页面顶部消歧义的模板。",
| |
| "paramOrder": [
| |
| "1",
| |
| "2",
| |
| "3",
| |
| "4",
| |
| "5",
| |
| "6",
| |
| "7",
| |
| "8",
| |
| "9",
| |
| "section"
| |
| ],
| |
| "format": "inline"
| |
| }
| |
| </templatedata>
| |
| == 另见 == | | == 另见 == |
| {{Hatnote see also}} | | {{Hatnote see also}} |
2025年9月4日 (四) 18:15的版本
用法
模板:模板
如果未填写|2=和|3=,则自动改为消歧义(假设用于标题为“史莱姆”的页面):
模板:模板
最多能定义9个参数,也就是关联其他4个页面,例如:
模板:模板
若放置于段落中,请定义|section=。
另见