Template:Documentation: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
osrsw>Habblet
No edit summary
osrsw>Habblet
No edit summary
Line 2: Line 2:
|<!-- Subpage header -->
|<!-- Subpage header -->
<table class="messagebox info"><tr>
<table class="messagebox info"><tr>
<td>[[File:Information icon-grey.svg|40px|Documentation]]</td>
<td>[[File:Information icon-grey.png|40px|Documentation]]</td>
<td>'''This is a documentation subpage for [[{{{1|{{#titleparts:{{FULLPAGENAME}}|-1}}}}}]]'''.<span style="font-size:0.85em"><br />It contains usage information, categories, and other content that is not part of the original template page.</span></td>
<td>'''This is a documentation subpage for [[{{{1|{{#titleparts:{{FULLPAGENAME}}|-1}}}}}]]'''.<span style="font-size:0.85em"><br />It contains usage information, categories, and other content that is not part of the original template page.</span></td>
</tr></table>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Template documentation|{{BASEPAGENAME}}]]}}
</tr></table>{{#ifeq:{{NAMESPACE}}|Template|[[Category:Template documentation|{{BASEPAGENAME}}]]}}

Revision as of 19:01, 19 February 2013

CSS3 logo.svg
This template uses CSS found at Documentation/styles.css.

Usage

By default, this template displays the /doc subpage if it exists, or shows a link to create one if it does not.

<noinclude>
{{Documentation}}
</noinclude>

For custom documentation, use the contents parameter to override the /doc subpage.

<noinclude>
{{Documentation
 | contents = <!-- Custom documentation -->
}}
</noinclude>