Template:ForageSidebar: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Auto-add of climate/terrain categories based on climate/terrain flags; auto-add of forageables and flora categories when template is used.)
mNo edit summary
Line 137: Line 137:
|}
|}
|}
|}
<includeonly>[[Category: Forageables]] [[Category: Flora]] {{#switch: {{{arid}}} |yes=[[Category: Arid (climate)]] |#default=}} {{#switch: {{{aridtemperate}}} |yes=[[Category: Arid, temperate (climate)]] |#default=}} {{#switch: {{{colddamp}}} |yes=[[Category: Cold, damp (climate)]]|#default=}} {{#switch: {{{colddry}}}|yes=[[Category: Cold, dry (climate)]]|#default=}} {{#switch: {{{freshwater}}}|yes=[[Category: Freshwater (climate)]]|#default=}} {{#switch: {{{glacial}}}|yes=[[Category: Glacial (climate)]]|#default=}} {{#switch: {{{hotdamp}}}|yes=[[Category: Hot, damp (climate)]]|#default=}} {{#switch: {{{humid}}}|yes=[[Category: Humid (climate)]]|#default=}} {{#switch: {{{moist}}}|yes=[[Category: Moist (climate)]]|#default=}} {{#switch: {{{saltwater}}}|yes=[[Category: Saltwater (climate)]]|#default=}} {{#switch: {{{snowyarctic}}}|yes=[[Category: Snowy, arctic (climate)]]|#default=}} {{#switch: {{{temperate}}}|yes=[[Category: Temperate (climate)]]|#default=}} {{#switch: {{{barrenscrub}}}|yes=[[Category: Barren scrub (terrain)]]|#default=}} {{#switch: {{{coniferousforest}}}|yes=[[Category: Coniferous forest (terrain)]]|#default=}} {{#switch: {{{cultivated}}}|yes=[[Category: Cultivated (terrain)]]|#default=}} {{#switch: {{{deciduousforest}}}|yes=[[Category: Deciduous forest (terrain)]]|#default=}} {{#switch: {{{grassland}}}|yes=[[Category: Grassland (terrain)]]|#default=}} {{#switch: {{{hardflat}}}|yes=[[Category: Hard, flat (terrain)]]|#default=}} {{#switch: {{{icyglacier}}}|yes=[[Category: Icy glacier (terrain)]]|#default=}} {{#switch: {{{mountainous}}}|yes=[[Category: Mountainous (terrain)]]|#default=}} {{#switch: {{{muddywetlands}}}|yes=[[Category: Muddy wetlands (terrain)]]|#default=}} {{#switch: {{{plaindirt}}}|yes=[[Category: Plain dirt (terrain)]]|#default=}} {{#switch: {{{riparian}}}|yes=[[Category: Riparian (terrain)]]|#default=}} {{#switch: {{{rough}}}|yes=[[Category: Rough (terrain)]]|#default=}} {{#switch: {{{sandy}}}|yes=[[Category: Sandy (terrain)]]|#default=}} {{#switch: {{{subterranean}}}|yes=[[Category: Subterranean (terrain)]]|#default=}} {{#switch: {{{tropical}}}|yes=[[Category: Tropical (terrain)]]|#default=}} </includeonly>
<includeonly>[[Category: Forageables]] [[Category: Flora]]
{{#switch: {{{arid}}}
|yes=[[Category: Arid (climate)]]
|#default=}}
{{#switch: {{{aridtemperate}}}
|yes=[[Category: Arid, temperate (climate)]]
|#default=}}
{{#switch: {{{colddamp}}}
|yes=[[Category: Cold, damp (climate)]]
|#default=}}
{{#switch: {{{colddry}}}
|yes=[[Category: Cold, dry (climate)]]
|#default=}}
{{#switch: {{{freshwater}}}
|yes=[[Category: Freshwater (climate)]]
|#default=}}
{{#switch: {{{glacial}}}
|yes=[[Category: Glacial (climate)]]
|#default=}}
{{#switch: {{{hotdamp}}}
|yes=[[Category: Hot, damp (climate)]]
|#default=}}
{{#switch: {{{humid}}}
|yes=[[Category: Humid (climate)]]
|#default=}}
{{#switch: {{{moist}}}
|yes=[[Category: Moist (climate)]]
|#default=}}
{{#switch: {{{saltwater}}}
|yes=[[Category: Saltwater (climate)]]
|#default=}}
{{#switch: {{{snowyarctic}}}
|yes=[[Category: Snowy, arctic (climate)]]
|#default=}}
{{#switch: {{{temperate}}}
|yes=[[Category: Temperate (climate)]]
|#default=}}
{{#switch: {{{barrenscrub}}}
|yes=[[Category: Barren scrub (terrain)]]
|#default=}}
{{#switch: {{{coniferousforest}}}
|yes=[[Category: Coniferous forest (terrain)]]
|#default=}}
{{#switch: {{{cultivated}}}
|yes=[[Category: Cultivated (terrain)]]
|#default=}}
{{#switch: {{{deciduousforest}}}
|yes=[[Category: Deciduous forest (terrain)]]
|#default=}}
{{#switch: {{{grassland}}}
|yes=[[Category: Grassland (terrain)]]
|#default=}}
{{#switch: {{{hardflat}}}
|yes=[[Category: Hard, flat (terrain)]]
|#default=}}
{{#switch: {{{icyglacier}}}
|yes=[[Category: Icy glacier (terrain)]]
|#default=}}
{{#switch: {{{mountainous}}}
|yes=[[Category: Mountainous (terrain)]]
|#default=}}
{{#switch: {{{muddywetlands}}}
|yes=[[Category: Muddy wetlands (terrain)]]
|#default=}}
{{#switch: {{{plaindirt}}}
|yes=[[Category: Plain dirt (terrain)]]
|#default=}}
{{#switch: {{{riparian}}}
|yes=[[Category: Riparian (terrain)]]
|#default=}}
{{#switch: {{{rough}}}
|yes=[[Category: Rough (terrain)]]
|#default=}}
{{#switch: {{{sandy}}}
|yes=[[Category: Sandy (terrain)]]
|#default=}}
{{#switch: {{{subterranean}}}
|yes=[[Category: Subterranean (terrain)]]
|#default=}}
{{#switch: {{{tropical}}}
|yes=[[Category: Tropical (terrain)]]
|#default=}}
</includeonly>

<noinclude>{{Work-in-progress}}
<noinclude>{{Work-in-progress}}
This template is being developed as part of a larger comprehensive foraging system project. It is NOT yet ready for general use. Direct questions to [[User_talk:HATESHI]].
This template is being developed as part of a larger comprehensive foraging system project. It is NOT yet ready for general use. Direct questions to [[User_talk:HATESHI]].

Revision as of 20:02, 5 October 2022

{{{fullname}}}
Foraging syntax {{{syntax}}}
Plant type {{{type}}}
This article is a work in progress!

This template is being developed as part of a larger comprehensive foraging system project. It is NOT yet ready for general use. Direct questions to User_talk:HATESHI.

Usage:

{{ForageSidebar
|fullname= <!--- Full name of plant, including a/an/some. --->
|syntax= <!--- Foraging syntax, which takes the form of 1+2 consecutive words from the adjective 15 plus the full noun. --->
|type= <!--- Type of plant.  Valid options:  TBD. --->
|realm= <!--- Not yet implemented.  --->
|climate= <!--- TBD --->
|terrain= <!--- TBD --->
|outdoors= <!--- Confirmed if found in outdoor rooms.  Valid options:  yes, no, blank if unknown. --->
|indoors= <!--- Confirmed if found in indoor rooms.  Valid options:  yes, no, blank if unknown. --->
|day=<!--- Confirmed if found in local daytime.  Valid options:  yes, no, blank if unknown. --->
|night= <!--- Confirmed if found in local nighttime.  Valid options:  yes, no, blank if unknown. --->
|specialflags= <!--- Confirmed special parameters or room flags.  Examples:  node, anti-magic room, special placement, etc. --->
|edible= <!--- Is this edible?  Valid options:  yes, no, blank if unknown. --->
|property= <!--- What special properties does it have?  If none, leave blank. --->
|bundle= <!--- Can it be bundled?  Valid options:  yes, no, blank if unknown. --->
|wearable= <!--- Can it be worn in its foraged state?  Valid options:  yes, no, blank if unknown. --->
|system= <!--- Is it associated with any core systems?  Valid options:  TBD. --->
|note= <!--- Any special notes about item?  BRIEF NOTES ONLY. --->
|bounty= <!--- Confirmed bounty point cost when turned in?  If unknown, leave blank. --->
|}}

Intended to be used with Template:ForageData.