Jump to content

Template:Documentation: Difference between revisions

From Deadlock Wiki
trying to fix content not being contained in divs
make clearer
Line 4: Line 4:
</span></div><!--
</span></div><!--
--></div>
--></div>
{{#if:{{{contents|}}}|{{{contents}}}|{{#ifexist:{{FULLPAGENAME}}/doc|{{:{{FULLPAGENAME}}/doc}}|{{{1|No documentation available.}}}}}}}<!--
{{#if:{{{contents|}}}|{{{contents}}}|{{#ifexist:{{FULLPAGENAME}}/doc|{{:{{FULLPAGENAME}}/doc}}|{{{1|No documentation available. Documentation may be created at [[{{FULLPAGENAME}}/doc]].}}}}}}}<!--
--></div>
--></div>

Revision as of 04:35, 3 November 2024

Template documentation [view] [edit] [history] [purge]

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>