Difference between revisions of "Template:Intricate template/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Komusou
(removed "padding-bottom:2px;" hack)
imported>Komusou
(reset with copy of current template)
Line 1: Line 1:
 
{| class="messagebox" style="clear:both; border:1px solid #a00; font-size:95%;"
 
{| class="messagebox" style="clear:both; border:1px solid #a00; font-size:95%;"
 
| style="text-align:center; width:60px;" | [[Image:Information_icon.svg|40px]]
 
| style="text-align:center; width:60px;" | [[Image:Information_icon.svg|40px]]
| '''This template employs [[wikt:intricate|intricate]] features of template syntax.''' {{nowrap|{{{1|}}}}}
+
| '''This template employs [[wikt:intricate|intricate]] features of template syntax.''' {{nowrap|{{{1|}}}}}<div style="font-size:95%; padding-bottom:2px;">You are encouraged to familiarise yourself with its setup and [[M:Parser functions|parser functions]] before editing the template. If your edit causes unexpected problems, please [[Help:Reverting#Undo|undo]] it quickly, as this template may appear on a large number of pages.</div>'''Remember that you can conduct experiments, and should test all improvements, in either the {{nowrap|{{#switch:
 
 
<div style="font-size:95%;">Please do not alter it unless you understand its setup and [[M:Parser functions|parser functions]] '''and''' are ready to repair or revert all collateral damage if results are unexpected.</div>
 
 
 
'''Any experiments should be conducted and all improvements tested in either the {{nowrap|{{#switch:
 
 
{{#ifexist:{{FULLPAGENAME}}/sandbox    |sandbox    |
 
{{#ifexist:{{FULLPAGENAME}}/sandbox    |sandbox    |
 
{{#ifexist:{{FULLPAGENAME}}/Sandbox    |Sandbox    |
 
{{#ifexist:{{FULLPAGENAME}}/Sandbox    |Sandbox    |
Line 20: Line 16:
 
  | Test        = [[Template:{{PAGENAME}}/Test        |local /Test            ]]
 
  | Test        = [[Template:{{PAGENAME}}/Test        |local /Test            ]]
 
  | #default    = [[Template:Template sandbox        |general Template sandbox]]
 
  | #default    = [[Template:Template sandbox        |general Template sandbox]]
<!--ENDswitch-->}}<!--ENDnowrap-->}} or your user space before changing anything here.'''
+
<!--ENDswitch-->}}<!--ENDnowrap-->}} or your user space before changing anything here.
 
 
 
|}<includeonly>[[Category:Intricate templates|{{PAGENAME}}]]</includeonly><noinclude>
 
|}<includeonly>[[Category:Intricate templates|{{PAGENAME}}]]</includeonly><noinclude>
<!--
 
    PLEASE DO NOT ADD DOCUMENTATION/CATEGORIES/INTERWIKIS HERE
 
-->
 
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
{{#ifeq:{{SUBPAGENAME}} | sandbox
+
{{template doc}}
| {{Template sandbox notice}}
 
| {{Template doc}}
 
}}
 
<!--
 
    MAKE ADDITIONS TO THE /doc SUBPAGE INSTEAD, THANKS
 
-->
 
 
</noinclude>
 
</noinclude>

Revision as of 04:44, 24 September 2007

Information icon.svg This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
Template documentation[view] [edit] [history] [purge]

This is the {{intricate template}} message box. {{intricate}} redirects here and can be used as alternative name for this template.

This template can be put at the top of the documentation for any templates that are intricate, i.e., complex, using less obvious techniques, esoteric syntax, combining different techniques, used as parameter for other templates, built to function for a variety of calling instances, etc.

This template's syntax is actually relatively simple.

This template adds templates to Category:Intricate templates.

Usage

When this template is placed on a template's /doc page it can be nice to put it within <includeonly> tags so it only gets visible on the template page. The full code for a /doc page top then can look like this:

{{documentation subpage}}
<includeonly>{{intricate}}</includeonly>

See also

  • {{high-use}} – For high-use templates.