Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Herb: Difference between revisions

Template page
Fix Cargo field name and finalize centralized herb schema
Handle empty Herb preference values cleanly
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
|DegreeRange={{{degree range|}}}
|DegreeRange={{{degree range|}}}
|PreferredCrystals={{{preferred crystals|}}}
|PreferredCrystals={{{preferred crystals|}}}
|PreferredWeather={{{preferred weather|}}}
|PreferredTimeOfDay={{{preferred time of day|}}}
|PreferredYear={{{preferred year|}}}
|Description={{{description|}}}
|Description={{{description|}}}
}}
}}
Line 27: Line 30:
<div class="hw-infobox-row"><div class="hw-infobox-label">Rarity</div><div class="hw-infobox-value">{{{rarity|Unknown}}}</div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Rarity</div><div class="hw-infobox-value">{{{rarity|Unknown}}}</div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Preferred Crystals</div><div class="hw-infobox-value">{{#arraymap:{{{preferred crystals|}}}|;|crystal|[[crystal]]|, }}</div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Preferred Crystals</div><div class="hw-infobox-value">{{#arraymap:{{{preferred crystals|}}}|;|crystal|[[crystal]]|, }}</div></div>
<div class="hw-infobox-heading">Growing Preferences</div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Preferred Weather</div><div class="hw-infobox-value"><span class="hw-preference-value">{{#arraymap:{{{preferred weather|}}}|;|weather|[[weather]]|, }}</span><span class="hw-preference-none">None</span></div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Preferred Time of Day</div><div class="hw-infobox-value"><span class="hw-preference-value">{{{preferred time of day|}}}</span><span class="hw-preference-none">None</span></div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Preferred Year</div><div class="hw-infobox-value"><span class="hw-preference-value">{{{preferred year|}}}</span><span class="hw-preference-none">None</span></div></div>
<div class="hw-infobox-heading">Gathering Profile</div>
<div class="hw-infobox-heading">Gathering Profile</div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Weight</div><div class="hw-infobox-value">{{{weight|—}}}</div></div>
<div class="hw-infobox-row"><div class="hw-infobox-label">Weight</div><div class="hw-infobox-value">{{{weight|—}}}</div></div>
Line 51: Line 58:
|DegreeRange=Integer
|DegreeRange=Integer
|PreferredCrystals=List (;) of Page
|PreferredCrystals=List (;) of Page
|PreferredWeather=List (;) of Page
|PreferredTimeOfDay=String
|PreferredYear=String
|Description=Text
|Description=Text
}}
}}
Line 63: Line 73:
| rarity = Common
| rarity = Common
| preferred crystals = Flame Crystal
| preferred crystals = Flame Crystal
| preferred weather = Storm
| preferred time of day = Night
| preferred year = Year 1
| weight = 100
| weight = 100
| speed = 1.5
| speed = 1.5

Latest revision as of 13:42, 27 July 2026

This template defines the table "Herbs". View table. This template stores and displays one centralized herb record.

Usage

{{Herb
| name = Crimson Sun Grass
| key = CrimsonSun
| location = Vast World
| rarity = Common
| preferred crystals = Flame Crystal
| preferred weather = Storm
| preferred time of day = Night
| preferred year = Year 1
| weight = 100
| speed = 1.5
| attack rate = 1
| average size = 0.5
| size range = 0.2
| average price = 15
| degree range = 30
| description = A common herb found in Vast World.
}}
Contents