Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to {closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SRFParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to scqgRegisterParser() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SDParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SFParserFunctions::registerFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to ExtArrays::init() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to edgRegisterParser() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to PageSchemasHooks::register() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to widgetParserFunctions() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to ImageMap::onParserFirstCallInit() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to InputBoxHooks::register() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to Poem::init() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SMW\MediaWiki\Hooks\HookRegistry::SMW\MediaWiki\Hooks\{closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to SMW\Setup::SMW\{closure}() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to MapsHooks::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to ExtArrays::onParserClearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Parameter 1 to Cite::clearState() expected to be a reference, value given in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php on line 201

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Feed.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/Hooks.php:201) in /var/www/vhosts/shdenham.co.uk/httpdocs/mw/includes/WebResponse.php on line 37
http://shdenham.co.uk/mw/index.php?action=history&feed=atom&title=Template%3ADocumentation%2Fcore Template:Documentation/core - Revision history 2025-08-25T04:44:24Z Revision history for this page on the wiki MediaWiki 1.26.2 http://shdenham.co.uk/mw/index.php?title=Template:Documentation/core&diff=4238&oldid=prev Simon at 16:14, 11 April 2011 2011-04-11T16:14:38Z <p></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;' lang='en'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 16:14, 11 April 2011</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l29" >Line 29:</td> <td colspan="2" class="diff-lineno">Line 29:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &lt;!--&quot;heading&quot; not defined in this or previous level--&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &lt;!--&quot;heading&quot; not defined in this or previous level--&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; {{#switch: {{SUBJECTSPACE}} &#160;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; {{#switch: {{SUBJECTSPACE}} &#160;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | {{ns:Template}} = [[Image:Template-info.svg|50px|alt=]] <del class="diffchange diffchange-inline">Template documentation</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | {{ns:Template}} = [[Image:Template-info.svg|50px|alt=]] &#160;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | {{ns:File}} = Summary</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | {{ns:File}} = Summary</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | #default = Documentation</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | #default = Documentation</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l73" >Line 73:</td> <td colspan="2" class="diff-lineno">Line 73:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | {{#if: {{{doc exist|yes}}}</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; | {{#if: {{{doc exist|yes}}}</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; | &lt;!--/doc exists, link to it--&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; | &lt;!--/doc exists, link to it--&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; &#160; The above <del class="diffchange diffchange-inline">[[Wikipedia:Template documentation|documentation]] is </del>[[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. &lt;small style=&quot;font-style: normal&quot;&gt;([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &amp;#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])&lt;/small&gt; &lt;br&gt;</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; &#160; The above [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. &lt;small style=&quot;font-style: normal&quot;&gt;([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &amp;#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])&lt;/small&gt; &lt;br&gt;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; }}&lt;!-- &#160;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; }}&lt;!-- &#160;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; &#160; Add links to /sandbox and /testcases when appropriate:</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; &#160; Add links to /sandbox and /testcases when appropriate:</div></td></tr> </table> Simon http://shdenham.co.uk/mw/index.php?title=Template:Documentation/core&diff=4234&oldid=prev Simon at 16:10, 11 April 2011 2011-04-11T16:10:05Z <p></p> <table class='diff diff-contentalign-left'> <col class='diff-marker' /> <col class='diff-content' /> <col class='diff-marker' /> <col class='diff-content' /> <tr style='vertical-align: top;' lang='en'> <td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td> <td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 16:10, 11 April 2011</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l103" >Line 103:</td> <td colspan="2" class="diff-lineno">Line 103:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; }}</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; }}</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; }}{{#ifexist:{{FULLPAGENAME}}/Print</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; }}{{#ifexist:{{FULLPAGENAME}}/Print</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; |&lt;/br&gt;A <del class="diffchange diffchange-inline">[[Help:Books/for experts#Improving the book layout|print version]] of this template exists at [[/Print]]. If you make a change to this template, please update the print version as well.[[Category:Templates with print versions]]</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; |&lt;/br&gt;A &#160;</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; }}</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; }}</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; }}</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; }}</div></td></tr> <tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l119" >Line 119:</td> <td colspan="2" class="diff-lineno">Line 119:</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &lt;!--More checks can be added here, just return anything</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &lt;!--More checks can be added here, just return anything</div></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; to make the surrounding if-case trigger--&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>&#160;&#160; &#160; &#160; to make the surrounding if-case trigger--&gt;</div></td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">| &lt;includeonly&gt;[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]&lt;!-- Sort on namespace --&gt;&lt;/includeonly&gt;</del></div></td><td colspan="2">&#160;</td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr> <tr><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>}}&lt;noinclude&gt;</div></td><td class='diff-marker'>&#160;</td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>}}&lt;noinclude&gt;</div></td></tr> </table> Simon http://shdenham.co.uk/mw/index.php?title=Template:Documentation/core&diff=1688&oldid=prev Simon: Created page with '<!-- Start of green doc box --><div id="template-documentation" class="template-documentation iezoomfix"><!-- Add the heading at the top of the doc box: -->{{#ifeq: {{{headin…' 2010-07-15T09:56:32Z <p>Created page with &#039;&lt;!-- Start of green doc box --&gt;&lt;div id=&quot;template-documentation&quot; class=&quot;template-documentation iezoomfix&quot;&gt;&lt;!-- Add the heading at the top of the doc box: --&gt;{{#ifeq: {{{headin…&#039;</p> <p><b>New page</b></p><div>&lt;!--<br /> Start of green doc box<br /> --&gt;&lt;div id=&quot;template-documentation&quot; class=&quot;template-documentation iezoomfix&quot;&gt;&lt;!--<br /> Add the heading at the top of the doc box:<br /> --&gt;{{#ifeq: {{{heading|¬}}} | &lt;!--Defined but empty--&gt;<br /> | &lt;!--&quot;heading=&quot;, do nothing--&gt;<br /> | &lt;div style=&quot;padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;&quot;&gt;{{<br /> #if: {{{content|}}}<br /> | <br /> | &lt;!--Add the [edit][purge] or [create] links--&gt;<br /> &lt;span class=&quot;editsection plainlinks&quot; id=&quot;doc_editlinks&quot;&gt;{{<br /> #if: {{{doc exist|yes}}}<br /> | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}] <br /> | &lt;!--/doc doesn't exist--&gt;<br /> [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&amp;preload={{<br /> #ifeq: {{SUBJECTSPACE}} | {{ns:File}}<br /> | Template:Documentation/preload-filespace<br /> | Template:Documentation/preload<br /> }} }} create]]<br /> }}&lt;/span&gt;<br /> }} &lt;span style=&quot;{{#if: {{{heading-style|}}}<br /> | {{{heading-style|}}}<br /> | {{#ifeq: {{SUBJECTSPACE}} | {{ns:Template}}<br /> | font-weight: bold; font-size: 125%<br /> | font-size: 150%<br /> }}<br /> }}&quot;&gt;{{#switch: {{{heading|¬}}}<br /> | ¬ = <br /> &lt;!--&quot;heading&quot; not defined in this or previous level--&gt;<br /> {{#switch: {{SUBJECTSPACE}} <br /> | {{ns:Template}} = [[Image:Template-info.svg|50px|alt=]] Template documentation<br /> | {{ns:File}} = Summary<br /> | #default = Documentation<br /> }}<br /> | #default = <br /> &lt;!--&quot;heading&quot; has data or is empty but defined--&gt;<br /> {{{heading|}}}<br /> }}&lt;/span&gt;&lt;/div&gt;<br /> }}&lt;!--<br /> Load the /doc content:<br /> Note: The line breaks between this comment and the if-case<br /> and between the if-case and the following div are necessary so <br /> &quot;=== Headings ===&quot; at the start and end of docs are interpreted.<br /> --&gt;<br /> {{#if: {{{content|}}}<br /> | {{{content|}}}<br /> | {{#if: {{{doc exist|yes}}}<br /> | {{ {{{docpage|{{FULLPAGENAME}}/doc}}} }}<br /> }}<br /> }}<br /> &lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;&lt;!--So right or left floating items don't stick out of the doc box.--&gt;<br /> &lt;/div&gt;&lt;!--End of green doc box--&gt;&lt;!--<br /> Link box below for the doc meta-data:<br /> --&gt;{{#if: <br /> &lt;!--Check if we should show the link box--&gt;<br /> {{#ifeq: {{{link box|}}} | off<br /> |<br /> | {{{doc exist|yes}}}{{<br /> #switch: {{SUBJECTSPACE}}<br /> | {{ns:User}}<br /> | {{ns:Template}} = yes<br /> }}<br /> }}<br /> <br /> | {{fmbox<br /> | id = documentation-meta-data<br /> | image = none<br /> | style = background-color: #ecfcf4;<br /> | textstyle = font-style: italic;<br /> | text = <br /> {{#if: {{{link box|}}}<br /> | {{{link box}}} &lt;!--Use custom link box content--&gt;<br /> | {{#if: {{{doc exist|yes}}}<br /> | &lt;!--/doc exists, link to it--&gt;<br /> The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. &lt;small style=&quot;font-style: normal&quot;&gt;([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &amp;#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])&lt;/small&gt; &lt;br&gt;<br /> }}&lt;!-- <br /> Add links to /sandbox and /testcases when appropriate:<br /> --&gt;{{#switch: {{SUBJECTSPACE}}<br /> | {{ns:User}}<br /> | {{ns:Template}} = <br /> Editors can experiment in this template's {{<br /> #ifexist: {{{sandbox| {{FULLPAGENAME}}/sandbox }}}<br /> | [[{{{sandbox| {{FULLPAGENAME}}/sandbox }}}|sandbox]] &lt;small style=&quot;font-style: normal&quot;&gt;([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit }} edit] {{!}} [{{fullurl:Wikipedia:pagediff | withJS={{urlencode:MediaWiki:Common.js/pagediff.js}}&amp;oldpage={{urlencode:{{{template page|{{FULLPAGENAME}}}}}}}&amp;newpage={{urlencode:{{{sandbox|{{FULLPAGENAME}}/sandbox}}}}}}} diff])&lt;/small&gt; <br /> | sandbox &lt;small style=&quot;font-style: normal&quot;&gt;([{{fullurl: {{{sandbox| {{FULLPAGENAME}}/sandbox }}} | action=edit&amp;preload=Template:Documentation/preload-sandbox }} create])&lt;/small&gt; <br /> }} and {{<br /> #ifexist: {{{testcases| {{FULLPAGENAME}}/testcases }}}<br /> | [[{{{testcases| {{FULLPAGENAME}}/testcases }}}|testcases]] &lt;small style=&quot;font-style: normal&quot;&gt;([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit }} edit])&lt;/small&gt;<br /> | testcases &lt;small style=&quot;font-style: normal&quot;&gt;([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&amp;preload=Template:Documentation/preload-testcases }} create])&lt;/small&gt;<br /> }} pages. &lt;br&gt;<br /> }}&lt;!--<br /> Show the cats and interwiki text, but not <br /> if &quot;content&quot; fed or &quot;docname fed&quot; since then it is <br /> unclear where to add the cats and interwikis.<br /> --&gt;{{#if: {{{content|}}} {{{docname fed|}}}<br /> | <br /> | Please add categories and interwikis to the [[{{{docpage|{{FULLPAGENAME}}/doc}}}|/doc]] subpage.<br /> }}&lt;!--<br /> Show the &quot;Subpages&quot; link:<br /> --&gt;{{#switch: {{SUBJECTSPACE}}<br /> | {{ns:File}} = &lt;!--Don't show it--&gt;<br /> | {{ns:Template}} = &amp;#32;[[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].<br /> | #default = &amp;#32;[[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]].<br /> }}<br /> }}{{#ifexist:{{FULLPAGENAME}}/Print<br /> |&lt;/br&gt;A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at [[/Print]]. If you make a change to this template, please update the print version as well.[[Category:Templates with print versions]]<br /> }}<br /> }}<br /> }}&lt;!--End link box--&gt;&lt;!--<br /> <br /> Detect and report strange usage:<br /> --&gt;{{#if:<br /> <br /> &lt;!--Check if {{documentation}} is transcluded <br /> on a /doc or /testcases page--&gt;<br /> {{#switch: {{SUBPAGENAME}}<br /> | doc<br /> | testcases = strange<br /> }}<br /> &lt;!--More checks can be added here, just return anything<br /> to make the surrounding if-case trigger--&gt;<br /> <br /> | &lt;includeonly&gt;[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]&lt;!-- Sort on namespace --&gt;&lt;/includeonly&gt;<br /> <br /> }}&lt;noinclude&gt;<br /> <br /> {{pp-template}}<br /> &lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;<br /> &lt;/noinclude&gt;</div> Simon