Template:Convention: Difference between revisions

From Tolkien Gateway
No edit summary
m (Fixed background colour)
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#78866B; border-collapse:collapse; border:1px solid #21421E; font-size:smaller; line-height:1.5; ">
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin: 0 0 .5em .5em; width: 252px; background: #F0F0F0; border-collapse: collapse; border: 1px solid #21421E; 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|}}}=}} <tr><th colspan="2" style="color: white; background: #4F7942;">{{{title|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> {{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%;">Organizer</td><td style="font-size: 80%;">{{{organizer}}}</td></tr>|1{{{organizer|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Dates</td><td style="font-size: 80%;">{{{dates}}}</td></tr>|1{{{dates|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Attendees</td><td style="font-size: 80%;">{{{attendees}}}</td></tr>|1{{{attendees|}}}=}}</table></includeonly><noinclude>
<tr style="text-align:center; background:#f0f0f0;">
<td colspan="2" style="padding:0; background:#4F7942; color:#fff;">{{{image}}}</td>
</tr>
<tr style="color:#fff; background:#4F7942; font-size:larger;">
<th colspan="2">{{{title}}}</th>
{{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Organizer</td><td>{{{organizer}}}</td></tr>|1{{{organizer}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Dates</td><td>{{{dates}}}</td></tr>|1{{{dates}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Attendees</td><td>{{{attendees}}}</td></tr>|1{{{attendees}}}=}}</table><noinclude>
{{clear}}
{{clear}}
{{convention
| image={{{image}}}
| title={{{title}}}
| location={{{location}}}
| organizer={{{organizer}}}
| dates={{{dates}}}
| attendees={{{attendees}}}
}}
==Usage==
==Usage==
<pre>
<pre>
{{events
{{convention
| image=
| image=
| title=
| title=
Line 16: Line 18:
| dates=
| dates=
| attendees=
| attendees=
|}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 13:50, 27 June 2015

{{{image}}}
{{{title}}}
Location{{{location}}}
Organizer{{{organizer}}}
Dates{{{dates}}}
Attendees{{{attendees}}}

Usage

{{convention
| image=
| title=
| location=
| organizer=
| dates=
| attendees=
}}