Difference between revisions of "Form:Item"

From ChatWars Wiki
Jump to: navigation, search
m
(formatting update)
Line 47: Line 47:
 
|-
 
|-
 
! Item subtype:  
 
! Item subtype:  
| {{{field|ItemSubType|values from property=ItemSubType|show on select=Potion=>PotionSection;}}}
+
| {{{field|ItemSubType|values from property=ItemSubType|show on select=Potion=>PotionSection;Bow=>AmmunitionSection;}}}
 
|-
 
|-
 
| colspan="3" style="padding: 0; margin: 0;" |
 
| colspan="3" style="padding: 0; margin: 0;" |
Line 123: Line 123:
 
| Minimum player level for item to be equipped. For [[Recipe (Item)|recipes]] and [[Piece of Equipment|parts]] enter the requirement of the finished item.
 
| Minimum player level for item to be equipped. For [[Recipe (Item)|recipes]] and [[Piece of Equipment|parts]] enter the requirement of the finished item.
 
|-
 
|-
! Ammunition used:  
+
<div id="AmmunitionSection">
| {{{field|Ammunition|input type=listbox|values from category=Ammunition}}}
+
{| class="formtable" style="margin: 0; width: 100%;"
| Select with Ctrl-Click to select more than one, or to deselect all.
+
! {{#var: columnStyle1}} | Ammunition used:  
|-
+
| {{#var: columnStyle1}} | {{{field|Ammunition|input type=listbox|values from category=Ammunition}}}
 +
| {{#var: columnStyle2}} | Select with Ctrl-Click to select more than one, or to deselect all.
 +
|}</div>
 
! Depositable in guild:  
 
! Depositable in guild:  
 
| {{{field|BoolDepositGuild|input type=radiobutton}}}
 
| {{{field|BoolDepositGuild|input type=radiobutton}}}
Line 302: Line 304:
 
  | Enter needed Quantity
 
  | Enter needed Quantity
 
  |-
 
  |-
  | {{{field|Personalized|input type=checkbox}}}
+
  | {{{field|Personalized|input type=checkbox|show on select=Yes=>PersonalizedSetSection;}}}
 
  |-
 
  |-
 
  | Check if is part of a personalized ingredient set (= resource that can be different for each player)
 
  | Check if is part of a personalized ingredient set (= resource that can be different for each player)
 
  |-
 
  |-
 +
<div id="PersonalizedSetSection">
 +
{| class="formtable" style="margin: 0; width: 100%;"
 
  | {{{field|PersonalizedSetNr|input type=text|placeholder=0}}}
 
  | {{{field|PersonalizedSetNr|input type=text|placeholder=0}}}
|-
 
 
  | Enter which personalized ingredient set this belongs to (0/empty if not part of one; 1, 2 or 3 for the set it belongs to)
 
  | Enter which personalized ingredient set this belongs to (0/empty if not part of one; 1, 2 or 3 for the set it belongs to)
|-
+
|}
 +
</div>
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

Revision as of 00:10, 5 October 2020

This is the "Item" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.

This form can be used to create and edit pages for items of following types:

as well as all corresponding sub types of the listed.

The form consists mostly of individual properties that need to be filled in. Nearly all of the page will be automatically designed and formatted based on the input in those properties. In case some information can't be entered into the given property fields (for example more detailed information to event items) there's two free text areas in the form:
One called "Text addition to first paragraph" - this adds the text in the text box at the end of the first paragraph, the other one "Free Text" right at the end of the form which just appends any and all text to the end of the article.