Difference between revisions of "Template:Intricate template"

From DMARC Wiki
Jump to navigation Jump to search
m (34 revisions imported)
 
(59 intermediate revisions by 36 users not shown)
Line 1: Line 1:
{| summary="Warning box: The source code of this template employs complicated constructs" class="messagebox" style="clear: both"
+
{{ombox
| style="align: center" | [[Image:Information_icon.svg|50px]]
+
| type = style
| style="width: 95%; padding: 0.4em" | This template employs some extremely complicated and esoteric features of template syntax.
+
| image = [[Image:Ambox warning yellow.svg|40x40px|alt=|link=]]
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.
+
| text =
|}<includeonly>[[Category:Esoteric templates|{{PAGENAME}}]]</includeonly><noinclude>
+
'''This {{{namespace|template}}} employs intricate features of template syntax.'''
----
+
<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/>
{| summary="A second, <noinclude>, box, specifying that the code of the former box is itself simple: rather, the code of templates which it marks may be complicated" class="messagebox"
+
Remember that you can conduct experiments, and should test all improvements, in either the <span class="nowraplinks">{{#switch:
|-
+
{{#ifexist:{{FULLPAGENAME}}/sandbox    |sandbox    |
| align="center" | [[Image:Information_icon.svg|50px]]
+
{{#ifexist:{{FULLPAGENAME}}/Sandbox    |Sandbox    |
| align="left" width="95%" | Actually, ''this'' template uses very simple syntax, but templates that link to the above message do use esoteric syntax.
+
{{#ifexist:{{FULLPAGENAME}}/test sandbox|test sandbox|
|}
+
{{#ifexist:{{FULLPAGENAME}}/Test sandbox|Test sandbox|
This template is for templates with esoteric syntax.
+
{{#ifexist:{{FULLPAGENAME}}/test        |test        |
 
+
{{#ifexist:{{FULLPAGENAME}}/Test        |Test        |
 
+
}} }} }} }} }} }}
 +
| sandbox      = [[Template:{{PAGENAME}}/sandbox     |local /sandbox         ]]
 +
| Sandbox      = [[Template:{{PAGENAME}}/Sandbox    |local /Sandbox          ]]
 +
| test sandbox = [[Template:{{PAGENAME}}/test sandbox|local /test sandbox    ]]
 +
| Test sandbox = [[Template:{{PAGENAME}}/Test sandbox|local /Test sandbox    ]]
 +
| test        = [[Template:{{PAGENAME}}/test        |local /test            ]]
 +
| Test        = [[Template:{{PAGENAME}}/Test        |local /Test            ]]
 +
| #default    = [[Template:Template sandbox        |general Template sandbox]]
 +
<!--ENDswitch-->}}</span> or your user space before changing anything here.</div>
 +
}}<includeonly>{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | [[Category:Intricate templates]] }}</includeonly><noinclude>
 +
{{Documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 03:38, 17 July 2015

{{#invoke:Message box|ombox}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}