Difference between revisions of "Template:Fiction"

From Disobiki
Jump to navigation Jump to search
Line 25: Line 25:
 
}}
 
}}
 
|}
 
|}
<div class="navcontainer"><div class="prev">{{#if:{{{previous|}}} | '''[[{{{previous}}}|&#x2190;]]'''<br />[[{{{previous}}}]] | '''&#x2190;'''<br />- }}</div><div class="next">{{#if:{{{next|}}} | '''[[{{{next}}}|&#x2192;]]'''<br />[[{{{next}}}]] | '''&#x2192;'''<br />- }}</div></div>
+
{{#expr: {{{SUBPAGENAME}}} + 1}}
 +
<div class="navcontainer"><div class="prev">{{#if:{{{prev|}}} | '''[[{{{prev}}}|&#x2190;]]'''<br />[[{{{prev}}}]] | '''&#x2190;'''<br />- }}</div><div class="next">{{#if:{{{next|}}} | '''[[{{{next}}}|&#x2192;]]'''<br />[[{{{next}}}]] | '''&#x2192;'''<br />- }}</div></div>
 +
 
 
{{#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:{{{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>
 
</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>

Revision as of 11:04, 22 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  =
| recap          =
}}
{{Fiction
| 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
| recap          = Last week we were introduced to...
}}