Difference between revisions of "Form:Item"

From ChatWars Wiki
Jump to: navigation, search
(again adding some changes that got reverted for some magical reason in another change)
(updated from Form:TestForm to have sections that aren't needed autohide intelligently)
Line 11: Line 11:
 
as well as all corresponding sub types of the listed.
 
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:<br>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.
+
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:<br>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.
 
{{#vardefine: bookEmoticon | Yellowpages}}
 
{{#vardefine: bookEmoticon | Yellowpages}}
  
Line 22: Line 22:
 
! colspan="3" style="text-align: center; padding-bottom: 0.8em" | General info
 
! colspan="3" style="text-align: center; padding-bottom: 0.8em" | General info
 
|-
 
|-
! Item ID:  
+
! {{#var: columnStyle1}} | Item ID:  
| {{{field|ItemID|mandatory|default=??}}}
+
| {{#var: columnStyle1}} | {{{field|ItemID|mandatory|default=??}}}
| ID of the item, see [[Master List of Item Codes]]
+
| {{#var: columnStyle2}} | ID of the item, see [[Master List of Item Codes]]
 
|-
 
|-
 
! In-game name:  
 
! In-game name:  
 
| {{{field|InGameName|default=??}}}
 
| {{{field|InGameName|default=??}}}
| Name of the item (exactly) as written in the game bot (including emojis)
+
| Name of the item as written in the  
 
|-
 
|-
! Is event item?  
+
! Is event item?
| {{{field|BoolEventItem|default=false}}}
+
| {{{field|BoolEventItem|default=false|show on select=true=>EventSection}}}
 
| If item is event exclusive or not
 
| If item is event exclusive or not
 
|-
 
|-
! Event:
+
| colspan="3" style="padding: 0; margin: 0;" |
| {{{field|Event}}}
+
<div id="EventSection">
| From which event this item comes from (name of the wiki page), leave empty if not applicable.
+
{| class="formtable" style="margin: 0; width: 100%;"
 +
! {{#var: columnStyle1}} | Name:
 +
| {{#var: columnStyle1}} | {{{field|Event}}}
 +
| {{#var: columnStyle2}} | From which event this item comes from (name of the wiki page)
 +
|}</div>
 
|-
 
|-
 
! Item type:  
 
! Item type:  
| {{{field|ItemType|mandatory|values from property=ItemType}}}
+
| {{{field|ItemType|mandatory|values from property=ItemType|show on select=Protective Gear=>ArmorClassSection; Cape=>EquippableStatsSection; Protective Gear=>EquippableStatsSection; Weapon=>EquippableStatsSection; Special Equippable=>EquippableStatsSection;}}}
 
|-
 
|-
 
! Item subtype:  
 
! Item subtype:  
| {{{field|ItemSubType|values from property=ItemSubType}}}
+
| {{{field|ItemSubType|values from property=ItemSubType|show on select=Potion=>PotionSection;}}}
 
|-
 
|-
! Armor class (type):  
+
| colspan="3" style="padding: 0; margin: 0;" |
| {{{field|ArmorClass|values from property=ArmorClass}}}
+
<div id="ArmorClassSection">
 +
{| class="formtable" style="margin: 0; width: 100%;"
 +
! {{#var: columnStyle1}} | Armor class (type):
 +
| {{#var: columnStyle1}} | {{{field|ArmorClass|values from property=ArmorClass}}}
 +
| {{#var: columnStyle2}} |
 +
|}</div>
 
|-
 
|-
 
! Detailed Description:  
 
! Detailed Description:  
Line 55: Line 64:
 
| Add note to current edit status of this page, e.g. "Finished", "needs error checking", "Drop info missing", ...
 
| Add note to current edit status of this page, e.g. "Finished", "needs error checking", "Drop info missing", ...
 
|-
 
|-
 +
| colspan="3" style="padding: 0; margin: 0;" |
 +
<div id="EquippableStatsSection">
 +
{| class="formtable" style="margin: 0; width: 100%;"
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Equippable item stats ''(Enter numbers only)''
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Equippable item stats ''(Enter numbers only)''
 
|-
 
|-
! Attack:  
+
! {{#var: columnStyle1}} | Attack:  
| {{{field|Attack}}}
+
| {{#var: columnStyle1}} | {{{field|Attack}}}
| Value of the attack stat
+
| {{#var: columnStyle2}} | Value of the attack stat
 
|-
 
|-
 
! Defense:  
 
! Defense:  
Line 67: Line 79:
 
! Mana:  
 
! Mana:  
 
| {{{field|Mana}}}
 
| {{{field|Mana}}}
| Value of the mana stat (This is NOT the mana needed to craft an item) - Enter this for all *equippables* even if it gives 0 Mana
+
| Value of the mana stat (This is NOT the mana needed to craft an item) - Always enter this even if it gives 0 Mana
 
|-
 
|-
 
! Stamina:  
 
! Stamina:  
Line 80: Line 92:
 
| {{{field|Luck}}}
 
| {{{field|Luck}}}
 
| Value of the luck stat (leave empty if not applicable)
 
| Value of the luck stat (leave empty if not applicable)
 +
|}</div>
 
|-
 
|-
 +
| colspan="3" style="padding: 0; margin: 0;" |
 +
<div id="PotionSection">
 +
{| class="formtable" style="margin: 0; width: 100%;"
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Potion info
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Potion info
 
|-
 
|-
! Base duration:  
+
! {{#var: columnStyle1}} | Base duration:  
| {{{field|BaseDuration}}}
+
| {{#var: columnStyle1}} | {{{field|BaseDuration}}}
| Effect duration (in minutes) of a potion (without [[Rare Mutation]])
+
| {{#var: columnStyle2}} | Effect duration in minutes (without [[Rare Mutation]])
 
|-
 
|-
 
! Effect (for Potions):  
 
! Effect (for Potions):  
 
| {{{field|PotionEffect}}}
 
| {{{field|PotionEffect}}}
| Effect description of a potion
+
| Effect description
 +
|}</div>
 
|-
 
|-
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Misc
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Misc
Line 107: Line 124:
 
! Ammunition used:  
 
! Ammunition used:  
 
| {{{field|Ammunition|input type=listbox|values from category=Ammunition}}}
 
| {{{field|Ammunition|input type=listbox|values from category=Ammunition}}}
 +
| Select with Ctrl-Click to select more than one, or to deselect all.
 
|-
 
|-
 
! Depositable in guild:  
 
! Depositable in guild:  
Line 127: Line 145:
 
| Add non-standardized/more detailed information to this page in the first paragraph. Will (likely) be displayed in the [[Wiki bot]] preview.
 
| Add non-standardized/more detailed information to this page in the first paragraph. Will (likely) be displayed in the [[Wiki bot]] preview.
 
|-
 
|-
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Quest & Drop info
+
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Quest & Drop Info
 
|-
 
|-
 
! Is findable in Quest?
 
! Is findable in Quest?
| {{{field|BoolQuest|input type=radiobutton}}}
+
| {{{field|BoolQuest|input type=radiobutton|show on select=Yes=>QuestInfoSection;}}}
| If not findable, leave entire rest of the section empty
 
 
|-
 
|-
! Minimum ''Player'' level to find in Quest:  
+
| colspan="3" style="padding: 0; margin: 0;" |
| {{{field|PlayerQuestMinLevel}}}
+
<div id="QuestInfoSection">
| Enter only if it's ''just'' the level as a requirement, if the item needs e.g. the [[Perception]] skill to be found, it is not needed to enter the player level at which this skill level can be learned.
+
{| class="formtable" style="margin: 0; width: 100%;"
 +
! {{#var: columnStyle1}} style="vertical-align:middle;" | Minimum ''Player'' level to find in Quest:  
 +
| {{#var: columnStyle1}} | {{{field|PlayerQuestMinLevel}}}
 +
| {{#var: columnStyle2}} | Enter only if it's ''just'' the level as a requirement, if the item needs e.g. the [[Perception]] skill to be found, it is not needed to enter the player level at which this skill level can be learned.
 
|-
 
|-
! Minimum ''[[Perception]]'' (or ''[[Harvest]]'') level to find in Quest:  
+
! ''[[Perception]]'' (or ''[[Harvest]]'') level:  
 
| {{{field|PerceptionLevel}}}
 
| {{{field|PerceptionLevel}}}
 +
| Minimum level of either [[Perception]] or [[Harvest]] (whichever applies to the item) that is needed to find it.
 
|-
 
|-
 
! colspan="2" style="text-align: center; border-top: 1px solid grey; padding-top: 0.5em; padding-bottom: 0.4em" | Forest
 
! colspan="2" style="text-align: center; border-top: 1px solid grey; padding-top: 0.5em; padding-bottom: 0.4em" | Forest
Line 195: Line 216:
 
! Findable in Foray (Night):  
 
! Findable in Foray (Night):  
 
| {{{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
 
|-
 
|-
 
! Is enchantable?  
 
! Is enchantable?  
| {{{field|BoolEnchantment|input type=radiobutton}}}
+
| {{{field|BoolEnchantment|input type=radiobutton|show on select=Yes=>EnchantInfoSection}}}
| If item can be enchanted or not. If not, leave the rest empty.
+
| If item can be enchanted or not.
 
|-
 
|-
! Attack bonus for enchanting 0 -> 1:  
+
| colspan="3" style="padding: 0; margin: 0;" |
| {{{field|EnchantAtk1}}}
+
<div id="EnchantInfoSection">
 +
{| class="formtable" style="margin: 0; width: 100%;"
 +
! {{#var: columnStyle1}} | Attack bonus for enchanting 0 -> 1:  
 +
| {{#var: columnStyle1}} | {{{field|EnchantAtk1}}}
 +
| {{#var: columnStyle2}} |
 
|-
 
|-
 
! Attack bonus for enchanting 1 -> 2:  
 
! Attack bonus for enchanting 1 -> 2:  
Line 237: Line 263:
 
! Mana bonus for enchanting 3 -> 4:  
 
! Mana bonus for enchanting 3 -> 4:  
 
| {{{field|EnchantMana4}}}
 
| {{{field|EnchantMana4}}}
 +
|}</div>
 
|-
 
|-
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Crafting
 
! colspan="3" style="text-align: center; border-top: 1px solid grey; margin-top: 0.5em; padding-top: 1em; padding-bottom: 0.8em" | Crafting
 
|-
 
|-
 
! Can be crafted?
 
! Can be crafted?
| {{{field|BoolCraft|input type=radiobutton}}}
+
| {{{field|BoolCraft|input type=radiobutton|show on select=Yes=>CraftInfoSection}}}
| If not craftable, leave the rest empty.
 
 
|-
 
|-
! Is recipe incomplete?
+
| colspan="3" style="padding: 0; margin: 0;" |
| {{{field|BoolRecipeIncomplete|input type=radiobutton|mandatory|default=No}}}
+
<div id="CraftInfoSection">
| If the recipe is not yet fully discovered or not tested SET THIS TO YES, otherwise leave it as no.
+
{| class="formtable" style="margin: 0; width: 100%;"
 +
! {{#var: columnStyle1}} | Is recipe incomplete?
 +
| {{#var: columnStyle1}} | {{{field|BoolRecipeIncomplete|input type=radiobutton|mandatory|default=No}}}
 +
| {{#var: columnStyle2}} | If the recipe is not yet fully discovered or not tested SET THIS TO YES, otherwise leave it as no.
 
|-
 
|-
 
! Craft command:
 
! Craft command:
Line 274: Line 303:
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}
 +
|}</div>
 
|-
 
|-
 
|}
 
|}

Revision as of 03:38, 10 November 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 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.