Template:Documentation: Difference between revisions

From PZwiki
m (removed pregenerated TOC)
m (colour adjustments)
Line 1: Line 1:
<includeonly><onlyinclude><!--
<includeonly><onlyinclude><!--
--><div style="clear: both; border: 1px solid #C0C0C0;"><!--
--><div style="clear: both; border: 1px solid #C8CCD1;"><!--


   --><div style="padding: 0.5em; background:#EAECF0;"><!--
   --><div style="padding: 0.5em; background:#EAECF0;"><!--
Line 8: Line 8:
   --></div><!--
   --></div><!--


   --><div style="margin: 0; padding: 10px; background:#FAFAFA"><!--
   --><div style="margin: 0; padding: 10px; background:#F8F9FA"><!--
     -->{{#ifexist: {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}<!--
     -->{{#ifexist: {{ #if: {{{1|}}} | {{{1}}} | {{FULLPAGENAME}}/doc }}<!--

Revision as of 14:30, 27 September 2019

[view] [edit] [history] [purge] Template documentation
The {{Documentation}} template is used to contain the documented information and instructions of a certain template from a /doc subpage.

Usage

To use this template, {{Documentation}} should be added to the template inside a <noinclude> tag, so the documentation isn't transcluded along with the template. Then add the documentation to the /doc page, and it will be added to the template. The documentation page should include the {{Documentation subpage}} template, so it is added to the appropriate documentation category.

Example

<!--Last line of your template code--><noinclude>
{{Documentation}}
</noinclude>

See also

Documentation transcluded from Template:Documentation/doc.
Editors can experiment in this template's sandbox (create)