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>")
 
m (Protected "Template:Documentation": High traffic page: High visibility ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(2 intermediate revisions by one other user not shown)
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; 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}}
</div>

Latest revision as of 00:26, 16 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.