Difference between revisions of "Form:Item"

From Medivia Online Wiki
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:


== Basic ==
== Basic ==
== Basic ==
{| class="wikitable"
<table class="wikitable" style="width:100%;">
! Name:
  <tr>
| {{{field|name|input type=text|mandatory}}}
    <th colspan="2" style="text-align:center;">
|-
      <div style="font-family:Tahoma; font-size:9pt; font-weight:bold; color:#04ec7c; text-shadow:#000 0px 0px 1px;">
! Image:
        You see a {{{field|name|input type=text|mandatory|placeholder=Item name}}}.
| {{{field|image|input type=page|namespace=File|class=pf-item-image|placeholder=[[File:Fire Sword.gif]]}}}
      </div>
|-
    </th>
! Category page link<br>(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 ==
{| class="formtable"
{| class="wikitable"
! Note:
! Note:
| {{{field|note|input type=textarea|rows=3}}}
| {{{field|note|input type=textarea|rows=3}}}
Line 78: Line 21:


== Description & stats ==
== Description & stats ==
{| class="formtable"
{| class="wikitable"
! Description (extra line):
! Description (extra line):
| {{{field|description|input type=textarea|rows=3}}}
| {{{field|description|input type=textarea|rows=3}}}
Line 123: Line 66:


== Rank / properties ==
== Rank / properties ==
{| class="formtable"
{| class="wikitable"
! Item Rank:
! Item Rank:
| {{{field|item_rank|input type=textarea|rows=2|placeholder={{#tip-text:50| Level 40 required to gain full intelligence/dexterity/strength bonus. }}}}}
| {{{field|item_rank|input type=textarea|rows=2|placeholder={{#tip-text:50| Level 40 required to gain full intelligence/dexterity/strength bonus. }}}}}
Line 144: Line 87:


== Sources ==
== Sources ==
{| class="formtable"
<pre>Example: [[Demon]]</pre>
 
{| class="wikitable"
! Dropped by:
! Dropped by:
| {{{field|dropped_by|input type=textarea|rows=3|placerholder=[[Demon]]}}}
| {{{field|dropped_by|input type=textarea|rows=3|placerholder=[[Demon]]}}}
Line 152: Line 97:
<pre>Example: [[Ziyad]] (50,000 gp)</pre>
<pre>Example: [[Ziyad]] (50,000 gp)</pre>


 
{| class="wikitable"
{| class="formtable"
! Abukir:
! Abukir:
| {{{field|buy_from_abukir|input type=text}}}
| {{{field|buy_from_abukir|input type=text}}}
Line 239: Line 183:
<pre>Example: [[Ziyad]] (50,000 gp)</pre>
<pre>Example: [[Ziyad]] (50,000 gp)</pre>


 
{| class="wikitable"
{| class="formtable"
! Abukir:
! Abukir:
| {{{field|sell_to_abukir|input type=text}}}
| {{{field|sell_to_abukir|input type=text}}}
Line 321: Line 264:


== Exchange at ==
== Exchange at ==
{| class="formtable"
{| class="wikitable"
! Serena:
! Serena:
| {{{field|exchange_at_serena|input type=text}}}
| {{{field|exchange_at_serena|input type=text}}}
Line 339: Line 282:


== Crafting ==
== Crafting ==
{| class="formtable"
{| class="wikitable"
! Grazlin:
! Grazlin:
| {{{field|craft_at_grazlin|input type=text}}}
| {{{field|craft_at_grazlin|input type=text}}}

Latest revision as of 20:51, 17 January 2026