Includes documentation pages for templates (template:doc) into a documentation template or the template page itself.
Compatible with DokuWiki
Includes documentation pages for templates (template:doc) into a documentation template or the template page itself.
Similar to include
External requirements: This plugin requires the following additional components that must be installed separately:
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
See the plugin in action here.
Warning: The website linked above (Lemming DokuWiki) might not be active 24/7! This will be fixed soon.
A basic example:
<noinclude> ~~DOC~~ </noinclude>
You can also embed it into a separate template, presumably named “documentation” or “doc” for short, like this:
The documentation template (Note that this example uses the var plugin):
===== Template documentation ===== ~~DOC~~ This documentation was transcluded from (your namespace for template documentation, e. g. "template:doc:", which is used here) template:doc:@PAGE@
Then, add the newly made template into your template page like this:
<noinclude> {{wst>documentation}} </noinclude>
Of course, you can do it however you like to.
~~DOC~~
namespace
: Namespace for documentation pages (default: “template:doc:”)The source code of the plugin is available at GitHub: https://github.com/Lemming789TT/docincluder.