Template:Events: Difference between revisions

From Tolkien Gateway
m (Changed width from 250px to 252px)
No edit summary
(4 intermediate revisions by 3 users 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 #4F7942; line-height:1.5; ">{{t|1=<tr><th colspan="2" style="padding: 0; background: #4F7942; color: white; font-weight: normal;">{{{image}}}</th></tr>|1{{{image|}}}=}} {{t|1=<tr style="color: white; background: #4F7942;"><th colspan="2">{{{event|}}}</th></tr>|1{{{event|}}}=}} <tr><th colspan="2" style="font-size: 80%; padding: 0; background: #4F7942; color: white;">Event</th></tr> {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other&nbsp;names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Location</td><td style="font-size: 80%;">{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Date</td><td style="font-size: 80%;">{{{date}}}</td></tr>|1{{{date|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Result</td><td style="font-size: 80%;">{{{result}}}</td></tr>|1{{{result|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Part of</td><td style="font-size: 80%;">{{{partof}}}</td></tr>|1{{{partof|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Participants</td><td style="font-size: 80%;">{{{participants}}}</td></tr>|1{{{participants|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Description</td><td style="font-size: 80%;">{{{description}}}</td></tr>|1{{{description|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">References</td><td style="font-size: 80%;">{{{references}}}</td></tr>|1{{{references|}}}=}}</table></includeonly><noinclude>
<includeonly><table border="0" cellspacing="0" cellpadding="4" class="tginfobox" style="float: right; margin:0 0 .5em 1em; width: background: #F0F0F0; border-collapse: collapse; border:1px solid #4F7942; line-height:1.5;clear:right;">{{t|1=<tr><th colspan="2" style="padding: 0; background: #4F7942; color: white; font-weight: normal;">{{{image}}}</th></tr>|1{{{image|}}}=}} {{t|1=<tr style="color: white; background: #4F7942;"><th colspan="2">{{{event|}}}</th></tr>|1{{{event|}}}=}} <tr><th colspan="2" style="font-size: 80%; padding: 0; background: #4F7942; color: white;">Event</th></tr> {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other&nbsp;names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Location</td><td style="font-size: 80%;">{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Date</td><td style="font-size: 80%;">{{{date}}}</td></tr>|1{{{date|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Result</td><td style="font-size: 80%;">{{{result}}}</td></tr>|1{{{result|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Part of</td><td style="font-size: 80%;">{{{partof}}}</td></tr>|1{{{partof|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Participants</td><td style="font-size: 80%;">{{{participants}}}</td></tr>|1{{{participants|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Description</td><td style="font-size: 80%;">{{{description}}}</td></tr>|1{{{description|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">References</td><td style="font-size: 80%;">{{{references}}}</td></tr>|1{{{references|}}}=}}{{#ifexist:Category:Images of {{{gallery|{{PAGENAME}}}}}|<tr style="vertical-align: top;"><td style="font-size: 80%;">'''Gallery'''</td><td style="font-size: 80%;">'''[[:Category:Images of {{{gallery|{{PAGENAME}}}}}|Images of {{{gallery|{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}}}}]]'''</td></tr>}}</table></includeonly><noinclude>
{{events
{{events
| image={{{image}}}
| image={{{image}}}
Line 11: Line 11:
| description={{{description}}}
| description={{{description}}}
| references={{{references}}}
| references={{{references}}}
|}}
| gallery={{{gallery}}}
}}
==Usage==
==Usage==
<pre>
<pre>
Line 25: Line 26:
| description=
| description=
| references=
| references=
|}}
| gallery=
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 04:33, 28 August 2022

{{{image}}}
{{{event}}}
Event
Other names{{{othernames}}}
Location{{{location}}}
Date{{{date}}}
Result{{{result}}}
Part of{{{partof}}}
Participants{{{participants}}}
Description{{{description}}}
References{{{references}}}

Usage

{{events
| image=
| event=
| othernames=
| location=
| date=
| result=
| partof=
| participants=
| description=
| references=
| gallery=
}}