Template:Trait: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
m (based of new colors)
(TEST!!!!)
Line 1: Line 1:
<div id="{{anchorencode:{{{2|}}}}}" style="display:table; margin: {{#ifeq:{{{2|}}}|{{PAGENAME}}|-1em 0 0.6em 0|1.2em 0 0.6em 0}}; font-family: consolas"><!--
<div id="{{anchorencode:{{{2|}}}}}" style="display:table; margin: {{#ifeq:{{{2|}}}|{{PAGENAME}}|-1em 0 0.6em 0|1.2em 0 0.6em 0}}; font-family: consolas"><!--


-->{{#ifeq:{{{2|}}}|{{PAGENAME}}
-->{{#ifeq:{{{2|}}}|{{CATEGORY}}
     |'''[[Traits|<b style="font: 1.1em Consolas, monospace; background-color:{{#if:{{{bad|}}}|darkred|darkgreen}}; color:white; padding: 0 0.6em">TRAIT</b>]]'''[[Category:Traits]]<!--
     |'''[[Traits|<b style="font: 1.1em Consolas, monospace; background-color:{{#if:{{{bad|}}}|darkred|darkgreen}}; color:white; padding: 0 0.6em">TRAIT</b>]]'''[[Category:Traits]]<!--
   -->|<span style="font-size: 1.3em;">'''{{{2}}}'''</span>}} <span style="font-size: 0.7em;">{{{1|}}}</span><!--
   -->|<span style="font-size: 1.3em;">'''{{{2}}}'''</span>}} <span style="font-size: 0.7em;">{{{1|}}}</span><!--


  -->{{#ifeq:{{PAGENAME}}|Mutation||<!--
  -->{{#ifeq:{{CATEGORY}}|Mutations||<!--
       -->{{#if:{{{mutation|}}}|&nbsp;[[Mutation#Basic traits|<b style="border:1px dashed darkgreen; color:darkgreen; padding: 0 0.6em">Mutation</b>]]}}<!--
       -->{{#if:{{{mutations|}}}|&nbsp;[[Mutation#Basic traits|<b style="border:1px dashed darkgreen; color:darkgreen; padding: 0 0.6em">Mutation</b>]]}}<!--
  -->}}<!--
  -->}}<!--



Revision as of 10:42, 7 February 2015

{{{2}}}
Point cost: {{{3}}} / Visiblity: {{{4}}} / Ugliness: {{{5}}}