Difference between revisions of "Template:ItemDesc"
From JellyRO Wiki
Line 1: | Line 1: | ||
+ | <includeonly><div class="itemview"> | ||
+ | <div class="image">[[File:Item2 {{{name}}}.gif|link=]]</div> | ||
+ | <div class="name">{{{name}}}</div> | ||
+ | <div class="desc">{{{desc}}}</div> | ||
+ | </div></includeonly> | ||
+ | |||
<noinclude> | <noinclude> | ||
== Example == | == Example == | ||
Line 4: | Line 10: | ||
| name = Model Training Hat | | name = Model Training Hat | ||
| desc = A headgear which consists of a book and an apple on the top. Can be used to learn manners.<br />DEX + 2<br />Class : <span style="color:#777777;">Headgear</span><br />Defense : <span style="color:#777777;">2</span><br />Location : <span style="color:#777777;">Upper</span><br />Weight : <span style="color:#777777;">70</span><br />Required lvl : <span style="color:#777777;">NA</span><br />Available Job : <span style="color:#777777;">Every Job except Novice</span> }} | | desc = A headgear which consists of a book and an apple on the top. Can be used to learn manners.<br />DEX + 2<br />Class : <span style="color:#777777;">Headgear</span><br />Defense : <span style="color:#777777;">2</span><br />Location : <span style="color:#777777;">Upper</span><br />Weight : <span style="color:#777777;">70</span><br />Required lvl : <span style="color:#777777;">NA</span><br />Available Job : <span style="color:#777777;">Every Job except Novice</span> }} | ||
− | |||
<nowiki> | <nowiki> | ||
{{ ItemView | {{ ItemView | ||
Line 10: | Line 15: | ||
| desc = A headgear which consists of a book and an apple on the top. . . . | | desc = A headgear which consists of a book and an apple on the top. . . . | ||
</nowiki> | </nowiki> | ||
− | |||
− | + | == Notes == | |
− | + | This template is used to display items as they appear in-game. | |
− | + | ||
− | + | Items displayed with this template do not require staff confirmation, as opposed to the [[Template:SItem]] group. | |
− | </ | + | |
+ | === 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. -- [[User:Adellie|Adellie]] ([[User talk:Adellie|talk]]) 12:36, 26 December 2013 (UTC) | ||
+ | |||
+ | == Similar Templates == | ||
+ | {| class="wikitable" | ||
+ | ! || 269px width || Increased width | ||
+ | |- | ||
+ | | Items without slots || [[Template: ItemView]] || [[Template: ItemView2]] | ||
+ | |- | ||
+ | | Equipment with slots 0-4 || [[Template: EquipView]] || [[Template: EquipView2]] | ||
+ | |- | ||
+ | | Equipment showing cards || [[Template: EquipView3]] || [[Template: EquipView4]] | ||
+ | |} | ||
+ | </noinclude> |
Revision as of 12:36, 26 December 2013
Example
{{ ItemView | name = Model Training Hat | desc = A headgear which consists of a book and an apple on the top. . . .
Notes
This template is used to display items as they appear in-game.
Items displayed with this template do not require staff confirmation, as opposed to the Template:SItem group.
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)
Similar Templates
269px width | Increased width | |
---|---|---|
Items without slots | Template: ItemView | Template: ItemView2 |
Equipment with slots 0-4 | Template: EquipView | Template: EquipView2 |
Equipment showing cards | Template: EquipView3 | Template: EquipView4 |