Template:Example/doc

From DynamicPageList3 Manual
Revision as of 23:58, 5 April 2022 by imported>FrozenPlum (update docs to match)
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

Creates links to either parameter examples pages, or singular example pages.

Example

  • {{example|category}} gives Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").
  • {{example|category|alt text}} gives Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").
  • {{example|category|text|eg=2}} gives Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").
  • {{example|random example|nonparam=any value}} gives Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").
  • {{example|random example|override text|nonparam=any value|eg=2}} gives Page Template:Example/style.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").