From Veloren
Jump to navigation Jump to search

Use this template within a template page to transclude its documentation. If the template shares the same documentation as another template, pass the other template's name as parameter 1.

If the template documentation seems outdated or insufficient, pass the baddoc parameter to the doc template.

Examples of Usage

The doc transclusion should be placed at the end of the template code:

  • <noinclude>{{doc}}</noinclude>
  • <noinclude>{{doc|templatename}}</noinclude>
  • <noinclude>{{doc|baddoc=y}}</noinclude>


  • {{doc/preload}} - Preload text shown in the edit box when the "create" link is clicked on templates with no existing /doc sub-page.


fr:Modèle:Documentation pl:Szablon:Documentation ru:Шаблон:Документация zh:模板:Documentation