Template:Plant infobox: Difference between revisions
From Tolkien Gateway
(Tidied up) |
(Updated) |
||
Line 1: | Line 1: | ||
<includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin: 0 0 .5em .5em; width: | <includeonly><table border="0" cellspacing="0" cellpadding="4" style="float: right; margin: 0 0 .5em .5em; width: 272px; background: #def2de; border-collapse: collapse; border: 1px solid #4F7942; line-height: 1.5;"> <tr style="color: white; background: #4F7942; font-size: larger;"><th colspan="2" style="padding-bottom: 0; padding-top: 0;">{{{name|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> {{t|1=<tr><th colspan="2" style="font-weight: normal; padding: 0; background: #4F7942; color: white;">{{{image}}}</th></tr> <tr><td colspan="2" class="seqcream" style="background: #4F7942; color: white; font-size: 80%; text-align: center; padding-left: 10px; padding-right: 10px; height: 2px;">{{{caption|}}}</td></tr>|1{{{image|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%; padding-right: 0px;">Pronunciation</td><td style="font-size: 80%;">{{{pronun}}}</td></tr>|1{{{pronun|}}}=}}{{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%;">Location</td><td style="font-size: 80%;">{{{location}}}</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="vertical-align: top;"><td style="font-size: 80%;">Notable for</td><td style="font-size: 80%;">{{{notablefor}}}</td></tr>|1{{{notablefor|}}}=}} {{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%;">Appearance</td><td style="font-size: 80%;">{{{appearance}}}</td></tr>|1{{{appearance|}}}=}} {{#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> | ||
{{plants | {{plants | ||
| name={{{name}}} | |||
| image={{{image}}} | | image={{{image}}} | ||
| | | caption={{{caption}}} | ||
| pronun={{{pronun}}} | |||
| othernames={{{othernames}}} | | othernames={{{othernames}}} | ||
| | | location={{{location}}} | ||
| notablefor={{{notablefor}}} | |||
| family={{{family}}} | | family={{{family}}} | ||
| appearance={{{appearance}}} | | appearance={{{appearance}}} | ||
}} | }} | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{plants | {{plants | ||
| name= | |||
| image= | | image= | ||
| | | caption= | ||
| pronun= | |||
| othernames= | | othernames= | ||
| | | location= | ||
| notablefor= | |||
| family= | | family= | ||
| appearance= | | appearance= | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> | [[Category:Infobox templates|{{PAGENAME}}]]</noinclude> |
Revision as of 11:03, 17 December 2017
{{{name}}} | |
---|---|
{{{image}}} | |
{{{caption}}} | |
Pronunciation | {{{pronun}}} |
Other names | {{{othernames}}} |
Location | {{{location}}} |
Notable for | {{{notablefor}}} |
Family | {{{family}}} |
Appearance | {{{appearance}}} |
Usage
{{plants | name= | image= | caption= | pronun= | othernames= | location= | notablefor= | family= | appearance= }}