Difference between revisions of "Template:DRA topics"

From blackwiki
Jump to navigation Jump to search
imported>Northamerica1000
(layout)
imported>Uanfala
(rm link to Index of Afghanistan-related articles (too generic, unmaintained), format doc)
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}}]] [[Index of Afghanistan-related articles|{{color|#F8B800|topics}}]]  
+
| title    = [[Democratic Republic of Afghanistan|{{color|#F8B800|Democratic Republic of Afghanistan}}]]
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| basestyle = background:#CC0000; color:#F8B800;<!--USSR flag's yellow-->
 
| basestyle = background:#CC0000; color:#F8B800;<!--USSR flag's yellow-->
Line 54: Line 54:
 
* '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Afghanistan|{{color|#F8B800|WikiProject}}]]'''
 
* '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Afghanistan|{{color|#F8B800|WikiProject}}]]'''
 
}}<noinclude>
 
}}<noinclude>
 +
{{Documentation|content=
 
{{collapsible option}}
 
{{collapsible option}}
 
+
}}
 
[[Category:Afghanistan templates|Democratic Republic of Afghanistan]]
 
[[Category:Afghanistan templates|Democratic Republic of Afghanistan]]
 
[[Category:Democratic Republic of Afghanistan|*]]
 
[[Category:Democratic Republic of Afghanistan|*]]
 
[[Category:Soviet–Afghan War|τ]]
 
[[Category:Soviet–Afghan War|τ]]
 
</noinclude>
 
</noinclude>

Revision as of 00:58, 13 December 2019

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.