模板:参见
参见:[[:{{{1}}}]]
模板文档
使用Lua |
{{See also}} is used to create hatnotes to point to a small number of other, related, titles at the top of article sections according to Wikipedia:Layout. It is not for use in the "See also" section at the bottom of an article.
{{See also|條目1|label 1=顯示文字1|條目2|label 2=顯示文字2|...}}
- Any number of articles can be listed (at least one should be provided).
- The word "and" is always placed between the final two entries.
- You can use parameters label 1, label 2 and so on to specify alternative labels for the links.
- Parameter
ll
makes this template use {{Ll }}, which provides automatic linking to translation in user language, as well as using a translated default link text (overriding withlabel n
still applies).
- adding newline characters will break article links
示例
代码 | 结果 |
---|---|
{{See also|Article}} |
参见:Article
|
{{See also|Article|label 1=條目的替代標題}} |
参见:條目的替代標題
|
{{See also|Article|Article 2}} | |
{{See also|Article|Article 2|Article 3}} | |
{{See also|Article|Article 2|ll=TRUE}} | |
{{See also|Article|Article 2|l2=條目的替代標題2}} |
Display a note about a related page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | Full name of related page | Page name | required |
Link label | label 1 l1 | Custom link text, to serve as label instead of the page name.
| String | optional |
Page 2 | 2 | no description | Page name | optional |
Page 2 label | label 2 l2 | no description | Template | optional |
Page 3 | 3 | no description | Page name | optional |
Page 3 label | label 3 l3 | no description | String | optional |
Use {{ll}} | ll | If this parameter has any non-blank value, links are generated using {{ll}}, which provides automatic linking to translation in user language, as well as using a translated default link text (overriding link texts still applies). | Line | optional |