Template:For2

维基百科,自由的百科全书
跳到导航 跳到搜索
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

Usage[编辑]

Modelled after {{For}}, {{For2}} was created to allow custom text, including such modifications as quotation marks or a link, as part of both a topic and its suggested article.

单一话题[编辑]

  • {{For2|TOPIC|CUSTOM TEXT}}

With more than one topic[编辑]

This template also supports up to five topics and their suggested articles:

  • {{For2|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2}}
  • {{For2|TOPIC|CUSTOM TEXT|TOPIC 2|CUSTOM TEXT 2|TOPIC 3|CUSTOM TEXT 3|TOPIC 4|CUSTOM TEXT 4|TOPIC 5|CUSTOM TEXT 5}}

Wikilinks and capitalization[编辑]

Style note: When the context around a wikilink discusses the destination article itself (e.g., For more information, see Xyz; Main article: Xyz; This is discussed in Xyz) rather than the topic of that article (e.g., Tailors often use xyz on their clients' pants), use the capitalization of the article's title in the wikilinked text: [[Xyz]]. The same applies to subheadings: [[Xyz#PDQ|Xyz § PDQ]].

TemplateData[编辑]

这是用于新版可视化编辑器及其他工具的模板数据文档。

For2模板数据

This template lists up to five articles on alternative meanings of a term. For further details and examples see the template documentation.

模板参数

此模板首选参数行内格式。

参数说明类型状态
First description1

A phrase describing an alternative meaning

默认值
other uses
例子
other people with the surname Smith
字符串必填
First link2

A phrase including a wikilink to the first alternative meaning.

例子
[[Smith (surname)]]
字符串必填
Second description3

A phrase describing another meaning, if any

例子
people with the given name Smith
字符串可选
Second link4

A page to link to for another meaning, if any.

例子
[[Smith (given name)]]
字符串可选
Third description5

A phrase describing another meaning, if any

字符串可选
Third link6

A page to link to for another meaning, if any.

字符串可选
Fourth description7

A phrase describing another meaning, if any

字符串可选
Fourth link8

A page to link to for another meaning, if any.

字符串可选
Fifth description9

A phrase describing another meaning, if any

字符串可选
Fifth link10

A page to link to for another meaning, if any.

字符串可选