Difference between revisions of "Template:History of Bengal/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(move categorization from template's page per WP:CAT#T)
imported>Andrybak
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{History of Bengal}}
+
== Navbox variant ==
 +
Use parameter {{para|bar|<var>anything</var>}} with any non-empty value to use the [[Template:Navbox|navbox]] variant of this template:
 +
 
 +
{{tlx|History of Bengal|bar{{=}}no|state{{=}}expanded}}
 +
 
 +
:renders as:
 +
 
 +
{{History of Bengal|bar=no|state=expanded}}
 +
 
 
== Usage ==
 
== Usage ==
 +
 
{{Collapsible lists option
 
{{Collapsible lists option
 
| listnames = {{hlist | Ancient | Classical | Medieval | European | East Bengal | East Pakistan | Bangladesh | Indian Bengal | Calendar | Related}}
 
| listnames = {{hlist | Ancient | Classical | Medieval | European | East Bengal | East Pakistan | Bangladesh | Indian Bengal | Calendar | Related}}

Latest revision as of 10:18, 11 October 2020

Navbox variant

Use parameter |bar=anything with any non-empty value to use the navbox variant of this template:

{{History of Bengal|bar=no|state=expanded}}

renders as:

Usage

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{History of Bengal |expanded=all}} or, if enabled, {{History of Bengal |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{History of Bengal |expanded=listname}} or, if enabled, {{History of Bengal |listname}}
  • …where listname is one of the following (do not include any quotemarks):
    • Ancient
    • Classical
    • Medieval
    • European
    • East Bengal
    • East Pakistan
    • Bangladesh
    • Indian Bengal
    • Calendar
    • Related