Template:Documentation: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifexist:{{FULLPAGENAME}}/doc|{{{{FULLPAGENAME}}/doc}}}}</includeonly> <noinclude> {{Documentation}} Category:Documentation templates </noinclude>")
(No difference)

Revision as of 05:18, 30 July 2025


This template transcludes documentation from a /doc subpage onto the template page, if it exists.

Basic usage

Place the following at the bottom of the template:

<noinclude>
{{Documentation}}
</noinclude>

This setup ensures that:

  • When viewing the template page, the documentation is displayed.
  • When the template is used elsewhere, the documentation is hidden.