Template:Documentation: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<div style="clear: both; margin: 1em 0 0 0; padding: 15px; border: 1px solid #aaa; border-radius: 3px; box-shadow:0 .25em .35em -0.25em rgba(0,0,0,0.5);"><!--
<includeonly>{{#invoke:Documentation|doc}}__NOEDITSECTION__</includeonly><noinclude>{{/doc}}</noinclude>
--><div style="border-bottom: 1px solid #aaa; margin-bottom:10px;"><!--
<div style="width: 488px; height: 320px; margin: 0 auto; position: relative;">
--><div style="font-weight: bold; font-size:115%;"> {{#switch:{{NAMESPACE}}|Template=Template documentation|#default=Documentation}} <span class="plainlinks" style="font-size:75%;"> {{#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;}}}}
<span style="position: absolute;">[[File:Quest reward scroll blank.png|link=]]</span>
</span></div><!--
<span style="position:absolute; top: 125px; left: 65px; image-rendering: pixelated;">{{{image|[[File:Weird gloop detail.png|75x75px|link=]]}}}</span>
--></div>
<div style="padding-top: 86px; text-align: center; font-family: runescape; font-size: 16px; color: #37242b; white-space: pre-wrap; line-height: 17px;">
{{#if:{{{contents|}}}|{{{contents}}}|{{#ifexist:{{FULLPAGENAME}}/doc|{{:{{FULLPAGENAME}}/doc}}|{{{1|No documentation available.}}}}}}}<!--
<div style="position: relative;">You have completed {{{quest}}}!
--></div>
 
You are awarded:
{{{Fiance}}}
</div>
<span style="position: absolute; bottom: 68px; width: 100%; left: 0.5px;">Total Quest Points: {{{11,000}}}</span>
</div>
</div><noinclude>{{/doc}}</noinclude>

Revision as of 14:40, 3 December 2025

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>

File:Quest reward scroll blank.png File:Weird gloop detail.png

You have completed {{{quest}}}!

You are awarded: {{{Fiance}}}

Total Quest Points: {{{11,000}}}

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>