Template:Ardayearheader: Difference between revisions
From Tolkien Gateway
m (Testing idea) |
m (New plan) |
||
Line 1: | Line 1: | ||
<table style="float:right; background-color:#f9f9f9; border: 1px solid #aaaaaa;" cellpadding="2" width="350px"> | <table style="float:right; background-color:#f9f9f9; border: 1px solid #aaaaaa;" cellpadding="2" width="350px"> | ||
<tr><td colspan="2" align="center">'''[[Ages of the Children of Ilúvatar]]'''</td></tr> | <tr><td colspan="2" align="center">'''[[Ages of the Children of Ilúvatar]]'''</td></tr> | ||
<tr><td align="right"><small>'''Age:'''</small></td><td><table width="100%"><tr><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|First|'''First Age'''|[[First Age]]}}</td><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Second|'''Second Age'''|[[Second Age]]}}</td><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Third|'''Third Age'''|[[Third Age]]}}</td><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Fourth|'''Fourth Age'''|[[Fourth Age]]}}</td></tr></table></td></tr> | <tr><td align="right"><small>'''Age:'''</small></td><td><table width="100%"><tr><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|First|'''First Age'''|[[First Age]]}}</td><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Second|'''Second Age'''|[[Second Age]]}}</td><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Third|'''Third Age'''|[[Third Age]]}}</td><td align="center">{{#ifeq:{{#explode:{{PAGENAME}}| |0}}|Fourth|'''Fourth Age'''|[[Fourth Age]]}}</td></tr></table></td></tr> | ||
<tr><td align="right"><small>'''Year:'''</small></td><td> | <tr><td align="right" style="line-height:1em;"><small>'''Year of<br/>the Sun:'''</small></td><td> | ||
<table width="100%"><tr> | <table width="100%"><tr> | ||
<td width="14%" align="center">[[ | <td width="14%" align="center">{{#if:|{{#explode:{{{1}}}| |-2}}|[[{{{1}}}|{{#explode:{{{1}}}| |-1}}]]|[[{{#explode:{{PAGENAME}}| |-5}} {{#explode:{{PAGENAME}}| |-4}} {{#explode:{{PAGENAME}}| |-3}} {{#explode:{{PAGENAME}}| |-2}} {{{1}}}|{{{1}}}]]}}</td><td width="14%" align="center">[[Third Age 462|462]]</td><td width="14%" align="center">[[Third Age 480|480]]</td><td width="14%" align="center">'''{{#explode:{{PAGENAME}}| |-1}}'''</td><td width="14%" align="center"> +1 </td><td width="14%" align="center">+2</td><td width="14%" align="center">+3</td> | ||
</tr></table> | </tr></table> | ||
</td></tr> | </td></tr> |
Revision as of 09:58, 20 September 2014
Ages of the Children of Ilúvatar | ||||||||
Age: |
| |||||||
Year of the Sun: |
|
Ardayearheader is the Ardayearheaderth year of the Sun of the [[ ]] of Middle-earth. Notable events in this year include: