Template:Documentation: Difference between revisions
From Gigantic Wiki
Content added Content deleted
m (minor) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| class=" |
<includeonly>{| class="docstart" style="width:100%; border: 2px solid #3FB9BE; border-collapse: collapse;" |
||
|- style="font-size:18px;" |
|- style="font-size:18px;" |
||
! Template documentation follows |
! style="background: #1A7D93; padding: 3px;"|Template documentation follows |
||
|- |
|- |
||
| ''Note: the template above may sometimes be partially or fully invisible.'' |
| style="background: #0A4557; padding: 3px 10px;"| ''Note: the template above may sometimes be partially or fully invisible.'' |
||
|- |
|- |
||
| Visit [[Template:{{PAGENAMEE}}/doc]] to edit this documentation. ([[Template:Documentation|How does this work?]]) |
| style="background: #0A4557; padding: 3px 10px;"| Visit [[Template:{{PAGENAMEE}}/doc]] to edit this documentation. ([[Template:Documentation|How does this work?]]) |
||
|} |
|} |
||
<div style="margin:0 1em;"> |
<div style="margin:0 1em;"> |
Latest revision as of 17:23, 15 October 2023
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Documentation/doc to edit this documentation. (How does this work?) |
- Description
- This template is used to insert descriptions on template pages.
- Syntax
- Add
<noinclude>
at the end of the template page.{{documentation}}
</noinclude>
- Usage
- On the Template page:
TEMPLATE CODE<includeonly>Any categories to be inserted into articles by the template</includeonly><noinclude> {{documentation}}Categories for template itself</noinclude>
- On the Template/doc page you should write the content of the documentation itself.
- Note that the above example also uses the Template:T and Template:T/piece templates.