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

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
(demonstrate navbox variant of this template)
imported>Andrybak
 
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]]) -->
== Navbox option ==
+
== Navbox variant ==
{{tlx|History of Bengal|bar{{=}}no}}
+
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:
 
:renders as:
  
{{History of Bengal|bar=no}}
+
{{History of Bengal|bar=no|state=expanded}}
  
 
== Usage ==
 
== Usage ==

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