Jump to content

模板:参见

From mediawiki.org
Revision as of 13:57, 22 April 2024 by Cookai1205 (talk | contribs) (Created page with "條目的替代標題2")
参见:​[[:{{{1}}}]]
模板文档

{{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 with label n still applies).
adding newline characters will break article links

示例

代码 结果
{{See also|Article}}
参见:​Article
{{See also|Article|label 1=條目的替代標題}}
{{See also|Article|Article 2}}
参见:​ArticleArticle 2
{{See also|Article|Article 2|Article 3}}
参见:​Article、​Article 2Article 3
{{See also|Article|Article 2|ll=TRUE}}
{{See also|Article|Article 2|l2=條目的替代標題2}}


[查看 · 讨论 · 编辑]

这是该模板的模板数据,用于可视化编辑器及其它工具。

See also

Display a note about a related page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page name1

Full name of related page

Page namerequired
Link labellabel 1 l1

Custom link text, to serve as label instead of the page name.

Default
Page name
Stringoptional
Page 22

no description

Page nameoptional
Page 2 labellabel 2 l2

no description

Templateoptional
Page 33

no description

Page nameoptional
Page 3 labellabel 3 l3

no description

Stringoptional
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).

Lineoptional