模板:Transcluding article/doc

来自决策链云智库
< 模板:Transcluding article
Zeroclanzhang讨论 | 贡献2024年1月21日 (日) 20:59的版本 (创建页面,内容为“{{Documentation subpage}} {{template shortcut|transcluding|transcludingarticle}} {{Lua|Module:Labelled list hatnote}} This is a hatnote that functions similarly to {{tl|main article}}, but is used to indicate that an article transcludes other articles, and what articles those are. Example: a railway route map template for a particular railway article. Another example: A list of TV show episodes built by transcluding…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This is a hatnote that functions similarly to {{main article}}, but is used to indicate that an article transcludes other articles, and what articles those are. Example: a railway route map template for a particular railway article. Another example: A list of TV show episodes built by transcluding all of its season articles.

Surround it with the <noinclude>...</noinclude> markup when applying this template inside another template.

Aliases of this template are {{Transcluding}} and {{Transcluding articles}}.

Usage

{{transcluding article
|Article 1
}}

You may also include additional links:

{{transcluding articles
|Article 1
|Article 2
|Article 3
|Article 4
|Article 5
|Article 6
|Article 7
|Article 8
|Article 9
|Article 10
}}

For each link, you may optionally specify a link appearance (this is for articles where a piped link would be used). Note that the extra parameters use a lower case 'L', e.g. l1 not 11:

{{transcluding articles
|Article 1
|Article 2
|Article 3
|Article 4
|Article 5
|Article 6
|Article 7
|Article 8
|Article 9
|Article 10
|l1=Article 1 link appearance
|l2=Article 2 link appearance
|l3=Article 3 link appearance
|l4=Article 4 link appearance
|l5=Article 5 link appearance
|l6=Article 6 link appearance
|l7=Article 7 link appearance
|l8=Article 8 link appearance
|l9=Article 9 link appearance
|l10=Article 10 link appearance
}}

See also