Template:Foraging details: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(67 intermediate revisions by one other user not shown)
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=
!Name!!Skill!!Season!!Time!!Special Conditions!!Terrain!!Body Part Healed
! colspan="2" | Foraging Details
{{!}}-
|- bgcolor="#FFFFFF"
{{!}} align="center"{{!}} [[pretty name is::{{{name|{{PAGENAME}}}}}]]
| valign="top"| Terrain || align="center" | {{#if: {{{Terrain|}}} | {{#switch:{{{Terrain}}}|-=| {{#arraymap:{{{Terrain|}}}|,|@@@@|[[has item property::terrain is::@@@@]]}}}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{rank|}}}|[[requires outdoorsmanship skill::{{{rank}}}]]|}}
|- bgcolor="#FFFFFF"
| valign="top"| Season || align="center" | {{#if: {{{Season|}}} | {{#switch:{{{Season}}}|-=| {{#arraymap:{{{Season|}}}|,|@@@@|[[has item property::seasons available::@@@@]]}}}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{season|}}}|{{#arraymap:{{{season|}}}|,|@@@@|@@@@}}|}}
{{!}} align="center"{{!}} {{#if:{{{time|}}}|{{#arraymap:{{{time|}}}|,|@@@@|@@@@}}|}}
|- bgcolor="#FFFFFF"
| valign="top"| Time || align="center" | {{#if: {{{Time|}}} | {{#switch:{{{Time}}}|-=|{{#arraymap:{{{Time|}}}|,|@@@@|[[has item property::time of day is::@@@@]]}}}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{condition|}}}|{{#switch:{{{condition}}}|-=|{{#arraymap:{{{condition|}}}|,|@@@@|[[forage condition is::@@@@]]}}}}|}}
{{!}} align="center"{{!}} {{#if:{{{terrain|}}}|{{#arraymap:{{{terrain|}}}|,|@@@@|[[terrain is::@@@@]]}}|}}
|- bgcolor="#FFFFFF"
| valign="top"| Condition || align="center" | {{#if: {{{Condition|}}} | {{#switch:{{{Condition}}}|-=None| {{#arraymap:{{{Condition|}}}}|,|@@@@}}}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{heals|}}}|{{#arraymap:{{{heals|}}}|,|@@@@|@@@@}}|}}[[page type is::herb| ]]
|g=
|- bgcolor="#FFFFFF"
!Name!!Skill!!Season!!Time!!Special Conditions!!Terrain
| valign="top"| Outdoorsmanship || align="center" | {{#if: {{{Rank|}}} | {{#switch:{{{Rank}}}|-=| {{{Rank}}}|[[has item property::requires outdoorsmanship skill::{{{Rank}}}]]}} | ''Unknown'' }}
{{!}}-
|-
{{#switch: {{{Herb}}} |n=|-=| y={{!}} colspan="2" valign="top" align="center" {{!}} Healing Herb
{{!}} align="center"{{!}} [[pretty name is::{{{name|{{PAGENAME}}}}}]]
{{!}} align="center"{{!}} {{#if:{{{rank|}}}|[[requires outdoorsmanship skill::{{{rank}}}]]|}}
{{!}}- bgcolor="#FFFFFF"
{{!}} valign="top" {{!}} Body Part {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Part|}}}|,|@@@@|[[has item property::heals body part::@@@@]]}}
{{!}} align="center"{{!}} {{#if:{{{season|}}}|{{#arraymap:{{{season|}}}|,|@@@@|@@@@}}|}}
{{!}} align="center"{{!}} {{#if:{{{time|}}}|{{#switch:{{{time|}}}|all|All=all[[time available is::day| ]][[time available is::night| ]]|{{#arraymap:{{{time|}}}|,|@@@@|[[time available is::@@@@]]}}}}|}}
{{!}}- bgcolor="#FFFFFF"
{{!}} valign="top" {{!}} Factor {{!}}{{!}} align="center" {{!}} {{#arraymap:{{{Factor|}}}|,|@@@@|[[has item property::heals factor::@@@@]]}}}}
{{!}} align="center"{{!}} {{#if:{{{condition|}}}|{{#switch:{{{condition}}}|-=|{{#arraymap:{{{condition|}}}|,|@@@@|[[forage condition is::@@@@]]}}}}|}}
{{!}} align="center"{{!}} {{#if:{{{terrain|}}}|{{#arraymap:{{{terrain|}}}|,|@@@@|[[terrain is::@@@@]]}}|}}
|}
}}
</includeonly><noinclude>
|}{{ForagingProperties|Season={{{season|}}}|Time={{{time|}}}|Heals={{#switch:{{{t}}}|h={{{heals|}}}|}}}}{{cat|Foraged Item}}</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).
Used on the item page of a foraged item to include details about foraging.
<pre>
{{Foraging details|name=Name|t=h|rank=Rank|season=Season|time=Time|condition=Condition|terrain=Terrain|heals=Heals}}
{{Foraging details|name=Name|t=g|rank=Rank|season=Season|time=Time|condition=Condition|terrain=Terrain}}


Name = Foraged item name (Optional - if different from the page name)
'''Work in progress. Do not use.'''
Rank = Outdoorsmanship rank required (Do not use special characters such as "~" or "?"
<pre>
Season = all or winter/spring/summer/fall (use "," to separate each)
{{Foraging details
Time = all or day/night (use "," to separate each if both)
|Terrain = badland, boreal forest, chapparal, coastal, deciduous forest, desert, freshwater wetland, highland mountain,
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)
|Season = Winter/Spring/Summer/Fall (use "," to separate each)
Heals = Mix and match from the following: (use a space to separate each, not a comma.)
Location: head, eye, neck, face, chest, abdomen, back, torso, limb, nerve, skin, all
|Time = day/night (use "," to separate each if both)
Type: internal, external, wounds, scars
|Condition = any addition conditions such as moons, weather, etc. (use "," to separate each, "-" if none)
E.g. external back wounds, all internal scars, external torso wounds, etc.
|Rank = Outdoorsmanship rank required (Do not use special characters such as "~" or "?"
</pre></noinclude>
|Herb = y/n/- (is this a healing herb?)
|Part = body part healed
|Factor = internal/external
}}
</pre>

</noinclude>

Latest revision as of 17:55, 30 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|name=Name|t=h|rank=Rank|season=Season|time=Time|condition=Condition|terrain=Terrain|heals=Heals}}
{{Foraging details|name=Name|t=g|rank=Rank|season=Season|time=Time|condition=Condition|terrain=Terrain}}

Name        = Foraged item name (Optional - if different from the page name)
Rank        = Outdoorsmanship rank required (Do not use special characters such as "~" or "?"
Season      = all or winter/spring/summer/fall (use "," to separate each)
Time        = all or 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)
Heals       = Mix and match from the following: (use a space to separate each, not a comma.)
              Location: head, eye, neck, face, chest, abdomen, back, torso, limb, nerve, skin, all
              Type: internal, external, wounds, scars
              E.g. external back wounds, all internal scars, external torso wounds, etc.