Difference between revisions of "Form:Item"

From ChatWars Wiki
Jump to: navigation, search
(updated from Form:TestForm to have sections that aren't needed autohide intelligently)
m (update description of skill level needed to find something to include gastronomic grasp)
 
(26 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
This form can be used to create and edit pages for items of following types:  
 
This form can be used to create and edit pages for items of following types:  
 
*{{#arraydefine: AllowedValues
 
*{{#arraydefine: AllowedValues
   |{{#ask: [[ItemType::+]] |mainlabel=- |headers=hide |?ItemType |limit=5000 }}
+
   |{{#ask: [[ItemType::+]] |mainlabel=- |headers=hide |?ItemType |searchlabel= |limit=500 }}
 
   |, |sort=asc, unique
 
   |, |sort=asc, unique
 
}}{{#arrayprint: AllowedValues |</li><li>| }}</li>
 
}}{{#arrayprint: AllowedValues |</li><li>| }}</li>
Line 18: Line 18:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 +
{{#vardefine: columnStyle1 | style="width: 20%;"}}{{#vardefine: columnStyle2 | style="width: 60%;"}}{{#vardefine: hiddenContentStyle | margin: 0; }}
 
{{{for template|Item}}}
 
{{{for template|Item}}}
 
{| class="formtable"
 
{| class="formtable"
Line 28: Line 29:
 
! In-game name:  
 
! In-game name:  
 
| {{{field|InGameName|default=??}}}
 
| {{{field|InGameName|default=??}}}
| Name of the item as written in the  
+
| Name of the item as written in the game bot (Including Emojis as Unicode Emojis)
 
|-
 
|-
 
! Is event item?
 
! Is event item?
Line 46: 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;Cooking Ingredient=>IngredientSection;}}}
 
|-
 
|-
 
| colspan="3" style="padding: 0; margin: 0;" |
 
| colspan="3" style="padding: 0; margin: 0;" |
Line 56: Line 57:
 
|}</div>
 
|}</div>
 
|-
 
|-
! Detailed Description:  
+
! Detailed Description (Flavor Text):  
 
| {{{field|DetailedDescription|input type=textarea|autogrow|cols=30|rows=2}}}
 
| {{{field|DetailedDescription|input type=textarea|autogrow|cols=30|rows=2}}}
| Enter the detailed description of the item that sometimes shows up when equipping it.
+
| Enter the detailed description (flavor text) of the item that sometimes shows up when equipping it.
 
|-
 
|-
 
! Note:  
 
! Note:  
Line 106: Line 107:
 
| {{{field|PotionEffect}}}
 
| {{{field|PotionEffect}}}
 
| Effect description
 
| Effect description
 +
|}</div>
 +
|-
 +
| colspan="3" style="padding: 0; margin: 0;" |
 +
<div id="IngredientSection">
 +
{| 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" | Cooking Ingredient Map Movement
 +
|-
 +
! Map Movements (order is important!):
 +
| WIP
 +
|-
 
|}</div>
 
|}</div>
 
|-
 
|-
Line 122: Line 133:
 
| 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:  
+
| colspan="3" style="padding: 0; margin: 0;" |
| {{{field|Ammunition|input type=listbox|values from category=Ammunition}}}
+
<div id="AmmunitionSection">
| Select with Ctrl-Click to select more than one, or to deselect all.
+
{| class="formtable" style="margin: 0; width: 100%;"
 +
! {{#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:  
Line 157: Line 172:
 
| {{#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.
 
| {{#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.
 
|-
 
|-
! ''[[Perception]]'' (or ''[[Harvest]]'') level:  
+
! ''[[Perception]]'' (or ''[[Harvest]]''/''[[Gastronomic Grasp]]'') level:  
 
| {{{field|PerceptionLevel}}}
 
| {{{field|PerceptionLevel}}}
| Minimum level of either [[Perception]] or [[Harvest]] (whichever applies to the item) that is needed to find it.
+
| Minimum level of either [[Perception]], [[Harvest]] or [[Gastronomic Grasp]] (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 300: Line 315:
 
  |-
 
  |-
 
  | Enter needed Quantity
 
  | Enter needed Quantity
 +
|-
 +
| {{{field|Personalized|input type=checkbox}}}
 +
|-
 +
| Check if is part of a personalized ingredient set (= resource that can be different for each player)
 +
|-
 +
| {{{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)
 
  |-
 
  |-
 
|}
 
|}

Latest revision as of 05:56, 8 December 2021

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.