Tolkien Gateway

Template:Amonhen

(Difference between revisions)
m (Fixed an error)
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 252px; border-collapse: collapse; font-size: 95%; clear: right;clear:right;"> {{t|1=<tr><th colspan="2" style="text-align: center; background:#339966; font-style: italic;">'''{{{name}}}'''</th></tr>|1{{{name|}}}=}} {{t|1=<tr><td colspan="2" style="font-size: 90%; font-weight: normal; padding: 0; text-align:center;">{{{image}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Editor'''</small></td><td style="border-left: 0;"><small>{{{editor}}}</small></td></tr>|1{{{editor|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Cover&nbsp;artist'''</small></td><td style="border-left: 0;"><small>{{{artist}}}</small></td></tr>|1{{{artist|}}}=}} <tr><td style="border-right: 0; vertical-align: top;"><small>'''Publisher'''</small></td><td style="border-left: 0;"><small>[[The Tolkien Society]]</small></td></tr> {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Printer'''</small></td><td style="border-left: 0;"><small>{{{printer}}}</small></td></tr>|1{{{printer|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Released'''</small></td><td style="border-left: 0;"><small>{{{date}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Format'''</small></td><td style="border-left: 0;"><small>{{{format}}}</small></td></tr>|1{{{format|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Pages'''</small></td><td style="border-left: 0;"><small>{{{pages}}}</small></td></tr>|1{{{pages|}}}=}}  {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''ISSN'''</small></td><td style="border-left: 0;"><small>{{{issn}}}</small></td></tr>|1{{{issn|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Preceded&nbsp;by'''</small></td><td style="border-left: 0; font-style: italic;"><small>{{#switch: {{#expr: {{#explode:{{PAGENAME}}| |2}} - 1}} | 1 = [[Henneth Annun 1]] | #default=[[Amon Hen {{#expr: {{#explode:{{PAGENAME}}| |2}} - 1}}]]}}</small></td></tr>|1{{#ifexpr: {{#expr: {{#explode:{{PAGENAME}}| |2}} - 1}} > 0 |b}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Followed&nbsp;by'''</small></td><td style="border-left: 0; font-style: italic;"><small>[[Amon Hen {{#expr: {{#explode:{{PAGENAME}}| |2}} + 1}}]]</small></td></tr>|1{{#ifexist: Amon Hen {{#expr: {{#explode:{{PAGENAME}}| |2}} + 1}}|b}}=}}</table></includeonly><noinclude>
+
<includeonly><table class="TGtable" border="1" cellpadding="4" style="float: right; margin: 0 0 1em 1em; width: 252px; border-collapse: collapse; font-size: 95%; clear: right;clear:right;"> {{t|1=<tr><th colspan="2" style="text-align: center; background:#339966; font-style: italic; color: #FFFFFF;">'''{{{name}}}'''</th></tr>|1{{{name|}}}=}} {{t|1=<tr><td colspan="2" style="font-size: 90%; font-weight: normal; padding: 0; text-align:center;">{{{image}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Editor'''</small></td><td style="border-left: 0;"><small>{{{editor}}}</small></td></tr>|1{{{editor|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Cover&nbsp;artist'''</small></td><td style="border-left: 0;"><small>{{{artist}}}</small></td></tr>|1{{{artist|}}}=}} <tr><td style="border-right: 0; vertical-align: top;"><small>'''Publisher'''</small></td><td style="border-left: 0;"><small>[[The Tolkien Society]]</small></td></tr> {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Printer'''</small></td><td style="border-left: 0;"><small>{{{printer}}}</small></td></tr>|1{{{printer|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Released'''</small></td><td style="border-left: 0;"><small>{{{date}}}</small></td></tr>|1{{{date|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Format'''</small></td><td style="border-left: 0;"><small>{{{format}}}</small></td></tr>|1{{{format|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Pages'''</small></td><td style="border-left: 0;"><small>{{{pages}}}</small></td></tr>|1{{{pages|}}}=}}  {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''ISSN'''</small></td><td style="border-left: 0;"><small>{{{issn}}}</small></td></tr>|1{{{issn|}}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Preceded&nbsp;by'''</small></td><td style="border-left: 0; font-style: italic;"><small>{{#switch: {{#expr: {{#explode:{{PAGENAME}}| |2}} - 1}} | 1 = [[Henneth Annûn 1]] | #default=[[Amon Hen {{#expr: {{#explode:{{PAGENAME}}| |2}} - 1}}]] | 0 = '''First Issue'''}}</small></td></tr>|1{{#ifexpr: {{#expr: {{#explode:{{PAGENAME}}| |2}} - 1}} > 0 |b}}=}} {{t|1=<tr><td style="border-right: 0; vertical-align: top;"><small>'''Followed&nbsp;by'''</small></td><td style="border-left: 0; font-style: italic;"><small>[[Amon Hen {{#expr: {{#explode:{{PAGENAME}}| |2}} + 1}}]]</small></td></tr>|1{{#ifexist: Amon Hen {{#expr: {{#explode:{{PAGENAME}}| |2}} + 1}}|b}}=}}</table></includeonly><noinclude>
{{clear}}
+
 
{{Amonhen
 
{{Amonhen
 
| name={{{name}}}
 
| name={{{name}}}
Line 11: Line 10:
 
| pages={{{pages}}}
 
| pages={{{pages}}}
 
| issn={{{issn}}}
 
| issn={{{issn}}}
| precededby={{{precededby}}}
 
 
}}
 
}}
 
==Usage==
 
==Usage==
Line 27: Line 25:
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Infobox templates|Amon Hen infobox]]</noinclude>
+
{{DEFAULTSORT:{{PAGENAME}}}}
 +
[[Category:Infobox templates]]</noinclude>

Latest revision as of 18:41, 9 September 2012

{{{name}}}
{{{image}}}
Editor{{{editor}}}
Cover artist{{{artist}}}
PublisherThe Tolkien Society
Printer{{{printer}}}
Released{{{date}}}
Format{{{format}}}
Pages{{{pages}}}
ISSN{{{issn}}}
Followed byAmon Hen 1

[edit] Usage

{{Amonhen
| name=
| image=
| editor=
| artist=
| printer=
| date=
| format=
| pages=
| issn=
}}