Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
(Create minimal documentation template) |
(Fix bugs) |
||
Line 1: | Line 1: | ||
<div style="padding: 1em; background: #c6c2df; border-left: 1px #3d00ab solid; clear: both"><h4>Template documentation<span class="mw-editsection"><span class="mw-editsection-bracket">[</span><span class="plainlinks">[{{fullurl:{{BASEPAGENAME}}/doc|action=edit}} edit docs]</span><span class="mw-editsection-bracket">]</span></span></h4> | <div style="padding: 1em; background: #c6c2df; border-left: 1px #3d00ab solid; clear: both; margin-top: 1em;"><h4>Template documentation<span class="mw-editsection"><span class="mw-editsection-bracket">[</span><span class="plainlinks">[{{fullurl:Template:{{BASEPAGENAME}}/doc|action=edit}} edit docs]</span><span class="mw-editsection-bracket">]</span></span></h4> | ||
{{{{BASEPAGENAME}}/doc}} | {{{{BASEPAGENAME}}/doc}} | ||
</div> | </div> |
Revision as of 19:01, 15 December 2018
Template documentation[edit docs]
This template can be used to document templates. How meta.
- Put
<noinclude>{{Documentation}}</noinclude>
at the end of your template. - Write your documentation at Template:Template name/doc, just like any other wiki article. You can access Template:Template name/doc from the "edit docs" button on your template's page, after completing step 1.