Difference between revisions of "Template:Documentation"

From DSiBrew
Jump to navigation Jump to search
(New page: <div class="template-documentation"><!-- These are the literal class definitions in common.css: →‎For template documentation: .template-documentation { clear: both; margin: 1...)
 
 
Line 20: Line 20:
 
     |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
 
     |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload=Template:Documentation/preload}} create]]
 
   }}</span>
 
   }}</span>
   }} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[Image:Template-info.svg|50px]] Template documentation|Documentation}}}}</span></div>
+
   }} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|Template documentation|Documentation}}}}</span></div>
 
  }}<!--
 
  }}<!--
  

Latest revision as of 04:35, 22 July 2011

[edit] Template documentation

Usage

Use {{Documentation}} in your <noinclude> section to add a documentation section like this to your template. The documentation itself will be located on PAGENAME/doc

You can automatically get a basic starter documentation page by clicking the Create link after you have included this template in your template.

See also