Template:Intricate template: Difference between revisions
Appearance
[unreviewed revision] | [checked revision] |
Content deleted Content added
fix link |
cut wording to not duplicate {{high-risk}} and {{high-use}} |
||
(44 intermediate revisions by 24 users not shown) | |||
Line 1: | Line 1: | ||
{{ombox |
|||
<noinclude>{{Protected template}}</noinclude><div class="messagebox" style="border:1px solid #A00; clear: both"> |
|||
| type = style |
|||
{|style="width:100%;background:none" |
|||
| |
| image = [[File:Ambox warning yellow.svg|40px|link=|alt=]] |
||
| text ='''This template employs intricate features of template syntax.''' {{nowrap|{{{1|}}}}}<div style="font-size:95%; padding-bottom:2px;">You are encouraged to familiarize yourself with its setup and [[mw:Help:Extension:ParserFunctions|parser functions]] before editing the template. If your edit causes unexpected problems, please [[Help:Editing#Undo|undo]] it quickly. Remember that you can conduct experiments, and should test all improvements, in either the {{nowrap|{{#switch: |
|||
|'''This template employs some extremely complicated or [[wikt:esoteric]] features of template syntax.'''<br /><small>Please do not attempt to alter it unless you are certain that you understand the setup '''and''' are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the [[Template:Template sandbox|template sandbox]] or your user space.</small> |
|||
{{#ifexist:{{FULLPAGENAME}}/sandbox |sandbox | |
|||
|}</div><includeonly>[[Category:Esoteric templates|{{PAGENAME}}]]</includeonly><noinclude> |
|||
{{#ifexist:{{FULLPAGENAME}}/Sandbox |Sandbox | |
|||
---- |
|||
{{#ifexist:{{FULLPAGENAME}}/test sandbox|test sandbox| |
|||
<div class="messagebox"> |
|||
{{#ifexist:{{FULLPAGENAME}}/Test sandbox|Test sandbox| |
|||
{|style="width:100%;background:none" |
|||
{{#ifexist:{{FULLPAGENAME}}/test |test | |
|||
|width=60px align=center|[[Image:Information_icon.svg|40px]] |
|||
{{#ifexist:{{FULLPAGENAME}}/Test |Test | |
|||
|Actually, ''this'' template uses very simple syntax, but templates that link to the above message do use esoteric syntax. This template adds templates to [[:Category:Esoteric templates]]. |
|||
}} }} }} }} }} }} |
|||
|}</div> |
|||
| sandbox = [[Template:{{PAGENAME}}/sandbox |local /sandbox ]] |
|||
| Sandbox = [[Template:{{PAGENAME}}/Sandbox |local /Sandbox ]] |
|||
This template is for templates with esoteric syntax. |
|||
| test sandbox = [[Template:{{PAGENAME}}/test sandbox|local /test sandbox ]] |
|||
| Test sandbox = [[Template:{{PAGENAME}}/Test sandbox|local /Test sandbox ]] |
|||
| test = [[Template:{{PAGENAME}}/test |local /test ]] |
|||
<!--Categories--> |
|||
[[ |
| Test = [[Template:{{PAGENAME}}/Test |local /Test ]] |
||
| #default = [[Template:Template sandbox |general template sandbox]] |
|||
<!--ENDswitch-->}}<!--ENDnowrap-->}} or your user space before changing anything here.</div> |
|||
<!--Other languages--> |
|||
}}<noinclude> |
|||
[[bg:Шаблон:Esoteric]] |
|||
{{documentation}} |
|||
[[cs:Šablona:Esoteric]] |
|||
[[es:Plantilla:Esotérica]] |
|||
[[eo:Ŝablono:Esotera]] |
|||
[[fr:Modèle:Ésotérique]] |
|||
[[ja:Template:複雑なテンプレート]] |
|||
[[ka:თარგი:Esoteric]] |
|||
[[no:Mal:Komplisert mal]] |
|||
[[ro:Format:Ezoteric]] |
|||
[[sl:Predloga:Esoteric]] |
|||
[[sv:Mall:Komplicerad kod]] |
|||
[[ur:سانچہ:مخفی]] |
|||
[[zh:Template:Esoteric]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 04:48, 17 December 2010
This template employs intricate features of template syntax. You are encouraged to familiarize yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly. 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.
{{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 -->