This is the template sandbox page for Template:Transcluded section (diff). See also the companion subpage for test cases. |
This template is used on approximately 4,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This is a hatnote template that indicates the source page of a section transclusion and provides edit and history links for the source page (but does not actually transclude the section). For information on how to selectively transclude a particular section of one article into another, see WP:Selective transclusion and Help:Labeled section transclusion.
Usage
edit{{Transcluded section|source= |part= }}
Examples
edit{{Transcluded section|source=Waffle}}
{{Transcluded section|source=Pancake|part=anything other than a positive value}}
{{Transcluded section|source=Blintz|title=Blintzes blintzes blintzes}}
All of the following produce the same result:
{{Transcluded section|source=Pancake|part=yes}}
{{Transcluded section|source=Pancake|part=YES}}
{{Transcluded section|source=Pancake|part=y}}
{{Transcluded section|source=Pancake|part=True}}
{{Transcluded section|source=Pancake|part=1}}
TemplateData
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Transcluded section in articles based on its TemplateData.
TemplateData for Transcluded section
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
source | source 1 | The page name that you are transcluding from | Page name | required |
part | part | Changes the hatnote text from "This section..." to "Part of this section..."
| Boolean | optional |
title | title | Overrides the displayed text of the article title
| String | optional |
table | table | Prepends "This table" if set
| Unknown | optional |
See also
edit- Wikipedia:Transclusion#Selective transclusion – how to transclude one or more sections of an article or project page into another
- Pages that link to "Template:Transcluded section" (articles) (unsorted)
- {{Transcluding article}} – transcludes one or more entire pages
- Wikipedia:Excerpts
- {{Excerpt}} – transcludes a lead section or section and adds an appropriate hatnote
- Category:Articles with excerpts, or Pages that link to "Template:Excerpt" (articles) (unsorted)