Help:Transclusion/fr

La transclusion est un terme général de MediaWiki pour inclure les choses dans une page en utilisant un balisage à double accolade " – ". Cela comprend les modèles, les pages dans d'autres espaces de noms, les mots magiques, les sorties des fonctions d'analyseur, quelques pages spéciales, les pages interwiki, et davantage encore.

Utilisation de base
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:

Paramètres
Transcluded templates and special pages may accept parameters:

Syntaxe de la page source
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.

Voir aussi

 * Transclusion: A more in-depth explanation