Jump to content

Template:Marvel Cinematic Universe/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
mNo edit summary
mNo edit summary
Line 41: Line 41:
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Marvel Cinematic Universe templates| ]]
[[Category:Marvel Cinematic Universe templates|*]]
[[Category:Disney franchises navigational boxes]]
[[Category:Disney franchises navigational boxes]]
[[Category:Franchise navigational boxes]]
[[Category:Franchise navigational boxes]]

Revision as of 19:50, 25 November 2020

Summary

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{Marvel Cinematic Universe|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Marvel Cinematic Universe|state=expanded}} will show the template expanded, i.e. fully visible.
How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
  • Films, TV series, Other, Cast, Music, Inspired
  • For example: {{Marvel Cinematic Universe/doc |Films}}

Template data

Navbox used on articles associated with the Marvel Cinematic Universe

Template parameters

ParameterDescriptionTypeStatus
statestate

To determined the overall collapsed state of the navbox

Stringoptional
selectedselected

To determine the collapsed state of a specific group in the navbox

Stringoptional

See also