Template:Documentation: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
m (Replaced content with "<div id="doc" style="border:1px solid #a2a9b1; background-color: #ecfcf4; padding: 10px;">{{{{{1|:{{BASEPAGENAME}}}}}/doc}}</div>")
Tag: Replaced
mNo edit summary
Line 1: Line 1:
<div id="doc" style="border:1px solid #a2a9b1; background-color: #ecfcf4; padding: 10px;">{{{{{1|:{{BASEPAGENAME}}}}}/doc}}</div>
<div id="doc" style="border:1px solid #a2a9b1; background-color: #ecfcf4; padding: 10px;">{{:{{SUBJECTSPACE}}:{{BASEPAGENAME}}/doc}}</div>

Revision as of 21:12, 12 December 2023

Not to be confused with Template:docsub.
Shortcut
{{doc}}

The {{documentation}} template transcludes template documentation from a /doc subpage and wraps it in a box. Placing detailed instructions and information about a template in a subpage keeps the template itself relatively clean, which may be helpful in the event troubleshooting the template becomes necessary.

Usage

After the template itself, place {{documentation}} between <noinclude> and </noinclude> tags. This prevents the documentation from being transcluded with the template.

Parameters

The template has no parameters.