Template:Transcluded section
Jump to navigation
Jump to search
This is a hatnote template that indicates the source page of a section transclusion and provides edit and history links for the source page. For information on how to selectively transclude a particular section of one article into another, see SF:Selective transclusion.
Usage[edit source]
{{transcluded section|source= |part= }}
Parameter definitions[edit source]
- source (or the first unnamed parameter, or may be numbered as 1) – A required parameter that lists the page name that you are transcluding from.
- part – An optional parameter. If
|part=yes
(or an other positive value supported by{{YesNo}}
), the hatnote text changes from "This section..." to "Part of this section...". Use this when the transcluded material is only part of a section on the target page.
Examples[edit source]
{{transcluded section|source=Waffles}}
{{transcluded section|source=Pancakes|part=anything other than a positive value}}
All of the following are equivalent to each other:
{{transcluded section|source=Pancakes|part=yes}} {{transcluded section|source=Pancakes|part=YES}} {{transcluded section|source=Pancakes|part=y}} {{transcluded section|source=Pancakes|part=True}} {{transcluded section|source=Pancakes|part=1}}
See also[edit source]
- SF:Selective transclusion – explains how to transclude one or more sections of an article or project page into another
- {{Transcluding article}} – for when one or more entire pages have been transcluded
External links[edit source]
- Template:Transcluded section at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Transcluded section/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |