Difference between revisions of "Template:Layouts/ImagesLeftContentRight"

From Pathfinder Wiki
Line 4: Line 4:
 
  | keyOfImg
 
  | keyOfImg
 
  | theImage
 
  | theImage
  | <nowiki />{{#if:{{#var:theImage|}}|[[image:{{#var:theImage}}|{{{image_{{#var:keyOfImg}}_width|300px}}}|{{{image_{{#var:keyOfImg}}_caption|}}}]]<small><div style="text-align:center">{{{image_{{#var:keyOfImg}}_caption|}}}</div></small>}}
+
  | <nowiki />{{#if:{{#var:theImage|}}|[[image:{{#var:theImage}}|{{{image_{{#var:keyOfImg}}_width|300px}}}]]<small><div style="text-align:center">{{{image_{{#var:keyOfImg}}_caption|}}}</div></small>}}
 
}}
 
}}
 
</div>
 
</div>
Line 21: Line 21:
 
{{Layouts/ImagesLeftContentRight
 
{{Layouts/ImagesLeftContentRight
 
| image_1 = Amaranthus tricolor0.jpg
 
| image_1 = Amaranthus tricolor0.jpg
 +
| image_1_caption = Test caption
 
| content_heading = Amaranth
 
| content_heading = Amaranth
 
| content = Amaranth, is a cosmopolitan genus of annual or short-lived perennial plants. Catkin-like cymes of densely packed flowers grow in summer or autumn. Approximately 60 species are recognized, with inflorescences and foliage ranging from purple and red to green or gold.  
 
| content = Amaranth, is a cosmopolitan genus of annual or short-lived perennial plants. Catkin-like cymes of densely packed flowers grow in summer or autumn. Approximately 60 species are recognized, with inflorescences and foliage ranging from purple and red to green or gold.  

Revision as of 23:25, 28 February 2021

Usage:

{{Layouts/ImagesLeftContentRight
}}

Example:

Amaranthus tricolor0.jpg
Test caption
300px

Amaranth

Amaranth, is a cosmopolitan genus of annual or short-lived perennial plants. Catkin-like cymes of densely packed flowers grow in summer or autumn. Approximately 60 species are recognized, with inflorescences and foliage ranging from purple and red to green or gold. Although several species are often considered weeds, people around the world value amaranths as leaf vegetables and cereals.

Oenothera biennis 20050825 962.jpg
Tap root shown next to a carrot for comparison.
300px
Oenothera-biennis-root.jpg

Evening Primrose

Evening primrose (Oenothera biennis) is a biennial (living for two years) flowering plant growing to 30–150 cm tall. The leaves are lanceolate, 5–20 cm long and 1–2.5 cm broad, produced in a tight rosette in the first year, and spirally on the stem in the second year. The flowers are pale yellow, 2.5–5 cm diameter, with four petals; they are produced on a tall spike from late spring to late summer. They open in the evening, hence the name "evening primrose", and close by the following noon.