Difference between revisions of "Template:Intricate template/doc"

From Chevy Wiki
Jump to navigation Jump to search
(Importing image file)
 
m (1 revision)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{side box
{{Documentation subpage}}
|position  = {{{pos|}}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
|style    = {{#ifeq:{{{plain|}}}|yes|border:none; background:transparent; float:none; {{{style|}}}|{{{style|}}} }}
 
|textstyle = line-height:1.1em;
This is the {{tl|intricate template}} message box.
|image    = {{#ifeq:{{{plain|}}}|yes||{{#if:{{{image|}}}|{{{image}}}|[[Image:{{#switch:{{lc:{{{type|}}}}}
 
  | sound    = Exquisite-kmixdocked mute.png
{{tl|intricate}} redirects here and can be used as alternative name for this template.
  | music
 
  | #default = Gnome-speakernotes.svg
Actually, ''this'' template's syntax is relatively simple.
}}|65x50px|center]]}}}}
 
|text      = <table style="width:100%; background:transparent; border-collapse:collapse; padding:0; margin:0;">
This template can be put at the top of the documentation for any templates that are intricate, i.e., complex, using less obvious techniques, [[wikt:esoteric|esoteric]] syntax, combining different techniques, used as parameter for other templates, built to function for a variety of calling instances, etc.
{{#if:{{{header|}}}|<tr>
 
<th colspan="2" style="background:transparent; text-align:left; padding:2px;">{{{header}}}</th>
This template adds templates to [[:Category:Intricate templates]].
</tr>}}
 
{{listen/core
=== Usage ===
|filename    = {{{filename|}}}
 
|title      = {{{title|}}}
When this template is placed on a template's /doc page it can be nice to put it within <code>&lt;includeonly></code> tags so it only gets visible on the template page. The full code for a /doc page top then can look like this:
|description = {{{description|}}}
 
|play        = {{{play|}}}
<pre>
}}  {{#if:{{{filename2|}}}|
{{Documentation subpage}}
{{listen/core
<includeonly>{{intricate template}}</includeonly>
|filename    = {{{filename2|}}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
|title      = {{{title2|}}}
</pre>
|description = {{{description2|}}}
 
|play        = {{{play2|}}}
=== See also ===
}}}}{{#if:{{{filename3|}}}|
 
{{listen/core
* {{tl|high-use}} – This template can be put in the documentation for any high-use template.
|filename    = {{{filename3|}}}
 
|title      = {{{title3|}}}
<includeonly>
|description = {{{description3|}}}
<!-- ADD CATEGORIES BELOW THIS LINE -->
|play        = {{{play3|}}}
[[Category:Template namespace templates|{{PAGENAME}}]]
}}}}{{#if:{{{filename4|}}}|
<!-- ADD INTERWIKIS BELOW THIS LINE -->
{{listen/core
[[bg:Шаблон:Esoteric]]
|filename    = {{{filename4|}}}
[[cs:Šablona:Esoteric]]
|title      = {{{title4|}}}
[[da:Skabelon:Komplicert skabelon]]
|description = {{{description4|}}}
[[es:Plantilla:Esotérica]]
|play        = {{{play4|}}}
[[eo:Ŝablono:Esotera]]
}}}}{{#if:{{{filename5|}}}|
[[fr:Modèle:Ésotérique]]
{{listen/core
[[ia:Patrono:Esoteric]]
|filename    = {{{filename5|}}}
[[ja:Template:複雑なテンプレート]]
|title      = {{{title5|}}}
[[ka:თარგი:Esoteric]]
|description = {{{description5|}}}
[[ko:틀:복잡]]
|play        = {{{play5|}}}
[[mk:Шаблон:Сложен шаблон]]
}}}}{{#if:{{{filename6|}}}|
[[no:Mal:Komplisert mal]]
{{listen/core
[[pt:Predefinição:Predefinições complexas]]
|filename    = {{{filename6|}}}
[[ro:Format:Ezoteric]]
|title      = {{{title6|}}}
[[ru:Шаблон:Эзотерика]]
|description = {{{description6|}}}
[[sl:Predloga:Esoteric]]
|play        = {{{play6|}}}
[[sv:Mall:Komplicerad kod]]
}}}}{{#if:{{{filename7|}}}|
[[uk:Шаблон:Esoteric]]
{{listen/core
[[ur:سانچہ:مخفی]]
|filename    = {{{filename7|}}}
[[wuu:Template:Esoteric]]
|title      = {{{title7|}}}
[[zh:Template:Esoteric]]
|description = {{{description7|}}}
[[zh-classical:Template:Esoteric]]
|play        = {{{play7|}}}
[[zh-yue:Template:祕技]]
}}}}{{#if:{{{filename8|}}}|
</includeonly>
{{listen/core
|filename    = {{{filename8|}}}
|title      = {{{title8|}}}
|description = {{{description8|}}}
|play        = {{{play8|}}}
}}}}{{#if:{{{filename9|}}}|
{{listen/core
|filename    = {{{filename9|}}}
|title      = {{{title9|}}}
|description = {{{description9|}}}
|play        = {{{play9|}}}
}}}}{{#if:{{{filename10|}}}|
{{listen/core
|filename    = {{{filename10|}}}
|title      = {{{title10|}}}
|description = {{{description10|}}}
|play        = {{{play10|}}}
}}}}</table>
|below = {{#ifeq:{{{plain|}}}|yes||{{#ifeq:{{{help|}}}|no||<span style="font-size:smaller;">''Problems listening to {{#if:{{{filename2|}}}{{{filename3|}}}{{{filename4|}}}{{{filename5|}}}{{{filename6|}}}{{{filename7|}}}{{{filename8|}}}{{{filename9|}}}{{{filename10|}}}|these files|this file}}? See [[Wikipedia:Media help|media help]].''</span>}}}}
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 15:12, 3 February 2009

This is the {{intricate template}} message box.

{{intricate}} redirects here and can be used as alternative name 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.

This template adds templates to Category:Intricate templates.

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 -->

See also

  • {{high-use}} – This template can be put in the documentation for any high-use template.