Content-Length: 73389 | pFad | http://www.mediawiki.org/wiki/Help:Transclusion/it

Help:Transclusion - MediaWiki Jump to content

Help:Transclusion

From mediawiki.org
This page is a translated version of the page Help:Transclusion and the translation is 17% complete.
PD Nota: Quando modifichi questa pagina, acconsenti a pubblicare il tuo contributo con licenza CC0. Vedi le pagine di aiuto sul dominio pubblico per maggiori informazioni. PD

Transclusion è un temine generico di MediaWiki che indica l'inclusione di un oggetto in una pagina utilizzando il simbolo delle doppie parentesi graffe "{{}}". Questi possono essere oggetti come template, pagine in altri namespace, parole magiche, output per funzioni parser, alcune Pagine speciali, pagine interwiki e altri.

Sintassi della pagina di destinazione

Uso di base

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

{{Help:Transclusion}}

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

{{infobox}}

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

{{:Transclusion}}

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

{{/doc}}

Parameters

Transcluded templates and special pages may accept parameters:

{{note|inline|This is a note.}}

Source page syntax

Three tags (‎<noinclude>, ‎<includeonly>, and ‎<onlyinclude>) control which content appears in the target page.

‎<noinclude>

Content within the ‎<noinclude>...‎</noinclude> tags is excluded from transclusion on the target page. This content still appears on the source page.

Source page wikitext What appears on the source page What appears on the target page
Hello <noinclude>world</noinclude> Hello world Hello
‎<includeonly>
Content within the ‎<includeonly>...‎</includeonly> tags is transcluded on the target page, but does not appear on the source page. Other content is also transcluded.
Source page wikitext What appears on the source page What appears on the target page
Hello <includeonly>world</includeonly> Hello Hello world
‎<onlyinclude>
Content within the ‎<onlyinclude>...‎</onlyinclude> tags is transcluded on the target page, and also appears on the source page. Other content is not transcluded.
Source page wikitext What appears on the source page What appears on the target page
Hello <onlyinclude>world</onlyinclude> Hello world world

See also









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.mediawiki.org/wiki/Help:Transclusion/it

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy