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

From blackwiki
Jump to navigation Jump to search
imported>Kephir
imported>Funandtrvl
(fix code)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
 
This is the {{tl|intricate template}} message box. {{tl|intricate}} redirects here and can be used as alternative name for this template.
 
This is the {{tl|intricate template}} message box. {{tl|intricate}} redirects here and can be used as alternative name for this template.
Line 10: Line 10:
 
This template adds templates to [[:Category:Intricate templates]].
 
This template adds templates to [[:Category:Intricate templates]].
  
=== Usage ===
+
== Usage ==
  
 
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:
 
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:
Line 19: Line 19:
 
</pre>
 
</pre>
  
=== See also ===
+
== See also ==
 
 
 
* {{tl|high-risk}} – This template can be put in the documentation for the most high-use (high-risk) templates.
 
* {{tl|high-risk}} – This template can be put in the documentation for the most high-use (high-risk) templates.
 
* {{tl|high-use}} – For the slightly less high-risk templates.
 
* {{tl|high-use}} – For the slightly less high-risk templates.
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Template namespace templates|{{PAGENAME}}]]
+
[[Category:Template namespace templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
+
}}</includeonly>
</includeonly>
 

Revision as of 22:33, 12 July 2016

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.

Actually, this template's syntax is relatively simple.

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}}</includeonly>

See also

  • {{high-risk}} – This template can be put in the documentation for the most high-use (high-risk) templates.
  • {{high-use}} – For the slightly less high-risk templates.