Template:Transcluding article/doc: Difference between revisions
Orangestar (talk | contribs) m 1 revision imported |
Orangestar (talk | contribs) m Text replacement - "[[WP:" to "[[wikipedia:WP:" |
||
Line 3: | Line 3: | ||
{{Lua|Module:Labelled list hatnote}} | {{Lua|Module:Labelled list hatnote}} | ||
This is a [[Wikipedia:Hatnote|hatnote]] that functions similarly to {{tl|main article}}, but is used to indicate that an article [[WP:Transclusion|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. | This is a [[Wikipedia:Hatnote|hatnote]] that functions similarly to {{tl|main article}}, but is used to indicate that an article [[wikipedia:WP:Transclusion|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 <code>[[WP:NOINCLUDE|<noinclude>...</noinclude>]]</code> markup when applying this template inside another template. | Surround it with the <code>[[wikipedia:WP:NOINCLUDE|<noinclude>...</noinclude>]]</code> markup when applying this template inside another template. | ||
Aliases of this template are {{tl|Transcluding}} and {{tl|Transcluding articles}}. | Aliases of this template are {{tl|Transcluding}} and {{tl|Transcluding articles}}. |
Latest revision as of 17:55, 13 June 2024
![]() | This template uses Lua: |
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[edit source]
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
You may also include additional links: <syntaxhighlight lang="wikitext">Template:Transcluding articles</syntaxhighlight>
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: <syntaxhighlight lang="wikitext">Template:Transcluding articles</syntaxhighlight>
See also[edit source]
- {{Transcluded section}} for when only a section has been transcluded.
- {{Excerpt}} – transcludes a lead section or a section with many options and adds an appropriate hatnote
- {{Main article}}
- {{See also}}