قالب:Transcluded section/doc
هذه صفحة توثيق فرعية لـ قالب:Transcluded section. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Usage
{{transcluded section|source= |part= }}
Parameter definitions
- 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
{{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
- {{Transcluding article}} – for when one or more entire pages have been transcluded
- Adderall – an example article that uses this template with several selective transclusions from the amphetamine article (revision links containing transclusions: Adderall and Amphetamine)
- WP:SELECTIVETRANSCLUSION – explains how to make several distinct transclusions from one article/page to another