Template:ItemTemplate: Difference between revisions

added lightradius variable and row.
(Removed auto category, I am a genius, oh no, etc etc)
(added lightradius variable and row.)
Line 12: Line 12:
<!--This is the name of the object in ObjectBlueprints.xml-->
<!--This is the name of the object in ObjectBlueprints.xml-->
{{#if: {{{id|}}}      | {{infobox row|ID|{{{id}}} }} }}
{{#if: {{{id|}}}      | {{infobox row|ID|{{{id}}} }} }}
<!--ID in Book.cs-->
<!--This is more specific stuff-->
{{#if: {{{bookid|}}}  | {{infobox row|Book ID|{{{bookid}}} }} }}
{{#if: {{{bookid|}}}  | {{infobox row|Book ID|{{{bookid}}} }} }}
{{#if: {{{lightradius|}}}| {{infobox row|Light Radius|{{{lightradius}}} }} }}
<!--Makes the attributes box show up if *any* of the attributes are filled out-->
<!--Makes the attributes box show up if *any* of the attributes are filled out-->
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |