Template:Documentation: Difference between revisions
Truthseeker (talk | contribs) Created page with "<includeonly> <div style="border:1px solid #d9d9d9; background:#f8f8f8; padding:10px; margin-top:10px; border-radius:6px; font-size:90%;"> <b>Template documentation</b><br> {{{1|This template provides usage documentation for other templates on the site.}} </div> </includeonly> <noinclude> This template adds a documentation box beneath other templates. To use it, place: <pre> {{Documentation}} </pre> at the bottom of a template page. </noinclude>" |
Truthseeker (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="border:1px solid #d9d9d9; background:#f8f8f8; padding:10px; margin-top:10px; border-radius:6px; font-size:90%;"> | <div style="border:1px solid #d9d9d9; background:#f8f8f8; padding:10px; margin-top:10px; border-radius:6px; font-size:90%;"> | ||
<b>Template documentation</b><br> | <b>Template documentation</b><br /> | ||
{{{1|This template provides usage documentation for other templates on the site.}} | {{{1|This template provides usage documentation for other templates on the site.}} | ||
</div> | </div> | ||
| Line 8: | Line 8: | ||
<noinclude> | <noinclude> | ||
This template adds a documentation box beneath other templates. | This template adds a documentation box beneath other templates. | ||
== Usage == | |||
Place at the bottom of a template page: | |||
<pre> | <pre> | ||
{{Documentation}} | {{Documentation}} | ||
</pre> | </pre> | ||
Optionally, you can override the default text: | |||
<pre> | |||
{{Documentation|Custom documentation text here.}} | |||
</pre> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 17:11, 6 December 2025
This template adds a documentation box beneath other templates.
Usage
Place at the bottom of a template page:
{{Documentation}}
Optionally, you can override the default text:
{{Documentation|Custom documentation text here.}}