Only the code the onlyinclude tag is used on pages that include the template. The code in this tag is visible on both the actual template page and pages that include the template.


If you want to make a Template, but you want to write something beneath it, it would normally show up if you write the code for the Template: {{TEMPLATE}}TEXT will look like TEMPLATE CONTENT TEXT.

To avoid this, this code is used:

<onlyinclude>TEMPLATE CODE</onlyinclude>

In combination of the Template, it looks like this:

<onlyinclude>TEMPLATE CODE</onlyinclude>TEXT


To use, just replace TEMPLATE CODE with the Template code. Replace TEXT with the text under the Template code.

See alsoEdit

Community content is available under CC-BY-SA unless otherwise noted.