Template:ItemTemplate: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(made render string console again and also added a tooltip for PV)
(changed renderstring back because it broke for some reason)
Line 47: Line 47:
{{#if: {{{skill|}}}    | {{infobox row|Skill Used|{{{skill}}} }} }}
{{#if: {{{skill|}}}    | {{infobox row|Skill Used|{{{skill}}} }} }}
<!--Renderstring, with the ColorString appended before it-->
<!--Renderstring, with the ColorString appended before it-->
{{#if: {{{renderstr|}}}| {{infobox row|Character|<p style="font-family:Lucida Console, Consolas;">'''{{Qud text|{{{colorstr|&amp;y}}}{{{renderstr}}}}}'''</p> }} }}
{{#if: {{{renderstr|}}}| {{infobox row|Character|'''{{Qud text|{{{colorstr|&amp;y}}}{{{renderstr}}}}}''' }} }}
<!--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}}} }} }}

Revision as of 14:27, 8 July 2019

This template defines the table "Items". This table has not been created yet. Template:ItemTemplate/doc