Difference between revisions of "Template:DRA topics"

From blackwiki
Jump to navigation Jump to search
imported>CentreLeftRight
(Per MOS:DOB.)
imported>CentreLeftRight
(Shade of red and yellow should match the PDP's/DRA's not the Soviet Union's.)
 
Line 4: Line 4:
 
| border    = {{{border|}}}
 
| border    = {{{border|}}}
 
| image = {{portal|Afghanistan}}
 
| image = {{portal|Afghanistan}}
| title    = [[Democratic Republic of Afghanistan|{{color|#F8B800|Democratic Republic of Afghanistan}}]]
+
| title    = [[Democratic Republic of Afghanistan|{{color|#FCDD09|Democratic Republic of Afghanistan}}]]
 
| bodyclass = hlist
 
| bodyclass = hlist
| basestyle = background:#CC0000; color:#F8B800;<!--USSR flag's yellow-->
+
| basestyle = background:#DA121A; color:#FCDD09;
  
 
| group1 = History
 
| group1 = History
Line 50: Line 50:
  
 
| below =  
 
| below =  
* '''{{Icon|Category}} [[:Category:Afghanistan|{{color|#F8B800|Category}}]]'''
+
* '''{{Icon|Category}} [[:Category:Afghanistan|{{color|#FCDD09|Category}}]]'''
* '''{{Icon|Book}} [[Book:Afghanistan|{{color|#F8B800|Book}}]]'''
+
* '''{{Icon|Book}} [[Book:Afghanistan|{{color|#FCDD09|Book}}]]'''
* '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Afghanistan|{{color|#F8B800|WikiProject}}]]'''
+
* '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Afghanistan|{{color|#FCDD09|WikiProject}}]]'''
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation|content=
 
{{Documentation|content=

Latest revision as of 08:03, 8 December 2020

50px Template documentation

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.