Template:TemplateData/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} This template should be used on other templates' documentation pages when adding template data using Extension:TemplateData. This template accepts one unnamed parameter, which should be the the whole <code>templatedata</code> text. Also adds Category:Templates using TemplateData to pages. {{TemplateData|nocat=yes| <templatedata> { "description": "Used on template docs to enclose the templatedata parser tag", "params...")
(No difference)

Revision as of 22:18, 11 October 2024

This is a documentation subpage for Template:TemplateData.
It contains usage information, categories, and other content that is not part of the original template page.

This template should be used on other templates' documentation pages when adding template data using Extension:TemplateData. This template accepts one unnamed parameter, which should be the the whole templatedata text. Also adds Category:Templates using TemplateData to pages.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.


Used on template docs to enclose the templatedata parser tag

Template parameters

ParameterDescriptionTypeStatus
TemplateData1

The body of the TemplateData text.

Stringrequired
Noheadernoheader

Set to 'yes' to disable header.

Default
'no'
Stringoptional
Nocatnocat

Set to 'yes' to suppress adding category to pages. Useful for examples.

Default
'no'
Stringoptional