Difference between revisions of "Template:Indonesia Presidents"

From blackwiki
Jump to navigation Jump to search
imported>Flix11
(fix)
imported>SimplyFreddie
 
Line 4: Line 4:
 
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| image = [[File:Indonesian Presidential Seal gold.svg|70px]]
 
| image = [[File:Indonesian Presidential Seal gold.svg|70px]]
  |list1style = text-align:left; white-space:nowrap; padding-top:.3em; padding-bottom:.6em;
+
| bodyclass = hlist
 
  |list1 =  
 
  |list1 =  
  {{colbegin|colwidth=18em|content=
+
* [[Sukarno]]
# [[Sukarno]]
+
* [[Suharto]]
# [[Suharto]]
+
* [[B. J. Habibie]]
# [[B. J. Habibie]]
+
* [[Abdurrahman Wahid]]
# [[Abdurrahman Wahid]]
+
* [[Megawati Sukarnoputri]]
# [[Megawati Sukarnoputri]]
+
* [[Susilo Bambang Yudhoyono]]
# [[Susilo Bambang Yudhoyono]]
+
* [[Joko Widodo]]
# [[Joko Widodo]]
 
  }}
 
 
  |belowclass = hlist
 
  |belowclass = hlist
 
  |belowstyle = font-weight:bold;
 
  |belowstyle = font-weight:bold;

Latest revision as of 12:10, 16 April 2020

Initial visibility: currently defaults to autocollapse

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

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