Module:TemplateDataDoc/doc
From Bonkipedia
< Module:TemplateDataDoc
Revision as of 12:50, 31 August 2019 by [[mw:]]>Putnik ({{Shared Template Warning|Module:TemplateDataDoc}})
This is the documentation page for Module:TemplateDataDoc
<translate> This module is rated as [[<tvar name=1>Special:MyLanguage/Category:Modules for general use</tvar>|ready for general use]].</translate> <translate> It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate.</translate> <translate> It is ready to mention on help pages and other resources as an option for new users to learn.</translate> <translate> To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.</translate> |
Warning: | Do not edit. This page is maintained by an automated tool. All edits should be done at mediawiki.org. (translate this warning) |
Usage
This module automatically generates blocks of template documentation page using TemplateData.
{{#invoke:TemplateDataDoc|generateBlank}}
— generates blank template wikitext{{#invoke:TemplateDataDoc|generateExample}}
— generates template example wikitext and shows how a template with such parameters will be displayed
For correct order of parameters, TemplateData should contain paramOrder
block.