模板:For
外观
| 此Template被引用於約7,300個頁面。 為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
| 此模板使用Lua语言: |
此模板生产一个包含条目或者消歧义页面链接顶注;可以接受0-5个参数。
例如通过-{}-{{For|用于创建for循环的模板|Template:For loop}}会呈现:
范例
假设页面名称是 Foo :
- 第一个参数修改顶注本身因此应该是纯文本,比如
-{}-{{For|相似术语}}显示结果为:
- 第二个参数用于改变结果中的链接,比如
-{}-{{For|相似术语|Foobar}}显示结果为:
- 第三、四、五个参数可以用于给出不同数量的补充链接:
最后一个通过-{}-{{For|相似术语|Foobar|Bar|Baz|Quux}}生成。
模板数据
This template lists up to four articles on alternative meanings of a term. For further details and examples see the template documentation.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Description | 1 | a phrase describing the major alternative, or a general term for all alternative meanings
| 字符串 | 可选 |
| First link | 2 | A page to link to; usually a disambiguation page or the most likely other meaning.
| 页面名称 | 可选 |
| Second link | 3 | A page to link to for another meaning, if any. | 页面名称 | 可选 |
| Third link | 4 | A page to link to for another meaning, if any. | 页面名称 | 可选 |
| Fourth link | 5 | A page to link to for another meaning, if any. | 页面名称 | 可选 |