Template:Marvel Cinematic Universe/doc: Difference between revisions
Appearance
Content deleted Content added
create /doc page |
update abbreviations. |
||
(15 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
<!-- 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 |
|||
| list = Studios, Television, Other, Cast, Music, Inspired |
|||
| example = Studios |
|||
| default = <!--(optional)--> |
|||
}} |
|||
{{Marvel Cinematic Universe|selected=Studios|state=expanded}} |
|||
==Template data== |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
"description": "Navbox used on articles associated with the Marvel Cinematic Universe", |
|||
"params": { |
"params": { |
||
"state": { |
"state": { |
||
"label": "state", |
|||
"type": "string", |
|||
"required": false, |
|||
"suggested": false, |
|||
"deprecated": false, |
|||
"description": "To determined the overall collapsed state of the navbox" |
|||
}, |
|||
"selected": { |
|||
"label": "selected", |
|||
"type": "string", |
|||
"required": false, |
|||
"suggested": false, |
|||
"deprecated": false, |
|||
"description": "To determine the collapsed state of a specific group in the navbox" |
|||
} |
|||
} |
} |
||
} |
} |
||
</templatedata> |
</templatedata> |
||
==See also== |
|||
* {{tl|Marvel Cinematic Universe Phases}} – sidebar template for the MCU Phases and their related lists |
|||
* {{tl|Marvel Cinematic Universe drafts}} – navbox for MCU-related articles in the [[WP:DRAFTS|drafts space]] |
|||
<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 |
[[Category:Marvel Cinematic Universe navigational boxes|*]] |
||
}}</includeonly> |
}}</includeonly> |
Latest revision as of 19:48, 18 November 2024
This is a documentation subpage for Template:Marvel Cinematic Universe. It may contain usage information, categories and other content that is not part of the original template page. |
Summary
[edit]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): Studios, Television, Other, Cast, Music, Inspired
- For example:
{{Marvel Cinematic Universe/doc |Studios}}
Template data
[edit]Navbox used on articles associated with the Marvel Cinematic Universe
Parameter | Description | Type | Status | |
---|---|---|---|---|
state | state | To determined the overall collapsed state of the navbox | String | optional |
selected | selected | To determine the collapsed state of a specific group in the navbox | String | optional |
See also
[edit]- {{Marvel Cinematic Universe Phases}} – sidebar template for the MCU Phases and their related lists
- {{Marvel Cinematic Universe drafts}} – navbox for MCU-related articles in the drafts space