Difference between revisions of "Template:Comics sidebar"
Jump to navigation
Jump to search
imported>18jellyfish (box was too wide) |
imported>TonyTheTiger (adding {{collapsible option}} and/or {{{state}}}) |
||
| Line 5: | Line 5: | ||
| topcaption = {{{caption|}}} | | topcaption = {{{caption|}}} | ||
| title = [[Comics]] | | title = [[Comics]] | ||
| + | | state = {{{state|autocollapse}}} | ||
| image = [[File:Speech balloon.svg|50px]] [[File:Speech balloon.svg|50px]] [[File:Speech balloon.svg|50px]] | | image = [[File:Speech balloon.svg|50px]] [[File:Speech balloon.svg|50px]] [[File:Speech balloon.svg|50px]] | ||
| titlestyle = background:antiquewhite; | | titlestyle = background:antiquewhite; | ||
| Line 40: | Line 41: | ||
<!-- end Sidebar -->}}<noinclude> | <!-- end Sidebar -->}}<noinclude> | ||
| + | {{collapsible option}} | ||
{{documentation}} | {{documentation}} | ||
[[Category:Comics navigational boxes]] | [[Category:Comics navigational boxes]] | ||
</noinclude> | </noinclude> | ||
Revision as of 04:47, 1 October 2012
| Comics |
|---|
| Comics studies |
| Technique |
| Media |
| Community |
|
|
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Comics sidebar|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Comics sidebar|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Comics sidebar|state=autocollapse}}
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.
This template is designed to be used for articles about general topics related to comics.
![]() Wikipe-tan says, "Use this template on pages on general topics about comics!" |
| Comics |
|---|
| Comics studies |
| Technique |
| Media |
| Community |
|
|
Usage
{{Comics sidebar
<!--Wikipedia:WikiProject Comics-->
|title =
|image = <!-- filename and descriptor only e.g. image.jpg -->
|imagesize = <!-- defaults to 200px -->
|caption = <!-- image caption -->
<!-- end {{Comics sidebar}} -->}}
All parameters are optional.
- |title
- The title of the article page.
- |image
- An optional image to decorate the box.
- |imagesize
- An optional parameter to adjust the size of the image in the box. Defaults to 200px.
- |caption
- A descriptive caption for the image, if any.
Example usage
{{Comics sidebar
|title = Comics sidebar
|image = Wikipe-tan shocked cropped.png
|imagesize =
|caption = Wikipe-tan says, "Use this template on pages on ''general topics'' about comics!"
}}
| The above documentation is transcluded from Template:Comics sidebar/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
