Jump to content

Template:Social democracy/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
create /doc page for protected template
 
document the collapsible option
 
Line 4: Line 4:
{{caution|{{tl|Social democracy sidebar}} exists as an alternate version of this template. Any content changes made here should be made there as well.}}
{{caution|{{tl|Social democracy sidebar}} exists as an alternate version of this template. Any content changes made here should be made there as well.}}
* For Commonwealth spelling ("organisations" as opposed to "organizations") use <code>sp=uk</code>.
* For Commonwealth spelling ("organisations" as opposed to "organizations") use <code>sp=uk</code>.

{{Collapsible option|default=collapsed}}


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Latest revision as of 19:27, 18 December 2022

Usage

[edit]
  • For Commonwealth spelling ("organisations" as opposed to "organizations") use sp=uk.

This template's initial visibility currently defaults to collapsed, meaning that it is hidden apart from its title bar.

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

  • {{Social democracy|state=expanded}} will show the template expanded, i.e. fully visible.
  • {{Social democracy|state=autocollapse}} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.