Tolkien Gateway

Template:Chapter

(Difference between revisions)
Line 1: Line 1:
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width: 252px; background: #fff; border-collapse: collapse; border: 1px solid Navy; font-size:smaller; line-height:1.5;clear:right;">{{t|1=<tr style="background: Navy; color: SkyBlue; font-size: larger;"><th colspan="2">{{{title}}}</th></tr>|1{{{title|}}}=}} {{t|1=<tr style="text-align: center; background: SkyBlue;"><td colspan="2" style="padding: 0;">{{{image}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr style="text-align: center; background: SkyBlue;"><td colspan="2" style="padding:0;"><small>Chapter of <br/>{{{book}}}</small></td></tr>|1{{{book|}}}=}} {{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Number </td><td>{{{number}}}</td></tr>|1{{{number|}}}=}} {{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td><small>Length in paragraphs</small></td><td>{{{length}}}</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Written ca.</td><td>{{{written}}}</td></tr>|1{{{written|}}}=}}  {{t|1=<tr><th colspan="2" style="text-align: left; font-weight: normal; color: black; background: SkyBlue;">'''Synopsis'''</th></tr>|1{{{event|}}}{{{date|}}}{{{location|}}}{{{perspective|}}}=}} {{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Event</td><td>{{{event}}}</td></tr>|1{{{event|}}}=}} {{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Date</td><td>{{{date}}}</td></tr>|1{{{date|}}}=}} {{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Perspective</td><td>{{{perspective}}}</td></tr>|1{{{perspective|}}}=}} <tr><th colspan="2" style="text-align:left; font-weight:normal; color: Black; background: SkyBlue;">'''Navigation'''</th></tr> <tr style="text-align:center; background: #F0F0F0;"><td><small>{{#if:{{{previous|}}}|''[[{{{previous}}}|Previous]]''|'''None'''}}</small></td><td><small>{{#if:{{{next|}}}|''[[{{{next}}}|Next]]''|'''None'''}}</small></td></tr></table></includeonly><noinclude>
+
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width: 252px; background: #fff; border-collapse: collapse; border: 1px solid Navy; font-size:smaller; line-height:1.5;clear:right;">
 +
{{t|1=<tr style="background: Navy; color: SkyBlue; font-size: larger;"><th colspan="2">{{{title}}}</th></tr>|1{{{title|}}}=}}
 +
{{t|1=<tr style="text-align: center; background: SkyBlue;"><td colspan="2" style="padding: 0;">{{{map}}}</td></tr>|1{{{map|}}}=}}
 +
{{t|1=<tr style="text-align: center; background: SkyBlue;"><td colspan="2" style="padding: 0;">{{{image}}}</td></tr>|1{{{image|}}}=}}  
 +
{{t|1=<tr style="text-align: center; background: SkyBlue;"><td colspan="2" style="padding:0;"><small>Chapter of <br/>{{{book}}}</small></td></tr>|1{{{book|}}}=}}  
 +
 
 +
{{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Number </td><td>{{{number}}}</td></tr>|1{{{number|}}}=}}  
 +
{{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td><small>Length in paragraphs</small></td><td>{{{length}}}</td></tr>|1{{{length|}}}=}}  
 +
{{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Written ca.</td><td>{{{written}}}</td></tr>|1{{{written|}}}=}}   
 +
 
 +
{{t|1=<tr><th colspan="2" style="text-align: left; font-weight: normal; color: black; background: SkyBlue;">'''Synopsis'''</th></tr>|1{{{map|}}}{{{event|}}}{{{date|}}}{{{location|}}}{{{perspective|}}}=}}
 +
{{t|1=<tr style="text-align: center; background: SkyBlue;"><td colspan="2" style="padding: 0;">{{{map}}}</td></tr>|1{{{map|}}}=}}
 +
{{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Event</td><td>{{{event}}}</td></tr>|1{{{event|}}}=}}  
 +
{{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Date</td><td>{{{date}}}</td></tr>|1{{{date|}}}=}}  
 +
{{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}}  
 +
{{t|1=<tr style="vertical-align: top; background: #F0F0F0;"><td>Perspective</td><td>{{{perspective}}}</td></tr>|1{{{perspective|}}}=}}  
 +
 
 +
<tr><th colspan="2" style="text-align:left; font-weight:normal; color: Black; background: SkyBlue;">'''Navigation'''</th></tr> <tr style="text-align:center; background: #F0F0F0;"><td><small>{{#if:{{{previous|}}}|''[[{{{previous}}}|Previous]]''|'''None'''}}</small></td><td><small>{{#if:{{{next|}}}|''[[{{{next}}}|Next]]''|'''None'''}}</small></td></tr></table></includeonly><noinclude>
 
==Usage==
 
==Usage==
 
{{chapter
 
{{chapter
 
| title={{{title}}}
 
| title={{{title}}}
 
| image={{{image}}}
 
| image={{{image}}}
 +
| map={{{map}}}
 
| book={{{book}}}
 
| book={{{book}}}
 
| number={{{number}}}
 
| number={{{number}}}
Line 9: Line 27:
 
| written={{{written}}}
 
| written={{{written}}}
 
| event={{{event}}}
 
| event={{{event}}}
 +
| map={{{map}}}
 
| date={{{date}}}
 
| date={{{date}}}
 
| location={{{location}}}
 
| location={{{location}}}
Line 19: Line 38:
 
| title=
 
| title=
 
| image=
 
| image=
 +
| map=
 
| book=
 
| book=
 
| number=
 
| number=
 
| length=
 
| length=
 
| written=
 
| written=
 +
| map=
 
| event=
 
| event=
 
| date=
 
| date=

Revision as of 19:35, 30 October 2012

Usage

[[File:{{{image}}}|250px]]
{{{title}}}
Chapter of [[{{{book}}}|{{{book}}}]]
Number{{{number}}}
Length (paras){{{length}}}
Date written{{{written}}}
Synopsis
[[Image:{{{map}}}|250px]]
Event{{{event}}}
Date{{{date}}}
Location{{{location}}}
Perspective{{{perspective}}}
Navigation
[[{{{previous}}}|<  {{{previous}}}]]
[[{{{next}}}|{{{next}}}  >]]
{{chapter
| title=
| image=
| map=
| book=
| number=
| length=
| written=
| map=
| event=
| date=
| location=
| perspective=
| previous=
| next=
}}