Difference between revisions of "Form:Item"

From Medivia Online Wiki
(Created page with "<includeonly> {{{for template|Item}}} == Basic == {| class="formtable" ! Name: | {{{field|name|input type=text|mandatory}}} |- ! Article (a/an/the): | {{{field|article|input type=text|default=a}}} |- ! After name (extra text after stats): | {{{field|aftername|input type=text}}} |- ! Image: | {{{field|image|input type=page|namespace=File}}} |- ! Category page link (e.g. Legs, Boots, Swords): | {{{field|category|input type=text}}} |} == Description & stats == {| class="f...")
 
Line 7: Line 7:
| {{{field|name|input type=text|mandatory}}}
| {{{field|name|input type=text|mandatory}}}
|-
|-
! Article (a/an/the):
! Image:
| {{{field|article|input type=text|default=a}}}
| {{{field|image|input type=page|namespace=File|placeholder=Start typing file name…}}}
|-
|-
! After name (extra text after stats):
! Preview:
| {{{field|aftername|input type=text}}}
| <div style="padding:6px; border:1px solid #333; display:inline-block;">
|-
  {{#if:{{{image|}}}|[[{{{image}}}|64px]]|''No image selected.''}}
! Image:
  </div>
| {{{field|image|input type=page|namespace=File}}}
|-
|-
! Category page link (e.g. Legs, Boots, Swords):
! Category page link (e.g. Legs, Boots, Swords):
| {{{field|category|input type=text}}}
| {{{field|category|input type=text}}}
|}
|}


== Description & stats ==
== Description & stats ==

Revision as of 20:08, 17 January 2026