Check out my first novel, midnight's simulacra!

Help:Templates/onlyinclude demo

From dankwiki
Revision as of 17:47, 20 October 2024 by MediaWiki>Thatgaypigeon (Missing forward slash)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

abcdefghi

This is a demonstration for Help:Templates#Controlling template inclusion

The raw wikitext of the above example is:

abc<onlyinclude>def</onlyinclude>ghi<includeonly>jkl</includeonly>

The 'jkl' is not rendered above because it is inside includeonly tags.

Transcluding it results in:

def