Difference between revisions of "Form:Item"

From ChatWars Wiki
Jump to: navigation, search
Line 228: Line 228:
 
| Mana used to craft this item
 
| Mana used to craft this item
 
|-
 
|-
 +
! Ingredients:
 +
| {{{for template|#subobject:|multiple|add button text=Add ingredient}}}
 +
{|
 +
| {{{field|Crafting ingredient|input type=text with autocomplete|values from namespace=Main|placeholder=Ingredient}}}
 +
|-
 +
|style="padding-bottom: 1em" | Enter Ingredient (name of the page)
 +
|-
 +
| {{{field|Qty|placeholder=Quantity}}}
 +
|-
 +
| Enter needed Quantity
 +
|-
 +
|}
 +
{{{end template}}}
 +
<!--
 
! Ingredient 1:
 
! Ingredient 1:
 
| {{{field|Ingredient1|input type=text with autocomplete|values from namespace=Main|placeholder=Ingredient}}}<br>{{{field|Qty1|placeholder=Quantity}}}
 
| {{{field|Ingredient1|input type=text with autocomplete|values from namespace=Main|placeholder=Ingredient}}}<br>{{{field|Qty1|placeholder=Quantity}}}
Line 259: Line 273:
 
| {{{field|Ingredient10|input type=text with autocomplete|values from namespace=Main|placeholder=Ingredient}}}<br>{{{field|Qty10|placeholder=Quantity}}}
 
| {{{field|Ingredient10|input type=text with autocomplete|values from namespace=Main|placeholder=Ingredient}}}<br>{{{field|Qty10|placeholder=Quantity}}}
 
|-
 
|-
 +
-->
 
! Text addition first paragraph:
 
! Text addition first paragraph:
 
| {{{field|FreeTextOverview|input type=textarea|autogrow|cols=30|rows=2}}}
 
| {{{field|FreeTextOverview|input type=textarea|autogrow|cols=30|rows=2}}}
 
| 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.
 
|-
 
|-
! Ingredients: (WIP, THIS DOES NOT WORK YET)
 
| {{{for template|#subobject:|multiple|add button text=Add ingredient}}}
 
{|
 
| {{{field|Crafting ingredient|input type=text with autocomplete|values from namespace=Main|placeholder=Ingredient}}}
 
|-
 
|style="padding-bottom: 1em" | Enter Ingredient (name of the page)
 
|-
 
| {{{field|Qty|placeholder=Quantity}}}
 
|-
 
| Enter needed Quantity
 
|-
 
|}
 
 
{{{end template}}}
 
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

Revision as of 10:27, 15 October 2018

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.