Template:ItemTemplate: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Added new book id row. Automatically places items in category:books if row exists)
(Removed auto category, I am a genius, oh no, etc etc)
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}}} }} }}
<!--If book id exists, places in books category-->
<!--ID in Book.cs-->
{{#if: {{{bookid|}}}  | {{infobox row|Book ID|{{{bookid}}}[[Category:Books]] }} }}
{{#if: {{{bookid|}}}  | {{infobox row|Book ID|{{{bookid}}} }} }}
<!--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|}}} |

Revision as of 17:49, 16 June 2019