Template:Crystal: Difference between revisions
Template page
More actions
Aurelianus (talk | contribs) Use native image field fallback without ParserFunctions |
Clean Cargo schema and editing workflow |
||
| Line 6: | Line 6: | ||
|PreferredLuck={{{preferred luck|}}} | |PreferredLuck={{{preferred luck|}}} | ||
|Technique={{{technique|}}} | |Technique={{{technique|}}} | ||
|Description={{{description|}}} | |Description={{{description|}}} | ||
}} | }} | ||
| Line 15: | Line 13: | ||
<div class="hw-record-summary">{{{description|No description available.}}}</div> | <div class="hw-record-summary">{{{description|No description available.}}}</div> | ||
</div> | </div> | ||
<div class="hw-record-actions">[[Special:FormEdit/Crystal/{{FULLPAGENAME}}|Edit record]] [{{fullurl:Special:MultiPageEdit|template=Crystal&form=Crystal}} Bulk edit crystals] [{{fullurl:{{FULLPAGENAME}}|action=delete}} Delete record]</div> | |||
<div class="hw-infobox hw-crystal-infobox hw-crystal-rarity-{{{rarity|Unknown}}}"> | <div class="hw-infobox hw-crystal-infobox hw-crystal-rarity-{{{rarity|Unknown}}}"> | ||
<div class="hw-infobox-title">{{{name|{{PAGENAME}}}}}</div> | <div class="hw-infobox-title">{{{name|{{PAGENAME}}}}}</div> | ||
| Line 25: | Line 24: | ||
<div class="hw-infobox-row"><div class="hw-infobox-label">Preferred Luck</div><div class="hw-infobox-value">×{{{preferred luck|—}}}</div></div> | <div class="hw-infobox-row"><div class="hw-infobox-label">Preferred Luck</div><div class="hw-infobox-value">×{{{preferred luck|—}}}</div></div> | ||
<div class="hw-infobox-row"><div class="hw-infobox-label">Technique</div><div class="hw-infobox-value">×{{{technique|—}}}</div></div> | <div class="hw-infobox-row"><div class="hw-infobox-label">Technique</div><div class="hw-infobox-value">×{{{technique|—}}}</div></div> | ||
<div class="hw-infobox-heading">Preferred Herbs</div> | <div class="hw-infobox-heading">Preferred Herbs</div> | ||
<div class="hw-infobox-blurb">{{# | <div class="hw-infobox-blurb">{{#cargo_query: | ||
tables=Herbs | |||
|fields=_pageName | |||
|where=PreferredCrystals HOLDS "{{PAGENAME}}" | |||
|order by=_pageName | |||
|format=list | |||
|default=None recorded | |||
}}</div> | |||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 37: | Line 42: | ||
|PreferredLuck=Float | |PreferredLuck=Float | ||
|Technique=Float | |Technique=Float | ||
|Description=Text | |Description=Text | ||
}} | }} | ||
This template stores and displays one centralized crystal record. | This template stores and displays one centralized crystal record. Crystal weight is no longer part of the data model. Preferred herbs are derived from the canonical <code>Herbs.PreferredCrystals</code> relation and are never stored independently here. | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:04, 13 September 2026
This template defines the table "Crystals". View table.
This template stores and displays one centralized crystal record. Crystal weight is no longer part of the data model. Preferred herbs are derived from the canonical Herbs.PreferredCrystals relation and are never stored independently here.