Template:Herb: Difference between revisions
Template page
More actions
Aurelianus (talk | contribs) Handle empty Herb preference values cleanly |
Clean Cargo schema and editing workflow |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 5: | Line 5: | ||
|Rarity={{{rarity|Unknown}}} | |Rarity={{{rarity|Unknown}}} | ||
|Location={{{location|Unknown}}} | |Location={{{location|Unknown}}} | ||
|Speed={{{speed|}}} | |Speed={{{speed|}}} | ||
|AttackRate={{{attack rate|}}} | |AttackRate={{{attack rate|}}} | ||
| Line 23: | Line 22: | ||
<div class="hw-record-summary">{{{rarity|Unknown}}} herb · Documented in [[{{{location|Unknown}}}]]</div> | <div class="hw-record-summary">{{{rarity|Unknown}}} herb · Documented in [[{{{location|Unknown}}}]]</div> | ||
</div> | </div> | ||
<div class="hw-record-actions">[[Special:FormEdit/Herb/{{FULLPAGENAME}}|Edit record]] [{{fullurl:Special:MultiPageEdit|template=Herb&form=Herb}} Bulk edit herbs] [{{fullurl:{{FULLPAGENAME}}|action=delete}} Delete record]</div> | |||
<div class="hw-infobox hw-herb-infobox hw-rarity-{{{rarity|Unknown}}}"> | <div class="hw-infobox hw-herb-infobox hw-rarity-{{{rarity|Unknown}}}"> | ||
<div class="hw-infobox-title">{{{name|{{PAGENAME}}}}}</div> | <div class="hw-infobox-title">{{{name|{{PAGENAME}}}}}</div> | ||
<div class="hw-infobox-badge">{{{rarity|Unknown}}} specimen</div> | <div class="hw-infobox-badge">{{{rarity|Unknown}}} specimen</div> | ||
<div class="hw-infobox-image" role="group" aria-label="Image for {{{name|{{PAGENAME}}}}}"> | |||
{{{image|<div class="hw-infobox-image-empty">No Picture Uploaded</div>}}} | |||
</div> | |||
<div class="hw-infobox-heading">Herb Properties</div> | <div class="hw-infobox-heading">Herb Properties</div> | ||
<div class="hw-infobox-row"><div class="hw-infobox-label">Location</div><div class="hw-infobox-value">[[{{{location|Unknown}}}]]</div></div> | <div class="hw-infobox-row"><div class="hw-infobox-label">Location</div><div class="hw-infobox-value">[[{{{location|Unknown}}}]]</div></div> | ||
| Line 35: | Line 38: | ||
<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-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">Speed</div><div class="hw-infobox-value">{{{speed|—}}}</div></div> | <div class="hw-infobox-row"><div class="hw-infobox-label">Speed</div><div class="hw-infobox-value">{{{speed|—}}}</div></div> | ||
<div class="hw-infobox-row"><div class="hw-infobox-label">Attack Rate</div><div class="hw-infobox-value">{{{attack rate|—}}}</div></div> | <div class="hw-infobox-row"><div class="hw-infobox-label">Attack Rate</div><div class="hw-infobox-value">{{{attack rate|—}}}</div></div> | ||
| Line 50: | Line 52: | ||
|Rarity=String | |Rarity=String | ||
|Location=Page | |Location=Page | ||
|Speed=Float | |Speed=Float | ||
|AttackRate=Float | |AttackRate=Float | ||
| Line 63: | Line 64: | ||
|Description=Text | |Description=Text | ||
}} | }} | ||
This template stores and displays one centralized herb record. | This template stores and displays one centralized herb record. Herb weight is no longer part of the data model. The Preferred crystals field is the canonical source for the herb–crystal relationship. | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:04, 13 September 2026
This template defines the table "Herbs". View table. This template stores and displays one centralized herb record. Herb weight is no longer part of the data model. The Preferred crystals field is the canonical source for the herb–crystal relationship.