Difference between revisions of "Template:Comics sidebar"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(default topimage and caption)
imported>Paine Ellsworth
(later image)
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:Caricature gillray plumpudding.jpg|220px]]}}
+
| topimage    = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize|}}}|200px}}]]|[[File:Saturday Evening Post 1943-01-02.jpg|160px]]}}
| topcaption  = {{{caption|''[[The Plumb-pudding in danger]]'' (1805)}}}
+
| topcaption  = {{{caption|Saturday Evening Post cover, January 2, 1943}}}
  
 
| title        = [[Comics]]
 
| title        = [[Comics]]

Revision as of 19:29, 3 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!"
}}