Template:Example/doc: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
mNo edit summary
imported>FrozenPlum
mNo edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Documentation here -->
<!-- Documentation here -->
Creates links to parameter example pages, which are a subpage of the manual page (for non parameter examples, don't use this template, use regular links).
Creates links to parameter example pages, which are a subpage of the '''current''' manual page (for non parameter examples, don't use this template, use regular links).
==Example==
==Example==
* <code><nowiki>{{example|category}}</nowiki></code> gives {{example|category}}
* <code><nowiki>{{example|category}}</nowiki></code> gives {{example|category}}

Revision as of 00:40, 6 April 2022

This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

Creates links to parameter example pages, which are a subpage of the current manual page (for non parameter examples, don't use this template, use regular links).

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").