Difference between revisions of "Template:ItemDesc"
| Line 10: | Line 10: | ||
|- | |- | ||
| [[Template: ItemDesc2]] || Increased width | | [[Template: ItemDesc2]] || Increased width | ||
| + | |- | ||
| + | | [[Template: ItemDesc3]] || Puts ItemDesc2 in an expandable div. | ||
|- | |- | ||
| [[Template: EquipDesc]] || 269px width. For items with slots 0-4. | | [[Template: EquipDesc]] || 269px width. For items with slots 0-4. | ||
|- | |- | ||
| [[Template: EquipDesc2]] || Increased width. For items with slots 0-4. | | [[Template: EquipDesc2]] || Increased width. For items with slots 0-4. | ||
| + | |- | ||
| + | | [[Template: EquipDesc3]] || Puts EquipDesc2 in an expandable div. | ||
|} | |} | ||
| Line 22: | Line 26: | ||
<nowiki>{{ ItemDesc | <nowiki>{{ ItemDesc | ||
| name = Apple | | name = Apple | ||
| − | | desc = A round red edible fruit of a small tree of the rose family. | + | | desc = A round red edible fruit of a small tree of the rose family. ... |
}}</nowiki> | }}</nowiki> | ||
| Line 30: | Line 34: | ||
<nowiki>{{ ItemDesc2 | <nowiki>{{ ItemDesc2 | ||
| name = Apple | | name = Apple | ||
| − | | desc = A round red edible fruit of a small tree of the rose family. | + | | desc = A round red edible fruit of a small tree of the rose family. ... |
}}</nowiki> | }}</nowiki> | ||
| Line 41: | Line 45: | ||
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) | 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) | ||
| + | === ItemDesc3 and EquipDesc3 === | ||
| + | Since these templates are intended for displaying multiple items at a time, they are made to float left for now. For that reason, you must add '''<nowiki>{{Clear}}</nowiki>''' ([[Template:Clear]]) after each section where you display a bunch of items. -- [[User:Adellie|Adellie]] ([[User talk:Adellie|talk]]) 01:43, 19 January 2014 (UTC) | ||
</noinclude> | </noinclude> | ||
Revision as of 01:43, 19 January 2014
Related Templates
| Template | Description |
|---|---|
| Template: ItemDesc | 269px width |
| Template: ItemDesc2 | Increased width |
| Template: ItemDesc3 | Puts ItemDesc2 in an expandable div. |
| Template: EquipDesc | 269px width. For items with slots 0-4. |
| Template: EquipDesc2 | Increased width. For items with slots 0-4. |
| Template: EquipDesc3 | Puts EquipDesc2 in an expandable div. |
Usage

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. ...
}}

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. ...
}}
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)
ItemDesc3 and EquipDesc3
Since these templates are intended for displaying multiple items at a time, they are made to float left for now. For that reason, you must add {{Clear}} (Template:Clear) after each section where you display a bunch of items. -- Adellie (talk) 01:43, 19 January 2014 (UTC)