Template:Chapter: Difference between revisions

From Tolkien Gateway
m (That's nicer)
m (Fixed a typo in the template)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width: 252px; background: #F0F0F0;; border-collapse: collapse; border: 1px solid Navy; font-size: 80%; line-height:1.5; clear:right;"> {{t|1=<tr><th colspan="2" style="padding: 0; color: white; background: Navy;">[[File:{{{image}}}|250px]]</th></tr>|1{{{image|}}}=}} {{t|1=<tr><th colspan="2" style="background: Navy; color: white; font-size: 120%;">{{{title}}}</th></tr>|1{{{title|}}}=}} {{t|1=<tr><th colspan="2" style="background: SkyBlue;">Chapter of ''[[{{{book}}}]]''</th></tr>|1{{{book|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Number</td><td>{{{number}}}</td></tr>|1{{{number|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Length&nbsp;(paras)</td><td>{{{length}}}</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Date&nbsp;written</td><td>{{{written}}}</td></tr>|1{{{written|}}}=}} {{t|1=<tr><th colspan="2" style="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;">[[Image:{{{map}}}|250px]]</td></tr>|1{{{map|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Event</td><td>{{{event}}}</td></tr>|1{{{event|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Date</td><td>{{{date}}}</td></tr>|1{{{date|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Perspective</td><td>{{{perspective}}}</td></tr>|1{{{perspective|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; color: Black; background: SkyBlue;">'''Navigation'''</th></tr>|1{{{next|}}}{{{previous|}}}=}} {{t|1=<tr style="vertical-align: top; text-align: left;"><td colspan="2">[[{{{previous}}}|'''<span style="color:black"><</span>'''&nbsp;&nbsp;&nbsp;{{{previous}}}]]</td></tr>|1{{{previous|}}}=}} {{t|1=<tr style="vertical-align: top; text-align: right;"><td colspan="2">[[{{{next}}}|{{{next}}}&nbsp;&nbsp;&nbsp;'''<span style="color:black">></span>''']]</td></tr>|1{{{next|}}}=}}</table></includeonly><noinclude>
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width: 252px; background: #F0F0F0;; border-collapse: collapse; border: 1px solid Navy; font-size: 80%; line-height:1.5; clear:right;"> {{t|1=<tr><th colspan="2" style="padding: 0; color: white; background: Navy;">[[File:{{{image}}}|250px]]</th></tr>|1{{{image|}}}=}} {{t|1=<tr><th colspan="2" style="background: Navy; color: white; font-size: 120%;">{{{title}}}</th></tr>|1{{{title|}}}=}} {{t|1=<tr><th colspan="2" style="background: Navy; padding: 0; color: white;">Chapter of ''[[{{{book}}}|<span style="color:white">{{{book}}}</span>]]''</th></tr>|1{{{book|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Number</td><td>{{{number}}}</td></tr>|1{{{number|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Length&nbsp;(paras)</td><td>{{{length}}}</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Date&nbsp;written</td><td>{{{written}}}</td></tr>|1{{{written|}}}=}} {{t|1=<tr><th colspan="2" style="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;">[[Image:{{{map}}}|250px]]</td></tr>|1{{{map|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Event</td><td>{{{event}}}</td></tr>|1{{{event|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Date</td><td>{{{date}}}</td></tr>|1{{{date|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td>Perspective</td><td>{{{perspective}}}</td></tr>|1{{{perspective|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; color: Black; background: SkyBlue;">'''Navigation'''</th></tr>|1{{{next|}}}{{{previous|}}}=}} {{t|1=<tr style="vertical-align: top; text-align: left;"><td colspan="2">[[{{{previous}}}|'''<span style="color:black"><</span>'''&nbsp;&nbsp;{{{previous}}}]]</td></tr>|1{{{previous|}}}=}} {{t|1=<tr style="vertical-align: top; text-align: right;"><td colspan="2">[[{{{next}}}|{{{next}}}&nbsp;&nbsp;'''<span style="color:black">></span>''']]</td></tr>|1{{{next|}}}=}}</table></includeonly><noinclude>
==Usage==
==Usage==
{{chapter
{{chapter

Revision as of 12:11, 3 February 2018

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
| image=
| title=
| book=
| number=
| length=
| written=
| map=
| event=
| date=
| location=
| perspective=
| previous=
| next=
}}