Actions

Form

Difference between revisions of "Item"

From P6 Spheres

 
(17 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
if a page with that name already exists, you will be sent to a form to edit that page.
 
if a page with that name already exists, you will be sent to a form to edit that page.
  
 +
{{#forminput:form=Item}}
  
{{#forminput:form=Item}}
+
</noinclude><includeonly>
 +
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 +
{{{standard input|save}}} {{{standard input|cancel}}}
  
</noinclude><includeonly><div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
 
{{{for template|Item}}}
 
{{{for template|Item}}}
 
{| class="formtable"
 
{| class="formtable"
 
! Name:
 
! Name:
| {{{field|Name|text}}}
+
| {{{field|Name|input type=text|mandatory}}}
 
|-
 
|-
! SortName:
+
! SortName (optional):
| {{{field|SortName|text}}}
+
| {{{field|SortName|input type=text}}}
 
|-
 
|-
 
! ItemType:
 
! ItemType:
| {{{field|ItemType}}}
+
| {{{field|ItemType|input type=combobox|existing values only|cargo table=Equipment_Types|cargo field=Label|mandatory}}}
 
|-
 
|-
! ItemSubType:
+
! ItemSubType (optional):
 
| {{{field|ItemSubType}}}
 
| {{{field|ItemSubType}}}
 
|-
 
|-
 
! TreasureUse:
 
! TreasureUse:
| {{{field|TreasureUse|autocomplete|values=Weapon,Protection,Magical,Consumable,Gear}}}
+
| {{{field|TreasureUse|autocomplete|values=Weapon,Protection,Magical,Consumable,Gear,None|mandatory}}}
 
|-
 
|-
! Tags:
+
! Tags (optional):
 
| {{{field|Tags}}}
 
| {{{field|Tags}}}
 
|-
 
|-
! Price:
+
! Price (defaults to -):
 
| {{{field|Price|size=10}}}
 
| {{{field|Price|size=10}}}
 
|-
 
|-
! Weight:
+
! Weight (defaults to -):
 
| {{{field|Weight|size=10}}}
 
| {{{field|Weight|size=10}}}
 
|-
 
|-
! Short:
+
! Short (optional):
| {{{field|Short|textarea}}}
+
| {{{field|Short|input type=text|maxlength=70}}}
 +
|-
 +
! Fluff (optional):
 +
| {{{field|Fluff|input type=textarea}}}
 
|-
 
|-
! Fluff:
+
! Description (optional):
| {{{field|Fluff|textarea}}}
+
| {{{field|Description|input type=textarea}}}
 
|-
 
|-
! Description:
+
! Benefit (optional):
| {{{field|Description|textarea}}}
+
| {{{field|Benefit|input type=textarea}}}
 
|-
 
|-
! Benefit:
+
! Note (optional):
| {{{field|Benefit|textarea}}}
+
| {{{field|Note|input type=textarea}}}
 
|-
 
|-
! CraftRequirements:
+
! CraftRequirements (optional):
 
| {{{field|CraftRequirements}}}
 
| {{{field|CraftRequirements}}}
 
|-
 
|-
! CraftDC:
+
! CraftDC (optional):
 
| {{{field|CraftDC|size=10}}}
 
| {{{field|CraftDC|size=10}}}
 
|-
 
|-
! CraftSkill:
+
! CraftSkill (optional):
 
| {{{field|CraftSkill}}}
 
| {{{field|CraftSkill}}}
 
|-
 
|-
! CraftCost:
+
! CraftCost (optional):
| {{{field|CraftCost|size=10}}}
+
| {{{field|IsCraftCommon|input type=checkbox|label=Common}}} {{{field|IsCraftMagic|input type=checkbox|label=Magic}}}
 
|-
 
|-
 
! Source:
 
! Source:
Line 63: Line 68:
 
! Campaigns:
 
! Campaigns:
 
| {{{field|Campaigns|default=All}}}
 
| {{{field|Campaigns|default=All}}}
 +
|}
 
{{{end template}}}
 
{{{end template}}}
  
Line 69: Line 75:
 
{{{standard input|minor edit}}} {{{standard input|watch}}}
 
{{{standard input|minor edit}}} {{{standard input|watch}}}
  
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}</includeonly>
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 +
</includeonly>

Latest revision as of 11:36, 24 March 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.