Difference between revisions of "Template:ItemDesc"
From JellyRO Wiki
(→Usage) |
(→Usage) |
||
Line 21: | Line 21: | ||
| desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> }} | | desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> }} | ||
<nowiki>{{ ItemView | <nowiki>{{ ItemView | ||
+ | | name = Apple | ||
+ | | desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> | ||
+ | }}</nowiki> | ||
+ | |||
+ | {{ ItemView2 | ||
+ | | name = Apple | ||
+ | | desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> }} | ||
+ | <nowiki>{{ ItemView2 | ||
| name = Apple | | name = Apple | ||
| desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> | | desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> |
Revision as of 09:20, 27 December 2013
Related Templates
Template | Description |
---|---|
Template: ItemView | 269px width |
Template: ItemView2 | Increased width |
Template: EquipView | 269px width. For items with slots 0-4. |
Template: EquipView2 | Increased width. For items with slots 0-4. |
Usage
{{ ItemView | name = Apple | desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> }}
{{ ItemView2 | name = Apple | desc = A round red edible fruit of a small tree of the rose family.<br /><span style="color:#000088;">Recover a small amount of HP</span>.<br /><span style="color:#ffffff;">_</span><br />Weight : <span style="color:#777777;">2</span> }}
Notes
This template is used to display items as they appear in-game, and so generally do not require staff confirmation - as opposed to the Template:ItemInfo group (currently Template:SItem Misc).
Long Item Names
This base template keeps 269px width that you see in-game. For that reason, it does not work with long item names. I have allowed it to overflow into the description area and have no intentions of complicating divs to fix it.
I recommend instead Template:ItemView2 which has a wider width. However this template gets the base ItemView template name because of its in-game style. -- Adellie (talk) 12:36, 26 December 2013 (UTC)