Template:About/doc:修订间差异

模板页面
(繁简转换 by ZF-bot
(繁简转换 by ZF-bot,使用中国大陆标准)
 
第18行: 第18行:
*{{Tlx|About|Use1|Use2|Article2|其他用法|<nowiki>section=yes</nowiki>}} → {{About|Use1|Use2|Article2|其他用法|section=yes}}
*{{Tlx|About|Use1|Use2|Article2|其他用法|<nowiki>section=yes</nowiki>}} → {{About|Use1|Use2|Article2|其他用法|section=yes}}


本模板同时支持可选参数 {{para|text}},用于添加自定义文,请务必在其他题注模板无法满足需要时再使用该参数。
本模板同时支持可选参数 {{para|text}},用于添加自定义文,请务必在其他题注模板无法满足需要时再使用该参数。


==模板参数==
==模板参数==
第31行: 第31行:
| <code>1</code>
| <code>1</code>
| What the page this template is placed on is about ("This page is about …")
| What the page this template is placed on is about ("This page is about …")
| 字串
| 字
| '''必填'''
| '''必填'''
|-
|-
第37行: 第37行:
| <code>2</code>
| <code>2</code>
| What the first other page is about. If unused or blank, defaults to "For other uses".
| What the first other page is about. If unused or blank, defaults to "For other uses".
| 字串
| 字
| 建议
| 建议
|-
|-
第49行: 第49行:
| <code>4</code>
| <code>4</code>
| What the second other page is about.
| What the second other page is about.
| 字串
| 字
| 选填
| 选填
|-
|-
第61行: 第61行:
| <code>6</code>
| <code>6</code>
| What the third other page is about.
| What the third other page is about.
| 字串
| 字
| 选填
| 选填
|-
|-
第73行: 第73行:
| <code>8</code>
| <code>8</code>
| What the fourth other page is about.
| What the fourth other page is about.
| 字串
| 字
| 选填
| 选填
|-
|-
第87行: 第87行:
;'''Bold text'''
;'''Bold text'''
;<code>yes</code>
;<code>yes</code>
| 字串
| 字
| 选填
| 选填
|-
|-
第93行: 第93行:
| <code>text</code>
| <code>text</code>
| Text to be appended to the end.
| Text to be appended to the end.
| 字串
| 字
| 选填
| 选填
|}
|}

2023年9月24日 (日) 21:38的最新版本

{{About}} 是有兽档案馆中较常用的顶注模板,应当被放置在条目顶端,引导有需要的读者去阅读其他名称相似的页面,使用范例如下:

  • {{About|Use1}}
  • {{About|Use1||Article2}}
  • {{About|Use1||Article2|和|Article3}}
  • {{About|Use1|Use2|Article2}}
  • {{About|Use1|Use2|Article2|和|Article3}}
  • {{About|Use1|Use2|Article2|其他用法}}

本模板亦可放置在章节/小节顶端,此时需加入 section=yes 参数:

  • {{About|Use1|section=yes}}
  • {{About|Use1||Article2|section=yes}}
  • {{About|Use1|Use2|Article2|section=yes}}
  • {{About|Use1|Use2|Article2|和|Article3|section=yes}}
  • {{About|Use1|Use2|Article2|其他用法|section=yes}}

本模板同时支持可选参数 |text=,用于添加自定义文本,请务必在其他题注模板无法满足需要时再使用该参数。

模板参数

About模板数据
参数 描述 类型 状态
页面描述 1 What the page this template is placed on is about ("This page is about …") 字符串 必填
另一页描述 2 What the first other page is about. If unused or blank, defaults to "For other uses". 字符串 建议
另一页标题 3 The title of the first other page. If unused, defaults to "[page title] (disambiguation)". 页面 建议
另二页描述 4 What the second other page is about. 字符串 选填
另二页标题 5 The title of the second other page. If unused or blank and parameter 4 exists, defaults to "[page title] (disambiguation)". 页面 选填
另三页描述 6 What the third other page is about. 字符串 选填
另三页标题 7 The title of the third other page. If unused or blank and parameter 6 exists, defaults to "[page title] (disambiguation)". 页面 选填
另四页描述 8 What the fourth other page is about. 字符串 选填
另四页标题 9 The title of the fourth other page. If unused or blank and parameter 8 exists, defaults to "[page title] (disambiguation)". 页面 选填
Custom text section Pass "yes" in this parameter to get wording appropriate for use at the top of a section.
Bold text
yes
字符串 选填
自定义文本 text Text to be appended to the end. 字符串 选填

参见