Forskjell mellom versjoner av «Mal:Intricate template»

Fra Norges Kirker

Hopp til: navigasjon, søk
 
m (Importerte 95 revisjoner: Alle nødv templates for Infobox church)
 
(53 mellomliggende revisjoner av en annen bruker er ikke vist)
Linje 1: Linje 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 template employs 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: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 {{nowrap|{{#switch:
{| 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"
+
{{#ifexist:{{FULLPAGENAME}}/sandbox    |sandbox    |
|-
+
{{#ifexist:{{FULLPAGENAME}}/Sandbox    |Sandbox    |
| align="center" | [[Image:Information_icon.svg|50px]]
+
{{#ifexist:{{FULLPAGENAME}}/test sandbox|test 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        |test        |
This template is for templates with esoteric syntax.
+
{{#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-->}}<!--ENDnowrap-->}} 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>

Nåværende revisjon fra 7. jul. 2011 kl. 09:25

[create] Template documentation