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
(demonstrate navbox variant of this template)
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 option ==
 +
{{tlx|History of Bengal|bar{{=}}no}}
 +
 
 +
:renders as:
 +
 
 +
{{History of Bengal|bar=no}}
 +
 
 
== 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}}

Revision as of 10:16, 11 October 2020

Navbox option

{{History of Bengal|bar=no}}

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