Terraria Wiki
Terraria Wiki
This template is i18n-ready, which means it is easy to localize for different languages. Please see i18n & l10n for Templates to learn more.
See Template:Doc/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Template:Doc/doc. (edit | history)

This template is used to transclude a template's documentation from its /doc subpage onto the template page itself. Usually, it is located at the bottom of the template code and wrapped in <noinclude> tags: <noinclude>{{doc}}<noinclude>

Usage

{{ doc | <documentation source page> | baddoc = y }}

First unnamed parameter

Source page of the documentation, without the /doc suffix. Defaults to the page name, so it can almost always be omitted.

baddoc

Set this parameter if the documentation seems outdated or insufficient.

See also

  • {{doc/preload}} – Text that will be preloaded into the edit box when the "create" link is clicked on templates with no existing /doc subpage.