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

From blackwiki
Jump to navigation Jump to search
(Blanked the page)
imported>Primefac
(Undid revision 705917422 by 39.52.210.118 (talk) rvt vandalism)
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 parameters <code>horiz</code> or <code>horizontal</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>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Film country list navigational boxes|Bollywood Films, List Of]]
 +
[[Category:Indian cinema templates]]
 +
}}</includeonly>

Revision as of 06:21, 22 February 2016

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 parameters horiz or horizontal, 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.