Form:Herb: Difference between revisions
From HarvestWiki
More actions
Aurelianus (talk | contribs) Create structured Herb data-entry form |
Aurelianus (talk | contribs) Restrict Herb record fields and article content to sysops |
||
| Line 1: | Line 1: | ||
<noinclude>This form creates and edits centralized Herb records.</noinclude><includeonly> | <noinclude>This form creates and edits centralized Herb records.</noinclude><includeonly> | ||
<div class="hw-form-shell"> | <div class="hw-form-shell"> | ||
<div class="hw-note"><strong>Administrator access required.</strong> Herb records may only be created or changed by wiki administrators.</div> | |||
{{{for template|Herb}}} | {{{for template|Herb}}} | ||
<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>Internal key</strong>{{{field|key|input type=text|mandatory}}}</div> | <div><strong>Internal key</strong>{{{field|key|input type=text|mandatory|restricted=sysop}}}</div> | ||
<div><strong>Location</strong>{{{field|location|input type=text with autocomplete|values from category=Locations|mandatory}}}</div> | <div><strong>Location</strong>{{{field|location|input type=text with autocomplete|values from category=Locations|mandatory|restricted=sysop}}}</div> | ||
<div><strong>Rarity</strong>{{{field|rarity|input type=dropdown|values=Common,Uncommon,Rare,Legendary,Mythic|mandatory}}}</div> | <div><strong>Rarity</strong>{{{field|rarity|input type=dropdown|values=Common,Uncommon,Rare,Legendary,Mythic|mandatory|restricted=sysop}}}</div> | ||
<div><strong>Preferred crystals</strong>{{{field|preferred crystals|input type=tokens|values from category=Crystals|list|delimiter=;}}}</div> | <div><strong>Preferred crystals</strong>{{{field|preferred crystals|input type=tokens|values from category=Crystals|list|delimiter=;|restricted=sysop}}}</div> | ||
<div><strong>Weight</strong>{{{field|weight|input type=number}}}</div> | <div><strong>Weight</strong>{{{field|weight|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Speed</strong>{{{field|speed|input type=number}}}</div> | <div><strong>Speed</strong>{{{field|speed|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Attack rate</strong>{{{field|attack rate|input type=number}}}</div> | <div><strong>Attack rate</strong>{{{field|attack rate|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Average size</strong>{{{field|average size|input type=number}}}</div> | <div><strong>Average size</strong>{{{field|average size|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Size range</strong>{{{field|size range|input type=number}}}</div> | <div><strong>Size range</strong>{{{field|size range|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Average price</strong>{{{field|average price|input type=number}}}</div> | <div><strong>Average price</strong>{{{field|average price|input type=number|restricted=sysop}}}</div> | ||
<div><strong>Degree range</strong>{{{field|degree range|input type=number}}}</div> | <div><strong>Degree range</strong>{{{field|degree range|input type=number|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:16, 26 July 2026
This form creates and edits centralized Herb records.