Template:Documentation/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
Created page with "== Usage == By default, this template displays the /doc subpage if it exists, or shows a link to create one if it does not. <pre style="width:50%"> <noinclude> {{Documentation}} </noinclude> </pre> For custom documentation, use the contents parameter to override the /doc subpage. <pre style="width:50%"> <noinclude> {{Documentation | contents = <!-- Custom documentation --> }} </noinclude> </pre>"
 
Sylphoid (talk | contribs)
m cat
 
Line 14: Line 14:
}}
}}
</noinclude>
</noinclude>
</pre>
</pre><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 06:55, 13 September 2024

Usage[edit source]

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>