Difference between revisions of "Template:Fiction"

From Disobiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{| class="infobox" style="font-size:90%; text-align:left; width:20em;" cellspacing="2"
+
<includeonly>{| class="infobox"
! class="summary" style="font-size:110%; text-align:center;" colspan="2" | ''{{{name|{{PAGENAME}}}}}''
+
! class="title" colspan="2" | ''{{{name|{{PAGENAME}}}}}''
 
|-
 
|-
 
{{#if:{{{author|}}}|
 
{{#if:{{{author|}}}|
Line 23: Line 23:
 
}}
 
}}
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
! style="font-size:85%; line-height:1.25em; text-align:center;" colspan="2" {{!}} [[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}px|{{!}}200px}}{{#if:{{{image_link|}}}|{{!}}link={{{image_link}}}}}]] {{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}
+
! colspan="2" {{!}} [[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}px|{{!}}200px}}{{#if:{{{image_link|}}}|{{!}}link={{{image_link}}}}}]] {{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}
 
}}
 
}}
 
|}__NOTOC__</includeonly><noinclude>
 
|}__NOTOC__</includeonly><noinclude>

Revision as of 13:36, 20 April 2010

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

Usage

{{Fiction
| name           = 
| author         = 
| genre          =
| rating         =
| frequency      =
| image          = 
| image_link     =
| image_size     = 
| image_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_link A URL to visit instead of the full-size image itself.
image_size Image width (defaults to 200px if empty).
image_caption Image caption, which should tell more about the image.