Jump to content

From Noumenapedia

Template:Transcluded section/doc

__EXPECTED_UNCONNECTED_PAGE__

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

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Examples

<syntaxhighlight lang="wikitext">{{Transcluded section|source=Waffle}}</syntaxhighlight>

<syntaxhighlight lang="wikitext">{{Transcluded section|source=Waffle#History}}</syntaxhighlight>

<syntaxhighlight lang="wikitext">{{Transcluded section|source=Pancake|part=anything other than a positive value}}</syntaxhighlight>

<syntaxhighlight lang="wikitext">{{Transcluded section|source=Blintz|title=Blintzes blintzes blintzes}}</syntaxhighlight>

All of the following produce the same result:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

TemplateData

This 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

<templatedata> { "params": { "source": { "aliases": [ "1" ], "description": "The page name that you are transcluding from", "type": "wiki-page-name", "required": true }, "part": { "description": "Changes the hatnote text from \"This section...\" to \"Part of this section...\"", "type": "boolean", "default": "0" }, "title": { "description": "Overrides the displayed text of the article title", "type": "string", "default": "{{{1}}}" }, "table": { "description": "Prepends \"This table\" if set", "suggestedvalues": [ "yes" ] } } }</templatedata>

See also