Difference between revisions of "Template:Comics sidebar"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(later image)
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.)
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:Saturday Evening Post 1943-01-02.jpg|160px]]}}
+
| topimage    = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize|}}}|200px}}]]|[[File:Fantastic_Comics_1.jpg|160px]]}}
| topcaption  = {{{caption|Saturday Evening Post cover, January 2, 1943}}}
+
| topcaption  = {{{caption|Cover of Fantastic Comics #1 (1939)}}}
  
 
| title        = [[Comics]]
 
| title        = [[Comics]]

Revision as of 12:52, 26 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!"
}}