Template:Graphics file formats: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
* [[JPEG XT]] |
* [[JPEG XT]] |
||
** [[JPEG-HDR]] |
** [[JPEG-HDR]] |
||
* [[JPEG XL]] |
|||
* [[Krita | KRA]] |
* [[Krita | KRA]] |
||
* [[Multiple-image Network Graphics | MNG]] |
* [[Multiple-image Network Graphics | MNG]] |
Revision as of 18:58, 4 April 2020
Usage
The folllowing optional parameter is available.
state
– controls when this template is expanded or collapsed.
Parameter list
Using
{{Graphics file formats | state = expanded}}
returns the navigation box shown at the top of this page. The state=
parameter has the following values
- state* [
autocollapse, collapsed, expanded, plain, off
]
- Defaults to
autocollapse
. A navbox withautocollapse
will start out collapsed if there are two or more collapsible elements on the same page. Otherwise, the navbox will be expanded. For the technically minded, see MediaWiki:Common.js (search for "autocollapse"). - If set to
collapsed
, the navbox will always start out in a collapsed state. - If set to
expanded
, the navbox will always start out in an expanded state. - If set to
plain
, the navbox will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the V • T • E links). - If set to
off
, the navbox will always be expanded with no [hide] link on the right, but no padding will be used to keep the title centered. This is for advanced use only; the "plain" option should suffice for most applications where the [show]/[hide] button needs to be hidden.
- state* [