Form:Crystal: Difference between revisions
From HarvestWiki
More actions
Aurelianus (talk | contribs) Create structured Crystal data-entry form |
Aurelianus (talk | contribs) Restrict Crystal records to administrators |
||
| 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>Administrator access required.</strong> Crystal records may only be created or changed by wiki administrators.</div> | |||
{{{for template|Crystal}}} | {{{for template|Crystal}}} | ||
<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|mandatory|restricted=sysop}}}</div> | ||
<div><strong>Universal luck</strong>{{{field|universal luck|input type=number}}}</div> | <div><strong>Universal luck</strong>{{{field|universal luck|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Preferred luck</strong>{{{field|preferred luck|input type=number}}}</div> | <div><strong>Preferred luck</strong>{{{field|preferred luck|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Technique</strong>{{{field|technique|input type=number}}}</div> | <div><strong>Technique</strong>{{{field|technique|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Loot weight</strong>{{{field|weight|input type=number}}}</div> | <div><strong>Loot weight</strong>{{{field|weight|input type=number|restricted=sysop}}}</div> | ||
<div class="hw-form-wide"><strong>Preferred herbs</strong>{{{field|preferred herbs|input type=tokens|values from category=Herbs|list|delimiter=;}}}</div> | <div class="hw-form-wide"><strong>Preferred herbs</strong>{{{field|preferred herbs|input type=tokens|values from category=Herbs|list|delimiter=;|restricted=sysop}}}</div> | ||
<div class="hw-form-wide"><strong>Description</strong>{{{field|description|input type=textarea|rows=4}}}</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=12}}}</div> | <div class="hw-form-wide"><strong>Article content</strong>{{{standard input|free text|rows=12|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> | ||
Revision as of 17:43, 26 July 2026
This form creates and edits centralized Crystal records.