Difference between revisions of "Template:ItemDesc"

From JellyRO Wiki
Jump to: navigation, search
(Usage)
Line 22: Line 22:
 
== Usage ==
 
== Usage ==
 
{{ ItemDesc  
 
{{ 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>{{ 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>
  
 
{{ ItemDesc2  
 
{{ 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>{{ 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>
 +
 +
{{EquipDesc
 +
| name=Model Training Hat
 +
| slots=0
 +
| 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>{{EquipDesc
 +
| name=Model Training Hat
 +
| slots=0
 +
| desc=A headgear which consists of a book and an apple on the top. ...
 +
}}</nowiki>
 +
 +
{{EquipDesc2
 +
| name=Model Training Hat
 +
| slots=0
 +
| 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>{{EquipDesc2
 +
| name=Model Training Hat
 +
| slots=0
 +
| desc=A headgear which consists of a book and an apple on the top. ...
 +
}}</nowiki>
 +
 +
{{EquipDesc3
 +
| name=Model Training Hat
 +
| slots=0
 +
| 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>
 +
}}
 +
{{Clear}}
 +
<nowiki>{{EquipDesc3
 +
| name=Model Training Hat
 +
| slots=0
 +
| desc=A headgear which consists of a book and an apple on the top. ...
 +
}}
 +
{{Clear}}</nowiki>
  
 
== Notes ==
 
== Notes ==

Revision as of 01:48, 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

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
{{ ItemDesc 
| name=Apple
| desc=A round red edible fruit of a small tree of the rose family. ...
}}
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


{{ ItemDesc2 
| name=Apple
| desc=A round red edible fruit of a small tree of the rose family. ...
}}
Error creating thumbnail: Unable to save thumbnail to destination
Model Training Hat [0]
A headgear which consists of a book and an apple on the top. Can be used to learn manners.
DEX + 2
Class : Headgear
Defense : 2
Location : Upper
Weight : 70
Required lvl : NA
Available Job : Every Job except Novice


{{EquipDesc
| name=Model Training Hat
| slots=0
| desc=A headgear which consists of a book and an apple on the top. ...
}}
Error creating thumbnail: Unable to save thumbnail to destination
Model Training Hat [0]
A headgear which consists of a book and an apple on the top. Can be used to learn manners.
DEX + 2
Class : Headgear
Defense : 2
Location : Upper
Weight : 70
Required lvl : NA
Available Job : Every Job except Novice


{{EquipDesc2
| name=Model Training Hat
| slots=0
| desc=A headgear which consists of a book and an apple on the top. ...
}}
Error creating thumbnail: Unable to save thumbnail to destination
Model Training Hat [0]
Error creating thumbnail: Unable to save thumbnail to destination
Model Training Hat [0]
A headgear which consists of a book and an apple on the top. Can be used to learn manners.
DEX + 2
Class : Headgear
Defense : 2
Location : Upper
Weight : 70
Required lvl : NA
Available Job : Every Job except Novice


{{EquipDesc3
| name=Model Training Hat
| slots=0
| desc=A headgear which consists of a book and an apple on the top. ...
}}
{{Clear}}

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)