Form:Crystal: Difference between revisions
From HarvestWiki
More actions
Aurelianus (talk | contribs) Create structured Crystal data-entry form |
Improve structured-data editing experience |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>This form creates and edits centralized Crystal records.</noinclude><includeonly> | <noinclude>This form creates and edits centralized Crystal records.</noinclude><includeonly> | ||
<div class="hw-form-shell"> | <div class="hw-form-shell"> | ||
<div class="hw-note"><strong>Preferred herbs are automatic.</strong> Manage affinities from the Preferred crystals field on Herb records; crystals read that relationship live.</div> | |||
{{{for template|Crystal}}} | {{{for template|Crystal}}} | ||
<h3>Identity</h3> | |||
<div class="hw-form-grid"> | <div class="hw-form-grid"> | ||
<div><strong>Name</strong>{{{field|name|input type=text|mandatory}}}</div> | <div><strong>Name</strong>{{{field|name|input type=text|mandatory|restricted=sysop}}}</div> | ||
<div><strong>Rarity</strong>{{{field|rarity|input type=dropdown|values=Mortal,Refined,Spirit|mandatory}}}</div> | <div><strong>Rarity</strong>{{{field|rarity|input type=dropdown|values=Mortal,Refined,Spirit,Earth|mandatory|restricted=sysop}}}</div> | ||
<div><strong> | <div class="hw-form-wide"><strong>Image wikitext</strong>{{{field|image|input type=text|placeholder=File:Example.png|restricted=sysop}}}</div> | ||
<div>< | </div> | ||
<div><strong> | <h3>Effects</h3> | ||
<div><strong> | <div class="hw-form-grid"> | ||
<div | <div><strong>Universal luck</strong>{{{field|universal luck|input type=number|restricted=sysop}}}</div> | ||
<div class="hw-form-wide"><strong>Description</strong>{{{field|description|input type=textarea|rows=4}}}</div> | <div><strong>Preferred luck</strong>{{{field|preferred luck|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Technique</strong>{{{field|technique|input type=number|restricted=sysop}}}</div> | |||
<div class="hw-form-wide"><strong>Description</strong>{{{field|description|input type=textarea|rows=4|restricted=sysop}}}</div> | |||
</div> | </div> | ||
{{{end template}}} | {{{end template}}} | ||
<div class="hw-form-wide"><strong>Article content</strong>{{{standard input|free text|rows= | <div class="hw-note">To change this crystal's preferred herbs, use the [{{fullurl:Special:MultiPageEdit|template=Herb&form=Herb}} Herb bulk editor] and update the affected herbs.</div> | ||
<div class="hw-form-wide"><strong>Article content</strong>{{{standard input|free text|rows=10|restricted=sysop}}}</div> | |||
<div class="hw-form-actions">{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}</div> | <div class="hw-form-actions">{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}</div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 22:18, 13 September 2026
This form creates and edits centralized Crystal records.