Difference between revisions of "Template:ItemDesc"
From JellyRO Wiki
m (Adellie moved page Template:ItemView to Template:ItemDesc without leaving a redirect) |
|||
Line 7: | Line 7: | ||
! Template || Description | ! Template || Description | ||
|- | |- | ||
− | | [[Template: | + | | [[Template: ItemDesc]] || 269px width |
|- | |- | ||
− | | [[Template: | + | | [[Template: ItemDesc2]] || Increased width |
|- | |- | ||
| [[Template: EquipView]] || 269px width. For items with slots 0-4. | | [[Template: EquipView]] || 269px width. For items with slots 0-4. | ||
Line 17: | Line 17: | ||
== Usage == | == Usage == | ||
− | {{ | + | {{ ItemDesc |
| 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> }} | ||
− | <nowiki>{{ | + | <nowiki>{{ ItemDesc |
| 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> | ||
}}</nowiki> | }}</nowiki> | ||
− | {{ | + | {{ ItemDesc2 |
| 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> }} | ||
− | <nowiki>{{ | + | <nowiki>{{ ItemDesc2 |
| 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> | ||
Line 34: | Line 34: | ||
== Notes == | == 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 | + | 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. However, that template is less bulky. |
=== Long Item Names === | === 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. | 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: | + | I recommend instead [[Template:ItemDesc2]] which has a wider width. However this template gets the base ItemDesc template name because of its in-game style. -- [[User:Adellie|Adellie]] ([[User talk:Adellie|talk]]) 12:36, 26 December 2013 (UTC) |
</noinclude> | </noinclude> |
Revision as of 05:22, 4 January 2014
Related Templates
Template | Description |
---|---|
Template: ItemDesc | 269px width |
Template: ItemDesc2 | Increased width |
Template: EquipView | 269px width. For items with slots 0-4. |
Template: EquipView2 | Increased width. For items with slots 0-4. |
Usage
Error creating thumbnail: Unable to save thumbnail to destination
Apple
A round red edible fruit of a small tree of the rose family.
Recover a small amount of HP.
_
Weight : 2
Recover a small amount of HP.
_
Weight : 2
{{ ItemDesc | 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> }}
Error creating thumbnail: Unable to save thumbnail to destination
Apple
A round red edible fruit of a small tree of the rose family.
Recover a small amount of HP.
_
Weight : 2
Recover a small amount of HP.
_
Weight : 2
{{ ItemDesc2 | 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. However, that template is less bulky.
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:ItemDesc2 which has a wider width. However this template gets the base ItemDesc template name because of its in-game style. -- Adellie (talk) 12:36, 26 December 2013 (UTC)