Jump to content

Template:Documentation

From DynamicPageList3 Manual
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this template's documentation (edit) (about template documentation).
View this template's CSS styles (edit).


Template transclusion control

[edit source]
  • Template wikitext is typically wrapped in tags to control transclusion, like:
<includeonly></includeonly>
[edit source]
  • On template pages, at the bottom:
<noinclude>
{{Documentation}}
<!-- Please put categorizations on the /doc page -->
</noinclude>
  • The output can be customized using included overrides, such as:
  • Change the heading text: {{documentation|heading=Heading text}}
  • Set the heading to blank {{documentation|heading=}} (causes the entirety of the heading like disappears, which includes the edit link).

/doc pages

[edit source]
  • On the Template:Name/doc page typically appears something like:
<noinclude>{{Documentation subpage}}</noinclude>
<!-- Documentation here -->

==Example(s)==
* <code><nowiki>{{TemplateName}}</nowiki></code> gives:
{{TemplateName}}

==Template Data==
<templatedata>
{
}
</templatedata>
<includeonly>
<!-- Template categories/interwikis here -->

</includeonly>

See Also

[edit source]

Template Data

[edit source]

Creates a documentation page that can be edited or updated by users, even if the template itself is protected. It also allows documentation to be moved to a subpage to reduce server resource usage, it does this by circumventing the technical limits regarding templates. Please use the template talk page to discuss any changes to Template:Documentation before making them.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified
Cookies help us deliver our services. By using our services, you agree to our use of cookies.