Difference between revisions of "Template:Bollywood films/doc"

From blackwiki
Jump to navigation Jump to search
(Blanked the page)
imported>Andrybak
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Documentation subpage}}
 +
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
== Usage ==
 +
This template is for listing Bollywood films and cinema information.
  
 +
== Display ==
 +
There is a vertical display and a horizontal display, depending on desired usage. The default is to have a vertical sidebar listing each year in the Bollywood film industry.
 +
 +
The unnamed parameter <code>horiz</code>, and the named parameter <code>horiz=</code>, will result in a horizontal navigation bar being displayed.
 +
 +
===Horizontal version===
 +
{{Bollywood films|horiz}}
 +
 +
{{collapsible option}}
 +
<includeonly>{{Sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Film country list sidebar templates|Bollywood Films, List Of]]
 +
[[Category:Indian cinema templates]]
 +
[[Category:India sidebar templates]]
 +
}}</includeonly>

Latest revision as of 19:30, 24 October 2020

Usage

This template is for listing Bollywood films and cinema information.

Display

There is a vertical display and a horizontal display, depending on desired usage. The default is to have a vertical sidebar listing each year in the Bollywood film industry.

The unnamed parameter horiz, and the named parameter horiz=, will result in a horizontal navigation bar being displayed.

Horizontal version

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Bollywood films|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Bollywood films|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Bollywood films|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.