Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Form:Herb: Difference between revisions

From HarvestWiki
Create structured Herb data-entry form
 
Add Herb preference fields
 
(2 intermediate revisions by the same user not shown)
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>Preferred weather</strong>{{{field|preferred weather|input type=tokens|values from category=Weather|list|delimiter=;|restricted=sysop}}}</div>
<div><strong>Speed</strong>{{{field|speed|input type=number}}}</div>
<div><strong>Preferred time of day</strong>{{{field|preferred time of day|input type=text|restricted=sysop}}}</div>
<div><strong>Attack rate</strong>{{{field|attack rate|input type=number}}}</div>
<div><strong>Preferred year</strong>{{{field|preferred year|input type=text|restricted=sysop}}}</div>
<div><strong>Average size</strong>{{{field|average size|input type=number}}}</div>
<div><strong>Weight</strong>{{{field|weight|input type=number|restricted=sysop}}}</div>
<div><strong>Size range</strong>{{{field|size range|input type=number}}}</div>
<div><strong>Speed</strong>{{{field|speed|input type=number|restricted=sysop}}}</div>
<div><strong>Average price</strong>{{{field|average price|input type=number}}}</div>
<div><strong>Attack rate</strong>{{{field|attack rate|input type=number|restricted=sysop}}}</div>
<div><strong>Degree range</strong>{{{field|degree range|input type=number}}}</div>
<div><strong>Average size</strong>{{{field|average size|input type=number|restricted=sysop}}}</div>
<div class="hw-form-wide"><strong>Description</strong>{{{field|description|input type=textarea|rows=4}}}</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|restricted=sysop}}}</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|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>

Latest revision as of 13:35, 27 July 2026

This form creates and edits centralized Herb records.