Difference between revisions of "Template:Abuse/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Penbat
m
m (19 revisions imported)
 
(17 intermediate revisions by 9 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 about 15 without a consensus being reached on [[Template talk:Abuse]] about how to approach any expansion (for example whether to expand and whether to categorise into subtypes and if so what subtypes). It is probably not controversial to change the limited selection of abuse types currently in this template to a more representative selection.
+
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:Society and social science templates]]
[[Category:Template documentation| ]]
 
[[Category:Abuse]]
 
[[Category:"Part of a series on" templates|Abuse cases]]
 
 
[[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.