Difference between revisions of "Template:Comics sidebar"

From blackwiki
Jump to navigation Jump to search
imported>TSP
(Replace default image with a less surprising one - Nazi imagery and a nude baby seem unnecessarily surprising for an image appearing on multiple pages related to neither of those, when the image could be anything from the whole history of comics (per WP:SURPRISE/WP:OM). Comic book seems at least as relevant to the topic as a general magazine.)
imported>SnowFire
(Boldly remove default topimage - wasn't there a year ago, really pushes down actual content, doesn't really add much and whatever is picked will be wrong in many contexts.)
Line 1: Line 1:
 
<includeonly>{{#invoke:sidebar|sidebar
 
<includeonly>{{#invoke:sidebar|sidebar
 
| outertitle  = {{{title|}}}
 
| outertitle  = {{{title|}}}
| topimage    = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize|}}}|200px}}]]|[[File:Fantastic_Comics_1.jpg|160px]]}}
+
| topimage    = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize|}}}|200px}}]]|}}
| topcaption  = {{{caption|Cover of Fantastic Comics #1 (1939)}}}
+
| topcaption  = {{{caption|}}}
  
 
| title        = [[Comics]]
 
| title        = [[Comics]]
| image        = [[File:Speech balloon.svg|50px]]
+
| image        = [[File:Speech balloon.svg|40px]]  
| caption      = [[Speech balloon]]
+
| caption      = [[Speech balloon]]  
 
| titlestyle  = background:antiquewhite;
 
| titlestyle  = background:antiquewhite;
 
| headingstyle = background:antiquewhite;
 
| headingstyle = background:antiquewhite;
Line 36: Line 36:
 
|content4      =
 
|content4      =
 
* [[American comic book|American comics]]
 
* [[American comic book|American comics]]
* [[Belgian comics]]
+
* [[Bandes dessinées]] <small>([[Belgian comics|Belgium]] / [[Quebec comics|Quebec]])</small>
 
* [[British comics]]
 
* [[British comics]]
 
* [[Canadian comics]]
 
* [[Canadian comics]]
 
* [[Dutch comics]]
 
* [[Dutch comics]]
* [[Franco-Belgian comics]]
 
 
* [[German comics]]
 
* [[German comics]]
 
* [[Italian comics]]
 
* [[Italian comics]]

Revision as of 05:02, 28 June 2019

Template documentation[view] [edit] [history] [purge]

This template is designed to be used for articles about general topics related to comics.

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!"
}}