Template:Location infobox: Difference between revisions

From Tolkien Gateway
m (Some swapping around)
m (Non-breakign space)
(9 intermediate revisions by 5 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 #78866B; 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 #78866B; line-height: 1.5;clear:right;"> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #78866B; color: white;">{{{image}}}</th></tr>|1{{{image|}}}=}} {{t|1=<tr style="color: white; background: #78866B;"><th colspan="2">{{{name}}}</th></tr>|1{{{name|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; font-size: 80%; background: #ACE1AF;">'''Physical Description'''</th></tr>|1{{{type|}}}{{{location|}}}{{{realms|}}}{{{inhabitants|}}}{{{description|}}}{{{climate|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Type</td><td style="font-size: 80%;">{{{type}}}</td></tr>|1{{{type|}}}=}} {{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%;">Realms</td><td style="font-size: 80%;">{{{realms}}}</td></tr>|1{{{realms|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Inhabitants</td><td style="font-size: 80%;">{{{inhabitants}}}</td></tr>|1{{{inhabitants|}}}=}} {{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%;">Climate</td><td style="font-size: 80%;">{{{climate}}}</td></tr>|1{{{climate|}}}=}} {{t|1=<tr><th colspan="2" style="font-weight: normal; font-size: 80%; background: #ACE1AF;">'''General Information'''</th></tr>|1{{{othernames|}}}{{{etymology|}}}{{{created|}}}{{{destroyed|}}}{{{events|}}}{{{references|}}}=}} {{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%;">Etymology</td><td style="font-size: 80%;">{{{etymology}}}</td></tr>|1{{{etymology|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Created</td><td style="font-size: 80%;">{{{created}}}</td></tr>|1{{{created|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Destroyed</td><td style="font-size: 80%;">{{{destroyed}}}</td></tr>|1{{{destroyed|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Events</td><td style="font-size: 80%;">{{{events}}}</td></tr>|1{{{events|}}}=}} {{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>{{location
<tr style="text-align:center; background:#f0f0f0;">
| image={{{image}}}
<td colspan="2" style="padding:0; background:#78866B; color:#fff;">{{{image}}}</td>
| name={{{name}}}
</tr>
| type={{{type}}}
<tr style="color:#fff; background:#78866B; font-size:larger;">
| location={{{location}}}}
<th colspan="2">{{{name}}}</th>
| inhabitants={{{inhabitants}}}
</tr> <tr><th colspan="2" style="text-align:left; font-weight:normal; background:#ACE1AF;">'''Physical Description'''</th></tr> {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Type</td><td>{{{type}}}</td></tr>|1{{{type}}}=}} {{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>Inhabitants</td><td>{{{inhabitants}}}</td></tr>|1{{{inhabitants}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Kingdoms subjected to</td><td>{{{realms}}}</td></tr>|1{{{realms}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Description</td><td>{{{description}}}</td></tr>|1{{{description}}}=}}
| realms={{{realms}}}
 
| description={{{description}}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#ACE1AF;">'''General Information'''</th></tr> {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Other names</td><td>{{{othernames}}}</td></tr>|1{{{othernames}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Etymology</td><td>{{{etymology}}}</td></tr>|1{{{etymology}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>Events</td><td>{{{events}}}</td></tr>|1{{{events}}}=}} {{t|1=<tr style="vertical-align: top; background: #f0f0f0"><td>References</td><td>{{{references}}}</td></tr>|1{{{references}}}=}}<noinclude>
| climate={{{climate}}}
{{clear}}
| othernames={{{othernames}}}
| etymology={{{etymology}}}
| created={{{created}}}
| destroyed={{{destroyed}}}
| events={{{events}}}
| references='''DEPRECATED'''
}}
==Usage==
==Usage==
<pre>
<pre>
Line 14: Line 20:
| image=
| image=
| name=
| name=
| othernames=
| etymology=
| type=
| type=
| location=
| location=
Line 21: Line 25:
| realms=
| realms=
| description=
| description=
| climate=
| othernames=
| etymology=
| created=
| destroyed=
| events=
| events=
| references=
}}
|}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
'''N.B.''' The {{{references}}} parameter has been deprecated; please include references within articles instead.
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 08:43, 22 June 2012

{{{image}}}
{{{name}}}
Physical Description
Type{{{type}}}
Location{{{location}}}}
Realms{{{realms}}}
Inhabitants{{{inhabitants}}}
Description{{{description}}}
Climate{{{climate}}}
General Information
Other names{{{othernames}}}
Etymology{{{etymology}}}
Created{{{created}}}
Destroyed{{{destroyed}}}
Events{{{events}}}
ReferencesDEPRECATED

Usage

{{location
| image=
| name=
| type=
| location=
| inhabitants=
| realms=
| description=
| climate=
| othernames=
| etymology=
| created=
| destroyed=
| events=
}}

N.B. The {{{references}}} parameter has been deprecated; please include references within articles instead.