Help:Transclusion/gl

A transclusión é un termo xeralizado de MediaWiki para a inclusión de contido nunha páxina empregando as marcas de chave dobre " – ". En xeral, as transclusións máis habituais son as de modelos, páxinas noutros espazos de nomes, palabras máxicas, saída de funcións analíticas, algunhas páxinas especiais etc. This includes templates, pages in other namespaces, magic words, output of parser functions, some Special pages, interwiki pages, and more.

Basic use
To transclude a page, include both the namespace and the page name (separated with a colon) within the double-brace:

When transcluding a template, you may omit the namespace and colon:

When transcluding an article in the Main namespace, you may omit the namespace:

When transcluding a subpage of the target page, you may use the subpage name by itself:

Parameters
Transcluded templates and may accept parameters:

Source page syntax
Three tags (noinclude, includeonly, and onlyinclude) control which content appears in the target page.


 * noinclude
 * Content within the  tags is excluded from transclusion on the target page. This content still appears on the source page.


 * includeonly
 * Content within the  tags is transcluded on the target page, but does not appear on the source page.


 * onlyinclude
 * Content within the  tags is transcluded on the target page, and also appears on the source page.