Difference between revisions of "Template:DRA topics"

From blackwiki
Jump to navigation Jump to search
(typo; categories correction)
imported>Northamerica1000
(layout)
Line 3: Line 3:
 
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state    = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| border    = {{{border|}}}
 
| border    = {{{border|}}}
 +
| image = {{portal|Afghanistan}}
 
| title    = [[Democratic Republic of Afghanistan|{{color|#F8B800|Democratic Republic of Afghanistan}}]] [[Index of Afghanistan-related articles|{{color|#F8B800|topics}}]]  
 
| title    = [[Democratic Republic of Afghanistan|{{color|#F8B800|Democratic Republic of Afghanistan}}]] [[Index of Afghanistan-related articles|{{color|#F8B800|topics}}]]  
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 51: Line 52:
 
* '''{{Icon|Category}} [[:Category:Afghanistan|{{color|#F8B800|Category}}]]'''
 
* '''{{Icon|Category}} [[:Category:Afghanistan|{{color|#F8B800|Category}}]]'''
 
* '''{{Icon|Book}} [[Book:Afghanistan|{{color|#F8B800|Book}}]]'''
 
* '''{{Icon|Book}} [[Book:Afghanistan|{{color|#F8B800|Book}}]]'''
* '''{{Icon|Portal}} [[Portal:Afghanistan|{{color|#F8B800|Portal}}]]'''
 
 
* '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Afghanistan|{{color|#F8B800|WikiProject}}]]'''
 
* '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Afghanistan|{{color|#F8B800|WikiProject}}]]'''
 
}}<noinclude>
 
}}<noinclude>

Revision as of 13:04, 9 August 2019

Initial visibility: currently defaults to autocollapse

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

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