From Arms of God Wiki

bot: doc cleanup (escape examples, drop charinsert)
bot: dark theme for remaining light surfaces (hand-authored tables, /doc + notice panels)
 
Line 1: Line 1:
<includeonly><div class="wm-template-doc" style="clear:both; border:1px solid #aaa; background:#f9f9f9; padding:8px; margin-top:1em;">
<includeonly><div class="wm-template-doc" style="clear:both; border:1px solid var(--panel-border, #3a3c44); background:var(--panel-bg, #1c1d22); color:var(--panel-text, #e6e6e6); padding:8px; margin-top:1em;">
=== Template documentation ===
=== Template documentation ===
<small>''(viewed at [[{{FULLPAGENAME}}]]; this section is hidden when the template is transcluded onto another page)''</small>
<small>''(viewed at [[{{FULLPAGENAME}}]]; this section is hidden when the template is transcluded onto another page)''</small>

Latest revision as of 04:39, 10 June 2026

Usage

{{Documentation}}

Inside a template's <noinclude>...</noinclude> block at the bottom. Renders a documentation panel that pulls from Template:Documentation/doc if a /doc subpage exists; otherwise notes that the template's own noinclude section is the docs.

This is the convention every well-organized wiki template uses (alongside <templatedata> for VisualEditor hints). Bot-published templates on this wiki carry inline <noinclude>{{templatedata}}</noinclude> blocks already; the

Template documentation

(viewed at Template:Documentation; this section is hidden when the template is transcluded onto another page)

No /doc subpage exists for this template. The template's <noinclude> block (visible here on the template's own view, hidden when transcluded) is the docs.

wrapper here is for hand-authored templates editors add later.

Standard template-documentation panel. Auto-detects a /doc subpage; falls back to the template's own noinclude content.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified