Template:Mutation: Difference between revisions

238 bytes added ,  23:21, 1 October 2020
add deprecated parameter
(okay)
(add deprecated parameter)
Line 10: Line 10:
|Prerelease=Boolean
|Prerelease=Boolean
|Variants= List (,) of String
|Variants= List (,) of String
|NPConly=Boolean}}<!--
|NPConly=Boolean
|Deprecated=Boolean}}<!--


     CARGO STORE
     CARGO STORE
Line 25: Line 26:
|Prerelease={{{prerelease|no}}}
|Prerelease={{{prerelease|no}}}
|Variants={{{variants|}}}
|Variants={{{variants|}}}
|NPConly={{{npconly|no}}}}}{{#vardefine:name|{{qud text|&y{{#titleparts:{{{title|}}}}} }}}}<!--
|NPConly={{{npconly|no}}}
|Deprecated={{{deprecated|no}}}}}{{#vardefine:name|{{qud text|&y{{#titleparts:{{{title|}}}}} }}}}<!--


     INFOBOX START
     INFOBOX START
Line 47: Line 49:
{{#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: {{{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>