Template:Foraging details: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{|border="1" class="wikitable"
{{#switch:{{{t}}}
{| cellpadding="2" style="float:right; width:300px; background:#e3e3e3; border-spacing:1px;"
|-
|h=
!Skill!!Season!!Time!!Special Conditions!!Terrain!!Body Part Healed!!Healing Type
! colspan="2" | Foraging Details
{{!}}-
|- bgcolor="#FFFFFF"
| valign="top"| Terrain || align="center" | {{#if: {{{Terrain|}}} | {{#switch:{{{Terrain}}}|-=| {{#arraymap:{{{Terrain|}}}|,|@@@@|[[terrain is::@@@@]]}}}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{1|}}}|[[requires outdoorsmanship skill::{{{3}}}]]|?}}
{{!}} align="center"{{!}} {{#if:{{{2|}}}|{{#arraymap:{{{Season|}}}|,|@@@@|[[seasons available::@@@@]]}}}}|?}}
|- bgcolor="#FFFFFF"
| valign="top"| Season || align="center" | {{#if: {{{Season|}}} | {{#switch:{{{Season}}}|-=| {{#arraymap:{{{Season|}}}|,|@@@@|[[seasons available::@@@@]]}}}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{3|}}}|{{#arraymap:{{{Time|}}}|,|@@@@|[[time of day is::@@@@]]}}|?}}
{{!}} align="center"{{!}} {{#if:{{{4|}}}|{{#arraymap:{{{Condition|}}}|,|@@@@|[[forage condition is::@@@@]]}}|?}}
|- bgcolor="#FFFFFF"
| valign="top"| Time || align="center" | {{#if: {{{Time|}}} | {{#switch:{{{Time}}}|-=|{{#arraymap:{{{Time|}}}|,|@@@@|[[time of day is::@@@@]]}}}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{5|}}}|{{#arraymap:{{{Terrain|}}}|,|@@@@|[[terrain is::@@@@]]}}|?}}
{{!}} align="center"{{!}} {{#if:{{{6|}}}|{{#arraymap:{{{Part|}}}|,|@@@@|[[heals body part::@@@@]]}}|?}}
|- bgcolor="#FFFFFF"
| valign="top"| Condition || align="center" | {{#if: {{{Condition|}}} | {{#switch:{{{Condition}}}|-=None| {{#arraymap:{{{Condition|}}}|,|@@@@|[[forage condition is::@@@@]]}}}} | ''Unknown''}}
{{!}} align="right" {{!}} {{#if:{{{7|}}}|{{#arraymap:{{{Factor|}}}|,|@@@@|[[healing type::@@@@]]}}|?}}|}}
|g=
|- bgcolor="#FFFFFF"
!Skill!!Season!!Time!!Special Conditions!!Terrain
| valign="top"| Outdoorsmanship || align="center" | {{#if: {{{Rank|}}} | {{#switch:{{{Rank}}}|-=| {{{Rank}}}|[[requires outdoorsmanship skill::{{{Rank}}}]]}} | ''Unknown'' }}
{{!}}-
|-
{{!}} align="center"{{!}} {{#if:{{{1|}}}|[[requires outdoorsmanship skill::{{{3}}}]]|?}}
{{#switch: {{{Herb}}} |no|n|false|f|-=|yes|true|t|y={{!}} colspan="2" valign="top" align="center" {{!}} '''Healing Herb'''
{{!}} align="center"{{!}} {{#if:{{{2|}}}|{{#arraymap:{{{Season|}}}|,|@@@@|[[seasons available::@@@@]]}}}}|?}}
{{!}}- bgcolor="#FFFFFF"
{{!}} valign="top" {{!}} Body Part {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Part|}}}|,|@@@@|[[heals body part::@@@@]]}}
{{!}} align="center"{{!}} {{#if:{{{3|}}}|{{#arraymap:{{{Time|}}}|,|@@@@|[[time of day is::@@@@]]}}|?}}
{{!}} align="center"{{!}} {{#if:{{{4|}}}|{{#arraymap:{{{Condition|}}}|,|@@@@|[[forage condition is::@@@@]]}}|?}}
{{!}}- bgcolor="#FFFFFF"
{{!}} valign="top" {{!}} Factor {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Factor|}}}|,|@@@@|[[heals factor::@@@@]]}}}}
{{!}} align="center"{{!}} {{#if:{{{5|}}}|{{#arraymap:{{{Terrain|}}}|,|@@@@|[[terrain is::@@@@]]}}|?}}
|}</includeonly><noinclude>A template to list foraging details on a foraged item's page. T must be set to what kind of material it is, either "h" (herb) or "g" (general foraged item).
|}
</includeonly><noinclude>
Used on the item page of a foraged item to include details about foraging. Include immediately after the item template before any other information.
<pre>
<pre>
{{Foraging details
{{Foraging details|t=h|Rank|Season|Time|Condition|Terrain|Part|Type}}
{{Foraging details|t=g|Rank|Season|Time|Condition|Terrain}}
|Terrain = any, badland, boreal forest, chapparal, coastal, deciduous forest, desert, freshwater wetland, highland mountain,

Rank = Outdoorsmanship rank required (Do not use special characters such as "~" or "?"
Season = Winter/Spring/Summer/Fall (use "," to separate each)
Time = day/night (use "," to separate each if both)
Condition = Indoors, Xibar is up, Yavash is up, Katamba is up (use "," to separate each, "-" if none)
Terrain = any, 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)
ice cap, marine, rainforest, rural cultivated, savannah, scrub and thorn, steppe, urban cultivated (use "," to separate each)
Part = body part healed
|Season = Winter/Spring/Summer/Fall (use "," to separate each)
|Time = day/night (use "," to separate each if both)
Type = internal/external/fresh/scars (use "," to separate each)
|Condition = Indoors, Xibar is up, Yavash is up, Katamba is up (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)
}}
}}
</pre>
</pre></noinclude>

</noinclude>

Revision as of 13:34, 16 October 2014

A template to list foraging details on a foraged item's page. T must be set to what kind of material it is, either "h" (herb) or "g" (general foraged item).

{{Foraging details|t=h|Rank|Season|Time|Condition|Terrain|Part|Type}}
{{Foraging details|t=g|Rank|Season|Time|Condition|Terrain}}

Rank        = Outdoorsmanship rank required (Do not use special characters such as "~" or "?"
Season      = Winter/Spring/Summer/Fall (use "," to separate each)
Time        = day/night (use "," to separate each if both)
Condition   = Indoors, Xibar is up, Yavash is up, Katamba is up (use "," to separate each, "-" if none)
Terrain     = any, 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)
Part        = body part healed
Type        = internal/external/fresh/scars (use "," to separate each)
}}