Difference between revisions of "Template:Comics sidebar"

From blackwiki
Jump to navigation Jump to search
imported>CsDix
(category update)
imported>Jackmcbarn
m (cut post-expand include size in half)
Line 1: Line 1:
{{sidebar
+
{{#invoke:sidebar|sidebar
| name        = Comics navbar
 
 
| outertitle  = {{{title|}}}
 
| outertitle  = {{{title|}}}
 
| topimage    = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize|}}}|200px}}]]|}}
 
| topimage    = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imagesize|}}}|{{{imagesize|}}}|200px}}]]|}}

Revision as of 03:31, 11 June 2014

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