Difference between revisions of "Template:Intricate template"

From BTAWiki
Jump to navigation Jump to search
(So it uses a little less space on template pages, font-size:95% and <div> to reduce template's height)
m (125 revisions imported)
 
(46 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<noinclude>{{Protected template}}<br/><hr/><center><small>''template begins''</small></center></noinclude><!--
+
<noinclude>
 
+
<languages/>
-->
+
</noinclude>{{#switch:<translate></translate>
{| class="messagebox" style="clear:both; border:1px solid #a00; font-size:95%;"
+
| =
|width="60px" align="center"| [[Image:Information_icon.svg|40px]]
+
{{ombox
| '''This template employs [[wikt:intricate|intricate]] features of template syntax.''' {{nowrap|{{{1|}}}}}<div style="line-height:11pt; font-size:95%;">Please do not alter it unless you understand its setup and [[M:Parser functions|parser functions]] '''and''' are ready to repair or revert all collateral damage if results are unexpected.<br/>'''Any experiments should be conducted and all improvements tested in either the {{nowrap|[[Template:{{#ifexist:{{FULLPAGENAME}}/Test sandbox|{{PAGENAME}}/Test|Template}} sandbox|{{#ifexist:{{FULLPAGENAME}}/Test sandbox|Template:{{PAGENAME}}/Test|template}} sandbox]]}} or your user space before changing anything here.</div>
+
| type = style
|}<!--
+
| image = [[File:OOjs UI icon alert-yellow.svg|40x40px|alt=|link=]]
--><includeonly>[[Category:Esoteric templates|{{PAGENAME}}]]</includeonly><!--
+
| text ='''<translate><!--T:1--> This {{{<tvar|ns>namespace</>|template}}} employs intricate features of template syntax.</translate>'''
 
+
<div style="font-size:95%; padding-bottom:2px"><translate><!--T:2--> You are encouraged to familiarize yourself with its setup and [[<tvar|meta>m:Help:Parser function</>|parser functions]] before editing the template.</translate> <translate><!--T:3--> If your edit causes unexpected problems, please [[<tvar|1>m:Special:MyLanguage/Help:Reverting#Undo</>|undo]] it quickly, as this template may appear on a large number of pages.</translate><br />
--><noinclude><center><small>''template ends''</small></center>
+
<translate><!--T:4--> Remember that you can conduct experiments, and should test all improvements, in either the {{<tvar|1>Intricate template/sandbox link|general</>=general sandbox|<tvar|2>local</>=local <tvar|3>$1</>}} or your user space before changing anything here.</translate></div>
<hr/><br/>
+
}}<includeonly>{{#if:{{{nocat|}}}|| {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | [[Category:Intricate templates{{#translation:}}]] }} }}</includeonly>
{| class="messagebox"
+
| #default=
|width="60px" align="center"| [[Image:Information_icon.svg|40px]]
+
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Intricate template|noshift=1|uselang={{int:lang}}}}
|Actually, ''this'' template's syntax is relatively simple, but templates that link to the above message should be intricate, e.g. complex, using less obvious techniques, [[wikt:Esoteric|esoteric]] syntax, combining different techniques, used as parameter for other templates, build to function for a variety of calling instances, etc. The above template adds templates to  {{nowrap|[[:Category:Esoteric templates]]}}.
+
}}<noinclude>
|}
+
{{Documentation|Template:Intricate template/doc}}
 
+
[[Category:Alert templates{{#translation:}}]]
<!--Categories-->
 
[[Category:Template namespace templates|{{PAGENAME}}]]
 
 
 
<!--Other languages-->
 
[[bg:Шаблон:Esoteric]]
 
[[cs:Šablona:Esoteric]]
 
[[es:Plantilla:Esotérica]]
 
[[eo:Ŝablono:Esotera]]
 
[[fr:Modèle:Ésotérique]]
 
[[ia:Patrono:Esoteric]]
 
[[ja:Template:複雑なテンプレート]]
 
[[ka:თარგი:Esoteric]]
 
[[no:Mal:Komplisert mal]]
 
[[ro:Format:Ezoteric]]
 
[[sl:Predloga:Esoteric]]
 
[[sv:Mall:Komplicerad kod]]
 
[[ur:سانچہ:مخفی]]
 
[[wuu:Template:Esoteric]]
 
[[zh:Template:Esoteric]]
 
[[zh-classical:Template:Esoteric]]
 
[[zh-yue:Template:祕技]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 20:38, 30 October 2020

<languages/> Script error: No such module "Template translation". Script error: No such module "documentation". [[Category:Alert templates{{#translation:}}]]