Tolkien Gateway

Template:Letter infobox

(Difference between revisions)
m (Re-categorised)
m (Trying to fix this mess)
Line 9: Line 9:
 
<tr style="font-size: 80%;"><td style="vertical-align: top;">Date</td><td>{{{date|''Unknown''}}}</td></tr>
 
<tr style="font-size: 80%;"><td style="vertical-align: top;">Date</td><td>{{{date|''Unknown''}}}</td></tr>
 
{{#if: {{{subject|}}} | <tr style="font-size: 80%;"><td style="vertical-align: top;">Subject(s)</td><td>{{{subject}}}</td></tr> | }}
 
{{#if: {{{subject|}}} | <tr style="font-size: 80%;"><td style="vertical-align: top;">Subject(s)</td><td>{{{subject}}}</td></tr> | }}
</table>
+
</table></td></tr></table>
  
 
<noinclude>
 
<noinclude>

Revision as of 20:25, 5 September 2010

The Letters of J.R.R. Tolkien
Letter {{{#}}}
RecipientUnknown
DateUnknown


Usage

{{letter infobox
| #=
| to=
| date=
| subject=
}}
  • {{{#}}} -- the number of the letter. Required.
  • {{{to}}} -- the recipient of the letter. Defaults to Unknown.
  • {{{date}}} -- the date of the letter. Defaults to Unknown.
  • {{{subject}}} -- intended to be a list of keyword links, e.g. "[[War]]<br />[[The Lord of the Rings]]<br />[[Boromir]]" for Letter 66. Optional.
  • 'Previous' and 'Next' links are automatically generated at the bottom of the infobox from {{{#}}}.