Difference between revisions of "Form:Item"

From ChatWars Wiki
Jump to: navigation, search
(testing show on select)
(testing show on select)
Line 39: Line 39:
 
|-
 
|-
 
! Item type:  
 
! Item type:  
| {{{field|ItemType|mandatory|values from property=ItemType|show on select = Protective Gear=>ArmorClassField;}}}
+
| {{{field|ItemType|mandatory|values from property=ItemType}}}
 
|-
 
|-
 
! Item subtype:  
 
! Item subtype:  
 
| {{{field|ItemSubType|values from property=ItemSubType}}}
 
| {{{field|ItemSubType|values from property=ItemSubType}}}
 
|-
 
|-
<div id="ArmorClassField">
 
! Test Armor class (type):
 
| {{{field|TestArmorClass|values from property=ArmorClass}}}
 
|-
 
</div>
 
 
! Armor class (type):  
 
! Armor class (type):  
 
| {{{field|ArmorClass|values from property=ArmorClass}}}
 
| {{{field|ArmorClass|values from property=ArmorClass}}}
Line 135: Line 130:
 
|-
 
|-
 
! Is findable in Quest?
 
! Is findable in Quest?
| {{{field|BoolQuest|input type=radiobutton}}}
+
| {{{field|BoolQuest|input type=radiobutton|show on select = Yes=>DropInfoSection}}}
 
| If not findable, leave entire rest of the section empty
 
| If not findable, leave entire rest of the section empty
 
|-
 
|-
 +
<div id = "DropInfoSection">
 
! Minimum ''Player'' level to find in Quest:  
 
! Minimum ''Player'' level to find in Quest:  
 
| {{{field|PlayerQuestMinLevel}}}
 
| {{{field|PlayerQuestMinLevel}}}
Line 201: Line 197:
 
| {{{field|QuestForayNight|input type=radiobutton}}}
 
| {{{field|QuestForayNight|input type=radiobutton}}}
 
|-
 
|-
 +
</div>
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Enchantment
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Enchantment
 
|-
 
|-

Revision as of 14:11, 22 October 2019

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 a 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 ares at the end of 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" which just appends any and all text to the end of the article.