Translations:Transclusion/17/en


 * $onlyincl. The markup $tagonlyincl indicates that only text surrounded by "$onlyincl" markup should be transcluded onto another page. This is the most subtle of the partial transclusion tags because it often overrules the others. If there is at least one pair of "$onlyincl" tags on a page, then whenever this page is transcluded, it is only the material within the "$onlyincl" tags which gets transcluded. There can be several such sections, and within each such section, some material might be further excluded by "$noincl" tags, and might also be surrounded by "$inclonly" tags so that it does not appear on the original page itself. But material outside the "$onlyincl" tags will be ignored when the page is transcluded onto another page. This can be useful, for example, to repeat a small part of one page on a second one: just surround the small part by $onlyincl tags, and transclude it onto the second page. Note that unlike $tagnoinclopen and $taginclonlyopen,$tagonlyinclopen will take precedence over enclosing $tagnowikiopen tags. In other words, $tagbeginMy content$tagendproduces only "My content" when transcluded.