Difference between revisions of "Template:EWP"

From Pathfinder Wiki
(Add clear to end of template so we don't hide subsequent text.)
Line 1: Line 1:
 +
<includeonly>
 +
{{#ifeq:{{{salad}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Salad]]}}
 +
{{#ifeq:{{{potherb}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Potherb]]}}
 +
{{#ifeq:{{{tuber}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Tuber]]}}
 +
{{#ifeq:{{{fruit}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Fruit]]}}
 +
{{#ifeq:{{{beverage}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Beverage]]}}
 +
 +
{{#ifeq:{{{fry}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Raw]]}}
 +
{{#ifeq:{{{boil}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Boil]]}}
 +
{{#ifeq:{{{fry}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Fry]]}}
 +
{{#ifeq:{{{roast}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Roast]]}}
 +
{{#ifeq:{{{bake}}}|y|[[Category:Adventist Youth Honors Answer Book/EWP/Bake]]}}
 +
</includeonly>
 
{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:100%;" border="1" cellpadding="2"
 
{| style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; float:right; background:white; clear:right; width:100%;" border="1" cellpadding="2"
 
|- style="text-align:center;"
 
|- style="text-align:center;"
Line 30: Line 43:
 
  | warning = (optional) list poisonous parts of the plant (if any)  
 
  | warning = (optional) list poisonous parts of the plant (if any)  
 
             as well as any poisonous plants that can be mistaken for this one.
 
             as well as any poisonous plants that can be mistaken for this one.
 +
| potherb = y (if the plant can be used as a potherb, set this equal to 'y')
 +
| salad = y (if the plant can be used as in a salad, set this equal to 'y')
 +
| tuber = y (if the plant's tuber is edible, set this equal to 'y')
 +
| beverage = y (if the plant can be used as a beverage, set this equal to 'y')
 +
| boil = y (if the plant is prepared by boiling, set this equal to 'y')
 +
| fry = y (if the plant is prepared by frying, set this equal to 'y')
 +
| raw = y (if the plant can be eaten raw, set this equal to 'y')
 +
| roast = y (if the plant is prepared by roasting, set this equal to 'y')
 +
| bake = y (if the plant is prepared by baking, set this equal to 'y')
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 
</noinclude>
 
</noinclude>
 
{{clear}}
 
{{clear}}

Revision as of 23:59, 6 September 2013

{{{name}}}




Usage:

{{EWP
| name = common name
| binomial = Genus species, or just genus (optional)
| image = primary image
| image_caption = (optional)
| image2 = second image (optional)
| image_width = 300px (default, applies to both images)
| range = where found
| description = Physical description of plant
| use = how the plant is used as an edible
| warning = (optional) list poisonous parts of the plant (if any) 
            as well as any poisonous plants that can be mistaken for this one.
| potherb = y (if the plant can be used as a potherb, set this equal to 'y')
| salad = y (if the plant can be used as in a salad, set this equal to 'y')
| tuber = y (if the plant's tuber is edible, set this equal to 'y')
| beverage = y (if the plant can be used as a beverage, set this equal to 'y')
| boil = y (if the plant is prepared by boiling, set this equal to 'y')
| fry = y (if the plant is prepared by frying, set this equal to 'y')
| raw = y (if the plant can be eaten raw, set this equal to 'y')
| roast = y (if the plant is prepared by roasting, set this equal to 'y')
| bake = y (if the plant is prepared by baking, set this equal to 'y')
}}