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:{{{image_caption|}}}|<br />{{{image_caption}}}}}
 
}}
 
}}
 
|}__NOTOC__</includeonly><noinclude>
 
|}__NOTOC__</includeonly><noinclude>
Line 39: Line 39:
 
| image          =  
 
| image          =  
 
| image_size    =  
 
| image_size    =  
| caption        =  
+
| image_caption  =  
 
}}</pre>
 
}}</pre>
  
Line 70: Line 70:
 
| Image width (defaults to 200px if empty).
 
| Image width (defaults to 200px if empty).
 
|-
 
|-
| '''caption'''
+
| '''image_caption'''
 
| Image caption, which should tell more about the image.
 
| Image caption, which should tell more about the image.
 
|}
 
|}

Revision as of 19:59, 19 April 2010

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

Usage

{{Fiction
| name           = 
| author         = 
| genre          =
| rating         =
| frequency      =
| image          = 
| 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_size Image width (defaults to 200px if empty).
image_caption Image caption, which should tell more about the image.