Jump to content

Template:Marvel Cinematic Universe/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
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]]) -->
==Summary==

{{collapsible option}}
{{collapsible option}}
{{Collapsible sections option
{{Collapsible sections option
Line 11: Line 11:
{{Marvel Cinematic Universe|selected=Films|state=expanded}}
{{Marvel Cinematic Universe|selected=Films|state=expanded}}


==Template data==
<templatedata>
<templatedata>
{
{
Line 34: Line 35:
}
}
</templatedata>
</templatedata>

==See also==
* {{tl|Marvel Cinematic Universe drafts}} - navbox for MCU-related articles in the [[WP:DRAFTS|drafts space]]


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||

Revision as of 17:50, 22 April 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