Appearance
Include control
Three tags control what appears when a page is included in another versus when its own page is viewed directly:
| Tag | On the page's own view | When included |
|---|---|---|
<noinclude>…</noinclude> | shown | removed |
<includeonly>…</includeonly> | removed | shown |
<onlyinclude>…</onlyinclude> | shown | only this is included |
<noinclude>— documentation, examples, or notes that belong on the page itself but shouldn't appear everywhere it's included.<includeonly>— content that should appear only at the call sites, never on the page's own view.<onlyinclude>— the strongest: when present, only the wrapped section(s) get included and everything else is ignored (it overrides the others).
Example
<onlyinclude>{{{1}}} — the reusable part</onlyinclude>
<noinclude>
== Usage ==
Documentation and examples, visible only on this page itself.
</noinclude>