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

From blackwiki
Jump to navigation Jump to search
imported>ConradPino
(discard current sandbox; copy parent 20:09, September 7, 2007 version)
imported>ConradPino
(use {{ambox}})
Line 1: Line 1:
{| class="messagebox" style="clear:both; border:1px solid #a00; font-size:95%;"
+
{{ ambox
| style="text-align:center; width:60px;" | [[Image:Information_icon.svg|40px]]
+
<!-- do nothing on this line -->
| '''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:
+
|text='''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:
 
{{#ifexist:{{FULLPAGENAME}}/sandbox    |sandbox    |
 
{{#ifexist:{{FULLPAGENAME}}/sandbox    |sandbox    |
 
{{#ifexist:{{FULLPAGENAME}}/Sandbox    |Sandbox    |
 
{{#ifexist:{{FULLPAGENAME}}/Sandbox    |Sandbox    |
Line 17: Line 17:
 
  | #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>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{template doc}}
 
{{template doc}}
 
</noinclude>
 
</noinclude>

Revision as of 21:34, 15 November 2007

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.