Difference between revisions of "Template:Fiction"

From Disobiki
Jump to navigation Jump to search
Line 23: Line 23:
 
}}
 
}}
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
! style="font-size:85%; line-height:1.25em; text-align:center;" colspan="2" {{!}} [[Image:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}px|200px}}|{{#if:{{{image_link|}}}|link={{{image_link}}}|]] {{#if:{{{caption|}}}|<br />{{{caption}}}}}
+
! style="font-size:85%; line-height:1.25em; text-align:center;" colspan="2" {{!}} [[Image:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}px|200px}}|{{#if:{{{image_link|}}}|link={{{image_link}}}}}|]] {{#if:{{{caption|}}}|<br />{{{caption}}}}}
 
}}
 
}}
 
|}__NOTOC__</includeonly><noinclude>
 
|}__NOTOC__</includeonly><noinclude>

Revision as of 08:17, 16 April 2010

Use this template to summarize information about a piece of fiction.

Usage

{{Fiction
| name           = 
| author         = 
| genre          =
| rating         =
| frequency      =
| image          = 
| image_size     = 
| caption        = 
}}

Parameters

Note: * denotes required fields.

Parameter Explanation
name * The full common name of the fiction. (defaults to {{PAGENAME}} if empty).
author The linked name(s) of the author(s), separated with <br />.
genre The genre(s) of the fiction, separated with commas.
rating The rating of the fiction (PG-13, R, etc.).
frequency The frequency of the fiction.
image A relevant image for the fiction.
image_size Image width (defaults to 200px if empty).
caption Image caption, which should tell more about the image.