Template:Documentation: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
No edit summary
m 15 revisions imported
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Quest reward scroll
<templatestyles src="Documentation/styles.css" />
|image=<!-- image, preferably 75x75px and without link, e.g. [[File:Weird gloop detail.png|75x75px|link=]] -->
<div class="template-documentation"><!--
|quest=<!-- quest name -->
--><div class="documentation-header"><!--
|reward=<!-- List of rewards. Whitespace enters do work. -->
--><div class="documentation-title"> {{#switch:{{NAMESPACE}}|Template=Template documentation|#default=Documentation}} <span class="plainlinks documentation-links"> {{#if:{{{contents|}}}|&#91;[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]&#93;|{{#ifexist:{{FULLPAGENAME}}/doc|&#91;[[{{FULLPAGENAME}}/doc|view]]&#93;&nbsp;&#91;[{{fullurl:{{FULLPAGENAME}}/doc|action=edit}} edit]&#93;&nbsp;&#91;[{{fullurl:{{FULLPAGENAME}}/doc|action=history}} history]&#93;&nbsp;&#91;[{{fullurl:{{FULLPAGENAME}}|action=purge}} purge]&#93;|&#91;[[{{FULLPAGENAME}}/doc|create]]&#93;}}}}
|qp=<!-- Total quest points after quest -->
</span></div><!--
}}
--></div>
{{#if:{{{contents|}}}|{{{contents}}}|{{#ifexist:{{FULLPAGENAME}}/doc|{{:{{FULLPAGENAME}}/doc}}|{{{1|No documentation available.}}}}}}}<!--
--></div>

Latest revision as of 17:12, 25 August 2026

Template documentation [view] [edit] [history] [purge]
CSS3 logo.svg
This template uses CSS found at Documentation/styles.css.

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>