Difference between revisions of "Template:El Salvador topics"

From blackwiki
Jump to navigation Jump to search
(state handling, bodyclass, flagcountry, image sizes, no unlinked list text, more generic group2 title (with consequent list2 update), lowercase sublist (in list3))
(fremoved flag from title as it's already one of the images)
Line 3: Line 3:
 
|state = {{{1|{{{state|}}}}}}
 
|state = {{{1|{{{state|}}}}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
|title = {{flagcountry|El Salvador}} [[List of El Salvador-related topics|topics]]
+
|title = [[El Salvador]] [[List of El Salvador-related topics|topics]]
 
|image = [[Image:Coats of arms of El Salvador.svg|80px|Coat of arms of El Salvador]] <div style="padding-top:1.0em;">[[Image:Flag of El Salvador.svg|border|80px|Flag of El Salvador]]</div>
 
|image = [[Image:Coats of arms of El Salvador.svg|80px|Coat of arms of El Salvador]] <div style="padding-top:1.0em;">[[Image:Flag of El Salvador.svg|border|80px|Flag of El Salvador]]</div>
  

Revision as of 09:46, 25 November 2012


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{El Salvador topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{El Salvador topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{El Salvador topics|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. Note: It's now possible to omit the "state=".