Difference between revisions of "Template:Pet2"

From JellyRO Wiki
Jump to: navigation, search
Line 5: Line 5:
 
| rowspan="4" style="text-align: center; width:150px;" | [[Image:Mob {{{Name}}}.gif | link=]]
 
| rowspan="4" style="text-align: center; width:150px;" | [[Image:Mob {{{Name}}}.gif | link=]]
 
! style="width:90px;" | Taming Item  
 
! style="width:90px;" | Taming Item  
| style="width:210px;" |{{#ifexist: {{{Tame}}} | {{Item4|id={{{TameID}}}|name={{{Tame}}}}}| ''None''}}  
+
| style="width:210px;" |{{#ifexpr: {{{Tame}}} > 0 | {{Item4|id={{{TameID}}}|name={{{Tame}}}}}| ''None''}}  
 
! style="width:90px;" | Food
 
! style="width:90px;" | Food
| style="width:210px;" |{{#ifexist: {{{Food}}} | {{Item4|id={{{FoodID}}}|name={{{Food}}} }}| ''None'' }}  
+
| style="width:210px;" |{{#ifexpr: {{{Food}}} > 0 | {{Item4|id={{{FoodID}}}|name={{{Food}}} }}| ''None'' }}  
 
|-
 
|-
 
! Egg
 
! Egg
 
| {{Item4|id={{{EggID}}}|name={{{Egg}}} }}
 
| {{Item4|id={{{EggID}}}|name={{{Egg}}} }}
 
! Accessory
 
! Accessory
| {{#ifexist: {{{Accessory}}} | {{Item4|id={{{AccessoryID}}}|name={{{Accessory}}} }}| ''None'' }}  
+
| {{#ifexpr: {{{Accessory}}} > 0  | {{Item4|id={{{AccessoryID}}}|name={{{Accessory}}} }}| ''None'' }}  
 
|-
 
|-
 
! Bonus
 
! Bonus

Revision as of 12:42, 8 May 2021

{{{Name}}}
{{{Special}}}
[[Image:Mob {{{Name}}}.gif | link=]] Taming Item Expression error: Unrecognized punctuation character "{". Food Expression error: Unrecognized punctuation character "{".
Egg http://cp.jellyro.com/data/items/icons/{{{EggID}}}.png{{{Egg}}} Accessory Expression error: Unrecognized punctuation character "{".
Bonus {{{Bonus}}}
Source {{{Source}}}