Template:Foraging details: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
! colspan="2" | Foraging Details
! colspan="2" | Foraging Details
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Terrain || align="center" | {{#if: {{{Terrain|}}} | {{#switch:{{{Terrain}}}|-=| {{#arraymap:{{{Terrain|}}}|,|@@@@|[[has item property::terrain is::@@@@]]}}}} | ''Unknown''}}
| valign="top"| Terrain || align="center" | {{#if: {{{Terrain|}}} | {{#switch:{{{Terrain}}}|-=| {{#arraymap:{{{Terrain|}}}|,|@@@@|[[terrain is::@@@@]]}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Season || align="center" | {{#if: {{{Season|}}} | {{#switch:{{{Season}}}|-=| {{#arraymap:{{{Season|}}}|,|@@@@|[[has item property::seasons available::@@@@]]}}}} | ''Unknown''}}
| valign="top"| Season || align="center" | {{#if: {{{Season|}}} | {{#switch:{{{Season}}}|-=| {{#arraymap:{{{Season|}}}|,|@@@@|[[seasons available::@@@@]]}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Time || align="center" | {{#if: {{{Time|}}} | {{#switch:{{{Time}}}|-=|{{#arraymap:{{{Time|}}}|,|@@@@|[[has item property::time of day is::@@@@]]}}}} | ''Unknown''}}
| valign="top"| Time || align="center" | {{#if: {{{Time|}}} | {{#switch:{{{Time}}}|-=|{{#arraymap:{{{Time|}}}|,|@@@@|[[time of day is::@@@@]]}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Condition || align="center" | {{#if: {{{Condition|}}} | {{#switch:{{{Condition}}}|-=None| {{#arraymap:{{{Condition|}}}}|,|@@@@}}}} | ''Unknown''}}
| valign="top"| Condition || align="center" | {{#if: {{{Condition|}}} | {{#switch:{{{Condition}}}|-=None| {{#arraymap:{{{Condition|}}}}|,|@@@@}}}} | ''Unknown''}}
|- bgcolor="#FFFFFF"
|- bgcolor="#FFFFFF"
| valign="top"| Outdoorsmanship || align="center" | {{#if: {{{Rank|}}} | {{#switch:{{{Rank}}}|-=| {{{Rank}}}|[[has item property::requires outdoorsmanship skill::{{{Rank}}}]]}} | ''Unknown'' }}
| valign="top"| Outdoorsmanship || align="center" | {{#if: {{{Rank|}}} | {{#switch:{{{Rank}}}|-=| {{{Rank}}}|[[requires outdoorsmanship skill::{{{Rank}}}]]}} | ''Unknown'' }}
|-
|-
{{#switch: {{{Herb}}} |no|n|false|f|-=|yes|true|t|y={{!}} colspan="2" valign="top" align="center" {{!}} '''Healing Herb'''
{{#switch: {{{Herb}}} |no|n|false|f|-=|yes|true|t|y={{!}} colspan="2" valign="top" align="center" {{!}} '''Healing Herb'''
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} valign="top" {{!}} Body Part {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Part|}}}|,|@@@@|[[has item property::heals body part::@@@@]]}}
{{!}} valign="top" {{!}} Body Part {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Part|}}}|,|@@@@|[[heals body part::@@@@]]}}
{{!}}- bgcolor="#FFFFFF"
{{!}}- bgcolor="#FFFFFF"
{{!}} valign="top" {{!}} Factor {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Factor|}}}|,|@@@@|[[has item property::heals factor::@@@@]]}}}}
{{!}} valign="top" {{!}} Factor {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Factor|}}}|,|@@@@|[[heals factor::@@@@]]}}}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 14:10, 15 October 2014

Used on the item page of a foraged item to include details about foraging. Include immediately after the item template before any other information.

{{Foraging details 
|Terrain     = badland, boreal forest, chapparal, coastal, deciduous forest, desert, freshwater wetland, highland mountain,
               ice cap, marine, rainforest, rural cultivated, savannah, scrub and thorn, steppe, urban cultivated (use "," to separate each)
|Season      = Winter/Spring/Summer/Fall (use "," to separate each)
|Time        = day/night (use "," to separate each if both)
|Condition   = any addition conditions such as moons, weather, etc. (use "," to separate each, "-" if none)
|Rank        = Outdoorsmanship rank required (Do not use special characters such as "~" or "?"
|Herb        = y/n/- (is this a healing herb?)
|Part        = body part healed
|Factor      = internal/external/fresh/scars (use "," to separate each)
}}