Module:TemplateDataDoc/doc

From mediawiki.org
warning Warning:This page is shared between multiple wikis.
All changes to this page will be automatically copied to all wikis listed in the left side bar.

Usage[edit]

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.