Template:Intricate template: Difference between revisions
Appearance
John James (talk | contribs) Created page with "{{ombox | type = style | image = 40x40px|alt=|link= | text = '''This template employs intricate features of template syntax.''' {{nowrap|{{{1|}..." |
{{{namespace|}}} |
||
| Line 3: | Line 3: | ||
| image = [[Image:Ambox warning yellow.svg|40x40px|alt=|link=]] | | image = [[Image:Ambox warning yellow.svg|40x40px|alt=|link=]] | ||
| text = | | text = | ||
'''This template employs intricate features of template syntax.''' | '''This {{{namespace|template}}} employs intricate features of template syntax.''' | ||
Remember that you can conduct experiments, and should test all improvements, in either the | <div style="font-size:95%; padding-bottom:2px;">You are encouraged to familiarise yourself with its setup and [[m:Help:Parser function|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.<br/> | ||
Remember that you can conduct experiments, and should test all improvements, in either the <span class="nowraplinks">{{#switch: | |||
{{#ifexist:{{FULLPAGENAME}}/sandbox |sandbox | | {{#ifexist:{{FULLPAGENAME}}/sandbox |sandbox | | ||
{{#ifexist:{{FULLPAGENAME}}/Sandbox |Sandbox | | {{#ifexist:{{FULLPAGENAME}}/Sandbox |Sandbox | | ||
| Line 19: | Line 20: | ||
| 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-->}}< | <!--ENDswitch-->}}</span> or your user space before changing anything here.</div> | ||
}}<includeonly>{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | [[Category:Intricate templates]] }}</includeonly><noinclude> | }}<includeonly>{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | [[Category:Intricate templates]] }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 21:40, 20 September 2012
| 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. |
This is the {{intricate template}} message box.
{{intricate}} redirects here and can be used as alternative name 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.
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 template}}</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
See also
| The above documentation is transcluded from Template:Intricate template/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |