Difference between revisions of "Template:Energy templates/doc"

From blackwiki
Jump to navigation Jump to search
imported>Teratornis
(→‎See also: add links to WP:EIW#Ambox, WP:EIW#Messageboxes, WP:EIW#Series - information about various types of templates)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
  
=== Usage ===
+
{{Warning |'''''Do not use this template in [[WP:WIAA|articles]]''''', as it would constitute an improper [[WP:SELFREF|self-reference]] to the internal workings of Wikipedia.}}
  
 
This template is for adding to the "See also" sections of the [[WP:DOC|documentation subpages]] of [[:Category:Energy templates|Energy templates]]. This template is unlikely to be useful anywhere else.
 
This template is for adding to the "See also" sections of the [[WP:DOC|documentation subpages]] of [[:Category:Energy templates|Energy templates]]. This template is unlikely to be useful anywhere else.
  
=== Do not use in articles ===
+
{{Collapsible option |statename=optional |default=collapsed}}
{{Warning|Do not use this template in [[WP:WIAA|articles]], as it would constitute an improper [[WP:SELFREF|self-reference]] to the internal workings of Wikipedia.}}
 
  
=== See also ===
+
===See also===
 +
* {{tl|Google templates}}, a similar template for [[Google]]-related templates' documentation.
 +
* Information about [[WP:EIW#Messageboxes|messagebox]] and [[WP:EIW#Ambox|ambox]] templates.
 +
* Information about [[WP:EIW#Infobox|infobox]], [[WP:EIW#Series|navigation ("navbox")]] and [[WP:EIW#Userbox|userbox]] templates.
  
*{{Tl|Google templates}} - a similar template for the documentation subpages of templates relating to [[Google]].
+
<includeonly>{{Sandbox other||
* General information about templates:
+
<!-- CATEGORIES BELOW THIS LINE, PLEASE: -->
**[[WP:EIW#Ambox]], [[WP:EIW#Messageboxes]] - messagebox templates
+
[[Category:Energy templates| ]]
**[[WP:EIW#Infobox]] - infobox templates
+
}}</includeonly>
**[[WP:EIW#Series]] - navigation templates
 
**[[WP:EIW#Userbox]] - userbox templates
 
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Energy templates|{{PAGENAME}}]]
 
</includeonly>
 

Latest revision as of 01:28, 25 April 2020

This template is for adding to the "See also" sections of the documentation subpages of Energy templates. This template is unlikely to be useful anywhere else.

Initial visibility: currently defaults to collapsed

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Energy templates|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Energy templates|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Energy templates|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.

See also