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}}} | ||
|- | |- | ||
! | ! Image: | ||
| {{{field| | | {{{field|image|input type=page|namespace=File|placeholder=Start typing file name…}}} | ||
|- | |- | ||
! | ! Preview: | ||
| {{{ | | <div style="padding:6px; border:1px solid #333; display:inline-block;"> | ||
{{#if:{{{image|}}}|[[{{{image}}}|64px]]|''No image selected.''}} | |||
</div> | |||
| {{{ | |||
|- | |- | ||
! 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 == | ||