第1行: |
第1行: |
| + | {{Documentation subpage}} |
| + | <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). --> |
| + | {{High-risk|7633}} |
| + | {{ombox|type=content|text=此模板应当只有在条目或话题名称非常接近的时候使用。绝大部分条目并不存在这个情况,所以请不要滥用。}} |
| + | {{Lua|Module:About}} |
| + | {{Tlc|About}}是维基百科较常用的[[WP:Hatnote|顶注模板]],应当被放在条目顶端,引导读者去阅读其他名称类似他们可能需要的条目或概念。此模板有许多形式,包括 |
| + | *{{Tlx|About|Use1}} → {{About|}} |
| + | *{{Tlx|About|Use1|<nowiki/>|Article2}} → {{About|Use1||Article2}} |
| + | *{{Tlx|About|Use1|<nowiki/>|Article2|和|Article3}} → {{About|Use1||Article2|和|Article3}} |
| + | *{{Tlx|About|Use1|Use2|Article2}} → {{About|Use1|Use2|Article2}} |
| + | *{{Tlx|About|Use1|Use2|Article2|和|Article3}} → {{About|Use1|Use2|Article2|和|Article3}} |
| + | *{{Tlx|About|Use1|Use2|Article2|其他用法}} → {{About|Use1|Use2|Article2|其他用法}} |
| | | |
| + | 同时<code>section=yes</code>参数也可被加入到{{Tlc|About}}模板,用于放置在章节/小节顶端。当使用这个参数时,模板消息会有细微的变化: |
| + | *{{Tlx|About|Use1|<nowiki>section=yes</nowiki>}} → {{About|Use1|section=yes}} |
| + | *{{Tlx|About|Use1|<nowiki/>|Article2|<nowiki>section=yes</nowiki>}} → {{About|Use1||Article2|section=yes}} |
| + | *{{Tlx|About|Use1|Use2|Article2|<nowiki>section=yes</nowiki>}} → {{About|Use1|Use2|Article2|section=yes}} |
| + | *{{Tlx|About|Use1|Use2|Article2|和|Article3|<nowiki>section=yes</nowiki>}} → {{About|Use1|Use2|Article2|和|Article3|section=yes}} |
| + | *{{Tlx|About|Use1|Use2|Article2|其他用法|<nowiki>section=yes</nowiki>}} → {{About|Use1|Use2|Article2|其他用法|section=yes}} |
| + | |
| + | 可选的{{para|text}}参与可以在消息末尾添加自定义文字。请务必仅在必须且其他题注模板无法满足需求是才加入此参数。此模板同时支持{{para|selfref}}参数。 |
| + | |
| + | ==模板參數== |
| + | {{TemplateDataHeader}} |
| + | {| class="wikitable sortable" |
| + | !colspan=2| 參數 |
| + | ! 描述 |
| + | ! 類型 |
| + | ! 狀態 |
| + | |- |
| + | ! 頁面描述 |
| + | | <code>1</code> |
| + | | What the page this template is placed on is about ("This page is about …") |
| + | | 字串 |
| + | | '''必填''' |
| + | |- |
| + | ! 另一頁描述 |
| + | | <code>2</code> |
| + | | What the first other page is about. If unused or blank, defaults to "For other uses". |
| + | | 字串 |
| + | | 建議 |
| + | |- |
| + | ! 另一頁標題 |
| + | | <code>3</code> |
| + | | The title of the first other page. If unused, defaults to "[page title] (disambiguation)". |
| + | | 頁面 |
| + | | 建議 |
| + | |- |
| + | ! 另二頁描述 |
| + | | <code>4</code> |
| + | | What the second other page is about. |
| + | | 字串 |
| + | | 選填 |
| + | |- |
| + | ! 另二頁標題 |
| + | | <code>5</code> |
| + | | The title of the second other page. If unused or blank and parameter 4 exists, defaults to "[page title] (disambiguation)". |
| + | | 頁面 |
| + | | 選填 |
| + | |- |
| + | ! 另三頁描述 |
| + | | <code>6</code> |
| + | | What the third other page is about. |
| + | | 字串 |
| + | | 選填 |
| + | |- |
| + | ! 另三頁標題 |
| + | | <code>7</code> |
| + | | The title of the third other page. If unused or blank and parameter 6 exists, defaults to "[page title] (disambiguation)". |
| + | | 頁面 |
| + | | 選填 |
| + | |- |
| + | ! 另四頁描述 |
| + | | <code>8</code> |
| + | | What the fourth other page is about. |
| + | | 字串 |
| + | | 選填 |
| + | |- |
| + | ! 另四頁標題 |
| + | | <code>9</code> |
| + | | The title of the fourth other page. If unused or blank and parameter 8 exists, defaults to "[page title] (disambiguation)". |
| + | | 頁面 |
| + | | 選填 |
| + | |- |
| + | ! Custom text |
| + | | <code>section</code> |
| + | | Pass "yes" in this parameter to get wording appropriate for use at the top of a section. |
| + | ;'''Bold text''' |
| + | ;<code>yes</code> |
| + | | 字串 |
| + | | 選填 |
| + | |- |
| + | ! 自定義文本 |
| + | | <code>text</code> |
| + | | Text to be appended to the end. |
| + | | 字串 |
| + | | 選填 |
| + | |} |
| + | <!-- To add more other pages, continue with this alternating pattern using increasing numbers, starting with 6 for the next page description. --> |
| + | |
| + | ==參見== |
| + | *重定向 |
| + | **{{tl|Otheruses4}} |
| + | **{{tl|关于}} |
| + | *[[Wikipedia:hatnote]] |
| + | {{Hatnote templates}} |
| + | |
| + | <includeonly>{{Sandbox other|| |
| + | <!-- Categories go below this line, please; interwikis go to Wikidata, thank you! --> |
| + | [[Category:消歧义与重定向模板]] |
| + | [[Category:顶注模板]] |
| + | |
| + | }}</includeonly> |
| + | <noinclude>[[en:template:About/doc]]</noinclude> |