Difference between revisions of "Template:Fiction"

From Disobiki
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><div class="infobox fiction" style="margin-top: -2px;">
 
<includeonly><div class="infobox fiction" style="margin-top: -2px;">
 
[[File:Help.png|link=Template:Fiction#Usage|right]]
 
[[File:Help.png|link=Template:Fiction#Usage|right]]
<div class="title">{{{Title|{{PAGENAME}}}}}</div>
+
<div class="title">{{{name|{{BASEPAGENAME}}}}}</div>
 
{|
 
{|
 
|-
 
|-
Line 25: Line 25:
 
}}
 
}}
 
|}
 
|}
{{#if:{{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}px|{{!}}235px}}{{#if:{{{image_link|}}}|{{!}}link={{{image_link}}}}}|center]]{{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}}}
+
{{#if:{{{image|}}}|[[File:{{{image}}}{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}px|{{!}}235px}}{{#if:{{{image_link|}}}|{{!}}link={{{image_link}}}}}|center]]{{#if:{{{image_caption|}}}|<br />{{{image_caption}}}}}}}</div>{{#if:{{{teaser|}}}|<div style="border:1px solid #b5b7cf; background-color:#eff0ff; font-family:Georgia; font-size:120%; font-style:italic; line-height:150%; margin:auto auto 1em; padding:0.2em; text-align:center;">{{{teaser}}}</div>}}{{AutoDEFAULTSORT}}</includeonly><noinclude>
</div>{{#if:{{{recap|}}}|<div style="border:1px solid #b5b7cf; background-color:#eff0ff; font-family:Georgia; font-size:120%; font-style:italic; line-height:150%; margin:auto; padding:0.2em; text-align:center;">{{{recap}}}</div>}}</includeonly><noinclude>
 
 
Use this template to summarize information about a piece of fiction.
 
Use this template to summarize information about a piece of fiction.
  
Line 33: Line 32:
 
<pre>
 
<pre>
 
{{Fiction
 
{{Fiction
| name          =  
+
| name          =
| author        =
 
| genre          =
 
| rating        =
 
| frequency      =
 
| image          =
 
| image_link    =
 
| image_size    =
 
| image_caption  =
 
| recap          =
 
}}</pre>
 
 
 
<pre>
 
{{Fiction
 
 
| author        = [[User:Morbus Iff|Morbus Iff]]
 
| author        = [[User:Morbus Iff|Morbus Iff]]
 
| genre          = Fantasy, Humor, Mystery
 
| genre          = Fantasy, Humor, Mystery
Line 54: Line 40:
 
| image_link    = http://tpdonline.wordpress.com/
 
| image_link    = http://tpdonline.wordpress.com/
 
| image_size    = 160
 
| image_size    = 160
| recap          = Last week we were introduced to...
+
| image_caption  =
 +
| teaser        = Last week we were introduced to...
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 08:12, 14 August 2010

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

Usage

{{Fiction
| name           =
| author         = [[User:Morbus Iff|Morbus Iff]]
| genre          = Fantasy, Humor, Mystery
| rating         = PG-13
| frequency      = Weekly
| image          = The Penny Dreadful.jpg
| image_link     = http://tpdonline.wordpress.com/
| image_size     = 160
| image_caption  =
| teaser         = Last week we were introduced to...
}}