Template:Foraging details: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "<includeonly> {| cellpadding="2" style="float:right; width:300px; background:#e3e3e3; border-spacing:1px;" |- ! colspan="2" | Foraging Details |- bgcolor="#FFFFFF" | valign="t...")
 
No edit summary
 
(87 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}}}|-=| {{{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}}}|-=| {{{Season}}}{{#arraymap:{{{Season}}}}}|,|@@@@|[[has item property::season is::@@@@]]}} | ''Unknown''}}
{{!}} align="center"{{!}} {{#if:{{{season|}}}|{{#arraymap:{{{season|}}}|,|@@@@|@@@@}}|}}
{{!}} align="center"{{!}} {{#if:{{{time|}}}|{{#arraymap:{{{time|}}}|,|@@@@|@@@@}}|}}
|- bgcolor="#FFFFFF"
| valign="top"| Time || align="center" | {{#if: {{{Time|}}} | {{#switch:{{{Time}}}|-=| {{{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}}}|-=| {{{Condition}}}{{#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}}} | ''Unknown'' }}}}
{{!}}-
|-
{{!}} align="center"{{!}} [[pretty name is::{{{name|{{PAGENAME}}}}}]]
{{#if: {{{Herb|}}} | {{!}} colspan="2" {{!}} valign="top" {{!}} align="center" {{!}} Healing Herb }}
{{!}} align="center"{{!}} {{#if:{{{rank|}}}|[[requires outdoorsmanship skill::{{{rank}}}]]|}}
|- bgcolor="#FFFFFF"
{{#if: {{{Herb|}}} | {{!}} 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"
{{#if: {{{Herb|}}} | {{!}} 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>
Used on the item page of a foraged item to include details about foraging.

'''Work in progress. Do not use.'''
<pre>
{{Foraging detail
|Terrain =
|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)
|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
}}
}}
|}{{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).
</pre>
<pre>
</noinclude>
{{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.
</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.