Jump to content

Template:Simple documentation: Difference between revisions

From Micro Pedia
Created page with "<includeonly>__NOEDITSECTION__ <div class="sjabdocnote" style="color:grey; text-align:center; margin-top:1em;"><small>'''The template description below will not be displayed when the template is placed.'''</small></div> <div class="toccolours template-documentation" style="background: #FFFFEE; border: 1px solid #FFDAB9;font-size:100%;">'''Template''': {{navbar|{{PAGENAME}}|mini=1}} ─ '''Template/doc''': {{navbar|{{PAGENAME}}/doc|mini=1}}</div> <div class="toccolours te..."
 
Steven Buber (talk | contribs)
m 1 revision imported
 
(No difference)

Latest revision as of 17:11, 5 January 2025

The template description below will not be displayed when the template is placed.
Template: Template:NavbarTemplate/doc: Template:Navbar
Dependencies:
Goal

This template can be used to add information about the purpose and use of a template. It also serves to create a separation between a template and the information about use that is not included when a template is placed.

Usage

The template can be used with two parameters and must be put between <noinclude></noinclude>.

<noinclude>{{Simple documentation|1=

Explanation of purpose and use of the template

}}
</noinclude>
<noinclude>{{Simple documentation|content=

Explanation of purpose and use of the template

}}
</noinclude>
It is suggested to always use the following parts in the template information
  • Goal
  • Usage
And if applicable
  • Default values
  • Related templates

For clarity, headings are best preceded by a semicolon (;).