Difference between revisions of "Form:Item"
From Medivia Online Wiki
| Line 8: | Line 8: | ||
|- | |- | ||
! Image: | ! Image: | ||
| {{{field|image|input type=page|namespace=File}}} | | {{{field|image|input type=page|namespace=File|class=pf-item-image|placeholder=File:Fire Sword.gif}}} | ||
<br><small>Enter the file name only (no [[ ]] needed).</small> | <br><small>Enter the file name only (no [[ ]] needed).</small> | ||
|- | |- | ||
! Preview: | ! Preview: | ||
| | | <div style="padding:6px; border:1px solid #333; display:inline-block;"><img id="pf-image-preview" style="max-width:64px; max-height:64px; display:none;" alt=""><span id="pf-image-preview-text"><i>No image selected.</i></span></div> | ||
<div style="padding:6px; border:1px solid #333; display:inline-block;"><img id="pf-image-preview" style="max-width:64px; max-height:64px; display:none;" alt=""><span id="pf-image-preview-text"><i>No image selected.</i></span></div> | |||
|- | |- | ||
! Category page link (e.g. Legs, Boots, Swords): | ! Category page link (e.g. Legs, Boots, Swords): | ||