Difference between revisions of "Template:Shrub"

From Pathfinder Wiki
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:100%;" border="1" cellpadding="2"
+
<includeonly>{{Layouts/ImagesLeftContentRight
|- style="text-align:center;"
+
| image_1 = {{{image|}}}
! colspan="2" style="background: pink;"|'''{{{latin_name}}} ({{{name}}})'''
+
| imageWidth_1 = {{{image_width}}}
|- style="text-align:center;"
+
| imageCaption_1 = {{{image_caption|}}} {{{latin_name|}}}
|
+
| content_heading = '''{{{name}}} ({{{latin_name}}})'''
{{#if:{{{description|}}}|<br><div style="text-align:left">'''Description:''' {{{description}}}</div>}}
+
| content = {{#if:{{{description|}}}|<p>'''{{Localize|Description}}:''' {{{description}}}</p>}}
{{#if:{{{range|}}}|<br><div style="text-align:left">'''Range:''' {{{range}}}</div>}}
+
{{#if:{{{range|}}}|<p>'''{{Localize|Range}}:''' {{{range}}}</p>}}
{{#if:{{{blooming_season|}}}|<br><div style="text-align:left">'''Blooming season:''' {{{blooming_season}}}</div>}}
+
{{#if:{{{blooming_season|}}}|<p>'''{{Localize|Blooming season}}:''' {{{blooming_season}}}</p>}}
{{#if:{{{flower_color|}}}|<br><div style="text-align:left">'''Flower color:''' {{{flower_color}}}</div>}}
+
{{#if:{{{flower_color|}}}|<p>'''{{Localize|Flower color}}:''' {{{flower_color}}}</p>}}
{{#if:{{{fall_color|}}}|<br><div style="text-align:left">'''Fall foliage color:''' {{{fall_color}}}</div>}}
+
{{#if:{{{fall_color|}}}|<p>'''{{Localize|Fall foliage color}}:''' {{{fall_color}}}</p>}}
|
+
}}</includeonly><noinclude>
{{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|300px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{Latin_name|}}}</div></small>}}
+
 
|}
+
Usage:
 +
:<nowiki>{{EWP</nowiki>
 +
::<nowiki>| all the parameters ...</nowiki>
 +
:<nowiki>}}</nowiki>
 +
 
 +
Example:
 +
{{Shrub
 +
| name = Fothergilla
 +
| latin_name = Fothergilla
 +
| description = Fothergilla (fothergilla or witchalder) is a genus of two or three species of flowering plants in the family Hamamelidaceae, native to the southeastern United States.
 +
|image = Fothergilla gardenii.jpg
 +
| flower_color = white
 +
| blooming_season = Spring
 +
| fall_color = Brilliant orange or red
 +
}}
 +
</noinclude>
 +
{{clear}}

Latest revision as of 03:48, 27 July 2022


Usage:

{{EWP
| all the parameters ...
}}

Example:

Fothergilla

Fothergilla

Fothergilla (Fothergilla)

Description: Fothergilla (fothergilla or witchalder) is a genus of two or three species of flowering plants in the family Hamamelidaceae, native to the southeastern United States.

Blooming season: Spring

Flower color: white

Fall foliage color: Brilliant orange or red