Template:Mutation: Difference between revisions

m
no edit summary
(add deprecated parameter)
mNo edit summary
Line 47: Line 47:
<!--This is the name of the object in Mutations.xml-->
<!--This is the name of the object in Mutations.xml-->
{{#if: {{{id|}}}      | {{infobox row|ID|{{{id}}} }} }}
{{#if: {{{id|}}}      | {{infobox row|ID|{{{id}}} }} }}
{{#if: {{{realitydistort|}}} | {{infobox row|Reality Distorting{{Tooltip|Reality distorting mutations<br>cannot be used under<br>the effects of normality.}}|{{{realitydistort}}} }} }} }}
{{#if: {{{realitydistort|}}} | {{infobox row|Reality Distorting{{Tooltip|Reality distorting mutations<br>cannot be used under<br>the effects of normality.}}|{{{realitydistort}}} }} }}
{{#ifeq: {{{deprecated|}}} | yes | {{infobox row|Deprecated{{Tooltip|This mutation has been removed<br>from the game. It is<br>preserved here only<br>for historical interest}}| Yes}} }} }}
{{#ifeq: {{{npconly|}}} | yes | [[Category:Innate mutations]] | [[Category:Mutations]]}}
{{#ifeq: {{{npconly|}}} | yes | [[Category:Innate mutations]] | [[Category:Mutations]]}}
{{#ifeq: {{{deprecated|}}} | yes | {{infobox row|Deprecated{{Tooltip|This mutation has been removed<br>from the game. It is<br>preserved here only<br>for historical interest}}| Yes}} }}
{{#if: {{{desc|}}} | {{Qud look|title={{{title|{{PAGENAME}}}}}|text={{{desc}}}|bordercolor=y|bottomtext=none|padding=1}} }}
{{#if: {{{desc|}}} | {{Qud look|title={{{title|{{PAGENAME}}}}}|text={{{desc}}}|bordercolor=y|bottomtext=none|padding=1}} }}
</includeonly><noinclude>
</includeonly><noinclude>
{{doc}}[[Category:Cargo Store Templates]]
{{doc}}[[Category:Cargo Store Templates]]
</noinclude>
</noinclude>