Difference between revisions of "Form:Item"

From Medivia Online Wiki
Line 3: Line 3:


== Basic ==
== Basic ==
{| class="wikitable"
== Basic ==
! Name:
<table class="wikitable" style="width:100%;">
| {{{field|name|input type=text|mandatory}}}
  <tr>
|-
    <th colspan="2" style="text-align:center;">
! Image:
      <div style="font-family:Tahoma; font-size:9pt; font-weight:bold; color:#04ec7c; text-shadow:#000 0px 0px 1px;">
| {{{field|image|input type=page|namespace=File|class=pf-item-image|placeholder=File:Fire Sword.png}}}
        You see a {{{field|name|input type=text|mandatory|placeholder=Item name}}}.
<br><small>Enter the file name only (no [[ ]] needed).</small>
      </div>
|-
    </th>
! Category page link (e.g. Legs, Boots, Swords):
  </tr>
| {{{field|category|input type=text}}}
 
|}
  <tr>
    <th style="width:17%; text-align:center;">
      {{{field|image|input type=page|namespace=File|class=pf-item-image|placeholder=File:Example.png}}}
      <div style="font-size:10px; opacity:0.8; margin-top:4px;">
        File:... only
      </div>
      <!-- your DIV-only live preview will be injected by JS under this input -->
    </th>
 
    <td>
      <div style="font-family:Tahoma; font-size:9pt;">
        Article:
        {{{field|article|input type=dropdown|values=a,an,the|default=a}}}
        &nbsp;&nbsp;
        Category:
        {{{field|category|input type=dropdown|values=
Amulets,Axes,Backpacks,Belts,Books,Boots,Bows,Clubs,Containers,Decoration,Food,Helmets,Legs,Necklaces,Rings,Rods,Runes,Scrolls,Shields,Spears,Swords,Wands
|show on select=-- select --
}}}
        <br><br>
 
        Description:<br>
        {{{field|description|input type=textarea|rows=3}}}
        <br>
 
        Weight (oz):
        {{{field|weight|input type=number|step=0.1|min=0}}}
      </div>
    </td>
  </tr>
 
  <tr>
    <th>Dropped by:</th>
    <td>{{{field|dropped_by|input type=textarea|rows=2|default=None.}}}</td>
  </tr>
 
  <tr>
    <th>Buy from:</th>
    <td>
      {{{field|buy_from_abukir|input type=text|placeholder=Abukir...}}}<br>
      {{{field|buy_from_novus|input type=text|placeholder=Novus...}}}<br>
      {{{field|buy_from_osaris|input type=text|placeholder=Osaris...}}}<br>
      <small style="opacity:0.75">Add more cities below in the “Buy from” section.</small>
    </td>
  </tr>
 
  <tr>
    <th>Sell to:</th>
    <td>
      {{{field|sell_to_abukir|input type=text|placeholder=Abukir...}}}<br>
      {{{field|sell_to_novus|input type=text|placeholder=Novus...}}}<br>
      {{{field|sell_to_osaris|input type=text|placeholder=Osaris...}}}<br>
      <small style="opacity:0.75">Add more cities below in the “Sell to” section.</small>
    </td>
  </tr>
</table>
 


== Notes ==
== Notes ==

Revision as of 20:30, 17 January 2026