Template:Intricate template: Difference between revisions
Appearance
[unreviewed revision] | [unreviewed revision] |
Content deleted Content added
made change per talk request |
This is a project template, not an article template. |
||
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: |
||
{{#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> |
|||
{{pp-template|small=yes}} |
{{pp-template|small=yes}} |
||
{{template doc}} |
{{template doc}} |
Revision as of 11:33, 16 November 2007
This is the {{intricate template}} message box.
{{esoteric}} and {{intricate}} redirect here and can be used as alternative names for this template.
Actually, this template's syntax is relatively simple.
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.
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 template}}</includeonly> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->