Difference between revisions of "Template:Intricate template"
(Shamelessly copied from wikipedia.org and adapted for SL Wiki) |
m (Changed warning sign to the yellow one) |
||
Line 2: | Line 2: | ||
|editnotice = {{editnotice | |editnotice = {{editnotice | ||
|id = {{{id|}}} | |id = {{{id|}}} | ||
|image = [[Image:Ambox warning.png|40x40px|alt=|link=]] | |image = [[Image:Ambox warning yellow.png|40x40px|alt=|link=]] | ||
|text = {{Intricate template/text}} | |text = {{Intricate template/text}} | ||
|expiry= {{{expiry|}}} | |expiry= {{{expiry|}}} | ||
}} | }} | ||
|#default = {{ombox | |#default = | ||
{{ombox | |||
|type = style | |type = style | ||
|image = [[Image:Ambox warning.png|40x40px|alt=|link=]] | |image = [[Image:Ambox warning yellow.png|40x40px|alt=|link=]] | ||
|text = {{Intricate template/text}} | |text = {{Intricate template/text}} | ||
}} | }} | ||
}}<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> |
Latest revision as of 16:22, 26 September 2022
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. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
This is the {{intricate template}} message box. {{intricate}} redirects here and can be used as alternative name for this template.
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's syntax is actually relatively simple.
This template adds templates to Category:Intricate templates.
Usage
When this template is placed on a template's /doc page, please add this within <includeonly>
tags so it only gets visible on the template page. The full code on the top of the /doc subpage can look like this:
{{documentation subpage}} <includeonly>{{intricate}}</includeonly>
Technical details
The text for the template itself can be found at {{Intricate template/text}}.
See also
- {{high-use}} – For high-use templates.