Template:Plant infobox: Difference between revisions

From Tolkien Gateway
mNo edit summary
(Tidied up)
Line 1: Line 1:
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:252px; background:#78866B; border-collapse:collapse; border:1px solid #4F7942; font-size:smaller; line-height:1.5; clear:right;"> {{t|1=<tr style="text-align:center; background:#ADDFAD;"><td colspan="2" style="padding:0; background:#4F7942; color:#fff;">{{{image}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr style="color:#fff; background:#4F7942; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>|1{{{name|}}}=}} {{t|1=<tr style="vertical-align: top; background: #ADDFAD"><td>Other names</td><td>{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top; background: #ADDFAD"><td>Derivation of Name</td><td>{{{derivation}}}</td></tr>|1{{{derivation|}}}=}} {{t|1=<tr style="vertical-align: top; background: #ADDFAD"><td>Family</td><td>{{{family}}}</td></tr>|1{{{family|}}}=}} {{t|1=<tr style="vertical-align: top; background: #ADDFAD"><td>Location</td><td>{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top; background: #ADDFAD"><td>Appearance</td><td>{{{appearance}}}</td></tr>|1{{{appearance|}}}=}} {{t|1=<tr style="vertical-align: top; background: #ADDFAD"><td>References</td><td>{{{references}}}</td></tr>|1{{{references|}}}=}}</table></includeonly><noinclude><table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:252px; background:#78866B; border-collapse:collapse; border:1px solid #4F7942; font-size:smaller; line-height:1.5; "> <tr style="text-align:center; background:#ADDFAD;"><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">{{{name}}}</th></tr> <tr style="vertical-align: top; background: #ADDFAD"><td>Other names</td><td>{{{othernames}}}</td></tr> <tr style="vertical-align: top; background: #ADDFAD"><td>Derivation of Name</td><td>{{{derivation}}}</td></tr> <tr style="vertical-align: top; background: #ADDFAD"><td>Family</td><td>{{{family}}}</td></tr> <tr style="vertical-align: top; background: #ADDFAD"><td>Location</td><td>{{{location}}}</td></tr> <tr style="vertical-align: top; background: #ADDFAD"><td>Appearance</td><td>{{{appearance}}}</td></tr> <tr style="vertical-align: top; background: #ADDFAD"><td>References</td><td>{{{references}}}</td></tr> </table>
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin: 0 0 .5em .5em; width: 252px; background: #ADDFAD; 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|}}}=}} <tr><th colspan="2" style="color: white; background:#4F7942;">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Other names</td><td style="font-size: 80%;">{{{othernames}}}</td></tr>|1{{{othernames|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Derivation of Name</td><td style="font-size: 80%;">{{{derivation}}}</td></tr>|1{{{derivation|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Family</td><td style="font-size: 80%;">{{{family}}}</td></tr>|1{{{family|}}}=}} {{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%;">Appearance</td><td style="font-size: 80%;">{{{appearance}}}</td></tr>|1{{{appearance|}}}=}}</table></includeonly><noinclude>
{{plants
| image={{{image}}}
| name={{{name}}}
| othernames={{{othernames}}}
| derivation={{{derivation}}}
| family={{{family}}}
| location={{{location}}}
| appearance={{{appearance}}}
| references={{{references}}}
}}
==Usage==
==Usage==
<pre>
<pre>

Revision as of 14:15, 27 June 2015

{{{image}}}
{{{name}}}
Other names{{{othernames}}}
Derivation of Name{{{derivation}}}
Family{{{family}}}
Location{{{location}}}
Appearance{{{appearance}}}

Usage

{{plants
| image=
| name=
| othernames=
| derivation=
| family=
| location=
| appearance=
| references=
}}