Template:Documentation: Difference between revisions

From CUADC Wiki
Jump to navigation Jump to search
(Created page with "<div style="padding: 1em; background: #c6c2df; border-left: 1px #3d00ab solid; clear: both">a</div>")
 
(Create minimal documentation template)
Line 1: Line 1:
<div style="padding: 1em; background: #c6c2df; border-left: 1px #3d00ab solid; clear: both">a</div>
<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>
{{{{BASEPAGENAME}}/doc}}
</div>

Revision as of 18:47, 15 December 2018

Template documentation[edit docs]

This template can be used to document templates. How meta.

  1. Put
    <noinclude>{{Documentation}}</noinclude>
    at the end of your template.
  2. 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.