Template:ForageData: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(I am probably about to horribly break something)
 
(Splitting into two templates, ForageData & ForageSidebar.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| style="width: 20em; margin: 10px 1px 10px 10px; clear:both; background:#FFF; float:right;"
| align = center |
{| style="border: 2px #aaa solid; width: 100%; font-size: 95%; text-align: left;"
! colspan=2 style="background:#005682; color: white; font-size: larger; text-align: center;" | '''{{{fullname}}}''' <!-- REQUIRED FIELD-->
|-
! Foraging syntax
| align="right" valign="top" style="white-space: nowrap;" | {{{syntax}}} <!-- REQUIRED FIELD-->
|-
! Plant type
| align="right" valign="top" style="white-space: nowrap;" | {{{type}}} <!-- REQUIRED FIELD-->
|-
{{#if: {{{realm|}}} |
! valign="top" {{!}} Realms found
{{!}} align="right" valign="top" {{!}} {{{realm}}} {{#if: {{{realm2|}}} |
<br>{{{realm2}}} |}} {{#if: {{{realm3|}}} |
<br>{{{realm3}}} |}} {{#if: {{{realm4|}}} |
<br>{{{realm4}}} |}} {{#if: {{{realm5|}}} |
<br>{{{realm5}}} |}} {{#if: {{{realm6|}}} |
<br>{{{realm6}}} |}} {{#if: {{{realm7|}}} |
<br>{{{realm7}}} |}} {{#if: {{{realm8|}}} |
<br>{{{realm8}}} |}} {{#if: {{{realm9|}}} |
<br>{{{realm9}}} |}} {{#if: {{{realm10|}}} |
<br>{{{realm10}}} |}} {{#if: {{{realm11|}}} |
<br>{{{realm11}}} |}} {{#if: {{{realm12|}}} |
<br>{{{realm12}}} |}} {{#if: {{{realm13|}}} |
<br>{{{realm13}}} |}} {{#if: {{{realm14|}}} |
<br>{{{realm14}}} |}} {{#if: {{{realm15|}}} |
<br>{{{realm15}}} |}} {{#if: {{{realm16|}}} |
<br>{{{realm16}}} |}} {{#if: {{{realm17|}}} |
<br>{{{realm17}}} |}} {{#if: {{{realm18|}}} |
<br>{{{realm18}}} |}} {{#if: {{{realm19|}}} |
<br>{{{realm19}}} |}} {{#if: {{{realm20|}}} |
<br>{{{realm20}}} |}}
{{!}}- |}}
{{#if: {{{climate|}}} |
! valign="top" {{!}} Climates
{{!}} align="right" valign="top" {{!}} {{{climate}}} {{#if: {{{climate2|}}} |
<br>{{{climate2}}} |}} {{#if: {{{climate3|}}} |
<br>{{{climate3}}} |}} {{#if: {{{climate4|}}} |
<br>{{{climate4}}} |}} {{#if: {{{climate5|}}} |
<br>{{{climate5}}} |}} {{#if: {{{climate6|}}} |
<br>{{{climate6}}} |}} {{#if: {{{climate7|}}} |
<br>{{{climate7}}} |}} {{#if: {{{climate8|}}} |
<br>{{{climate8}}} |}} {{#if: {{{climate9|}}} |
<br>{{{climate9}}} |}} {{#if: {{{climate10|}}} |
<br>{{{climate10}}} |}} {{#if: {{{climate11|}}} |
<br>{{{climate11}}} |}} {{#if: {{{climate12|}}} |
<br>{{{climate12}}} |}} {{#if: {{{climate13|}}} |
<br>{{{climate13}}} |}} {{#if: {{{climate14|}}} |
<br>{{{climate14}}} |}} {{#if: {{{climate15|}}} |
<br>{{{climate15}}} |}} {{#if: {{{climate16|}}} |
<br>{{{climate16}}} |}} {{#if: {{{climate17|}}} |
<br>{{{climate17}}} |}} {{#if: {{{climate18|}}} |
<br>{{{climate18}}} |}} {{#if: {{{climate19|}}} |
<br>{{{climate19}}} |}} {{#if: {{{climate20|}}} |
<br>{{{climate20}}} |}}
{{!}}- |}}
{{#if: {{{terrain|}}} |
! valign="top" {{!}} Terrains
{{!}} align="right" valign="top" {{!}} {{{terrain}}} {{#if: {{{terrain2|}}} |
<br>{{{terrain2}}} |}} {{#if: {{{terrain3|}}} |
<br>{{{terrain3}}} |}} {{#if: {{{terrain4|}}} |
<br>{{{terrain4}}} |}} {{#if: {{{terrain5|}}} |
<br>{{{terrain5}}} |}} {{#if: {{{terrain6|}}} |
<br>{{{terrain6}}} |}} {{#if: {{{terrain7|}}} |
<br>{{{terrain7}}} |}} {{#if: {{{terrain8|}}} |
<br>{{{terrain8}}} |}} {{#if: {{{terrain9|}}} |
<br>{{{terrain9}}} |}} {{#if: {{{terrain10|}}} |
<br>{{{terrain10}}} |}} {{#if: {{{terrain11|}}} |
<br>{{{terrain11}}} |}} {{#if: {{{terrain12|}}} |
<br>{{{terrain12}}} |}} {{#if: {{{terrain13|}}} |
<br>{{{terrain13}}} |}} {{#if: {{{terrain14|}}} |
<br>{{{terrain14}}} |}} {{#if: {{{terrain15|}}} |
<br>{{{terrain15}}} |}} {{#if: {{{terrain16|}}} |
<br>{{{terrain16}}} |}} {{#if: {{{terrain17|}}} |
<br>{{{terrain17}}} |}} {{#if: {{{terrain18|}}} |
<br>{{{terrain18}}} |}} {{#if: {{{terrain19|}}} |
<br>{{{terrain19}}} |}} {{#if: {{{terrain20|}}} |
<br>{{{terrain20}}} |}}
{{!}}- |}}
{{#if: {{{outdoors|}}} |
! valign="top" {{!}} Found outdoors
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{outdoors}}}
{{!}}- |}}
{{#if: {{{indoors|}}} |
! valign="top" {{!}} Found indoors
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{indoors}}}
{{!}}- |}}
{{#if: {{{day|}}} |
! valign="top" {{!}} Grows in daytime
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{day}}}
{{!}}- |}}
{{#if: {{{night|}}} |
! valign="top" {{!}} Grows at night
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{night}}}
{{!}}- |}}
{{#if: {{{specialflags|}}} |
! valign="top" {{!}} Special parameters
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{specialflags}}}
{{!}}- |}}
{{#if: {{{edible|}}} |
! valign="top" {{!}} Edible
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{edible}}}
{{!}}- |}}
{{#if: {{{property|}}} |
! valign="top" {{!}} Special properties
{{!}} align="right" valign="top" {{!}} {{{property}}} {{#if: {{{property2|}}} |
<br>{{{property2}}} |}} {{#if: {{{property3|}}} |
<br>{{{property3}}} |}} {{#if: {{{property4|}}} |
<br>{{{property4}}} |}} {{#if: {{{property5|}}} |
<br>{{{property5}}} |}}
{{!}}- |}}
{{#if: {{{bundle|}}} |
! valign="top" {{!}} Can be bundled
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{bundle}}}
{{!}}- |}}
{{#if: {{{wearable|}}} |
! valign="top" {{!}} Can be worn
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{wearable}}}
{{!}}- |}}
{{#if: {{{system|}}} |
! valign="top" {{!}} Systems used in
{{!}} align="right" valign="top" {{!}} {{{system}}} {{#if: {{{system2|}}} |
<br>{{{system2}}} |}} {{#if: {{{system3|}}} |
<br>{{{system3}}} |}} {{#if: {{{system4|}}} |
<br>{{{system4}}} |}} {{#if: {{{system5|}}} |
<br>{{{system5}}} |}}
{{!}}- |}}
{{#if: {{{note|}}} |
! valign="top" {{!}} Special note
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{note}}}
{{!}}- |}}
{{#if: {{{bounty|}}} |
! valign="top" {{!}} Bounty points
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{bounty}}}
{{!}}- |}}
|}
|}
==={{{fullname}}}===
==={{{fullname}}}===
'''Description:''' &nbsp;&nbsp;{{{description}}}
'''Description:''' &nbsp;&nbsp;{{{description}}}
Line 151: Line 13:


Usage:
Usage:
<pre{{log2}}>
<pre{{log2}}><nowiki>
{{ForageData
{{ForageData
|fullname = <!--- REQUIRED. Complete plant name, including a/an/some. Should be same as item page. --->
|fullname= <!--- Full name of plant, including a/an/some. --->
|description= <!--- Detailed physical description of plant, if available. --->
|syntax = <!--- REQUIRED. System requires optional 1+2 words in order from adjective 15, plus full noun. (eg., "pink mushroom" or "pink and mushroom", not "pink and violet mushroom") --->
|type = <!--- REQUIRED. Valid options are: TBD --->
|lore= <!--- Detailed lore snippets about plant, if available. --->
|realm = <!--- Confirmed list of REALMS (not locations)? Can add up to 20 via realm2, realm3, etc. Valid options are: TBD --->
|gameappearances= <!--- Locations in game where the plant is referenced in room descriptions, etc., apart from the foraging system. --->
|related= <!--- Related plants/pages, such as "Yew" and "Yew twig", or "Red passionflower" and "Blue passionflower". --->
|climate = <!--- Confirmed list of climates? Can add up to 20 via climate2, climate3, etc. Valid options are: TBD --->
|references= <!--- Links to documents referencing this plant. --->
|terrain = <!--- Confirmed list of terrains? Can add up to 20 via terrain2, terrain3, etc. Valid options are: TBD --->
|outdoor = <!--- Confirmed found outside? Valid options are: yes, no --->
|image= <!--- Illustration component to be implemented later. --->
|}}
|indoor = <!--- Confirmed found inside? Valid options are: yes, no --->
</nowiki></pre>
|day = <!--- Confirmed found during localized day? Valid options are: yes, no --->
Intended to be used with [[Template:ForageSidebar]].</noinclude>
|night = <!--- Confirmed found during localized night? Valid options are: yes, no--->
|specialflags = <!--- What special room flags are required, if any? (eg. node, anti-magic, special placement) --->
|edible = <!--- Can you eat it? Valid options are: yes, no --->
|property = <!--- What special properties does it have? Can add up to 5 via property2, property3, etc. (eg., healing, poisonous, remove disease) --->
|bundle = <!--- Can it be bundled? Valid options are: yes, no --->
|wearable = <!--- Can it be worn in its foraged state? Valid options are: yes, no --->
|system = <!--- Can add up to 5 via system2, system 3, etc. Valid options are: TBD --->
|note = <!--- Special note section for sidebar. Detailed notes belong in description. --->
|bounty = <!--- Bounty points when turned in. Not applicable for all plants. --->
|description = <!--- Detailed description of plant. --->
|lore = <!--- Detailed lore info about plant. Supports basic formatting. --->
|image = <!--- Space for illustration image, to be formatted later. --->
|related = <!--- Section to include related items, such as [[Yew]] being associated with [[Yew twig]], or [[Blue passionflower]] associated with [[Red passionflower]]. Can support paragraphs and lists. --->
|references = <!--- Section to accommodate list of documents referencing this plant. --->
|}
</pre>
</noinclude>

Latest revision as of 19:04, 2 October 2022

{{{fullname}}}

Description:   {{{description}}}

Lore:   {{{lore}}}

Appearances:   {{{gameappearances}}}

Related items:   {{{related}}}

References:   {{{references}}}

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:

{{ForageData
|fullname= <!--- Full name of plant, including a/an/some. --->
|description= <!--- Detailed physical description of plant, if available. --->
|lore= <!--- Detailed lore snippets about plant, if available. --->
|gameappearances= <!--- Locations in game where the plant is referenced in room descriptions, etc., apart from the foraging system. --->
|related= <!--- Related plants/pages, such as "Yew" and "Yew twig", or "Red passionflower" and "Blue passionflower". --->
|references= <!--- Links to documents referencing this plant. --->
|image= <!--- Illustration component to be implemented later. --->
|}}

Intended to be used with Template:ForageSidebar.