Difference between revisions of "Template:Abuse/doc"

From blackwiki
Jump to navigation Jump to search
(Not a "Part of a series on" template?)
m (19 revisions imported)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
  
 
This is the {{tl|Abuse}} template.
 
This is the {{tl|Abuse}} template.
  
The template currently lists a limited number of abuse types. The number of abuse types listed must not exceed 15 without a consensus being reached on [[Template talk:Abuse]] about how to approach any expansion (for example, whether to expand, how far to expand, whether to categorise into subtypes and if so what subtypes).  
+
The template currently lists a limited number of abuse types. The number of abuse types listed must not exceed 22 without a consensus being reached on [[Template talk:Abuse]] about how to approach any expansion (for example, whether to expand, how far to expand, whether to categorise into subtypes and if so what subtypes).  
 +
 
 +
{{collapsible option |statename=optional}}
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Template documentation| ]]
 
 
[[Category:Society and social science templates]]
 
[[Category:Society and social science templates]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
  
 
</includeonly>
 
</includeonly>

Latest revision as of 15:47, 16 October 2020

This is the {{Abuse}} template.

The template currently lists a limited number of abuse types. The number of abuse types listed must not exceed 22 without a consensus being reached on Template talk:Abuse about how to approach any expansion (for example, whether to expand, how far to expand, whether to categorise into subtypes and if so what subtypes).

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Abuse|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Abuse|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Abuse|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 autocollapse.