Template

Difference between revisions of "Genetraitcomp3"

From Children of StarClan

 
Line 40: Line 40:
  
 
{{#ifeq: {{#var:bicoloryes}} | 0 |:<span style="color:gray;">No Bicolor Cats</span>|: {{#var:bicoloryes}} '''Bicolor Cats''' ( {{#expr: ({{#var:bicoloryes}}/{{#var:totalcats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:bicoloryes}} | 0 |:<span style="color:gray;">No Bicolor Cats</span>|: {{#var:bicoloryes}} '''Bicolor Cats''' ( {{#expr: ({{#var:bicoloryes}}/{{#var:totalcats}}*100) round 2}}% ) }}
{{#ifeq: {{#var:bicolorno}} | 0 |:<span style="color:gray;">No Self Cats</span>|: {{#var:bicolorno}} '''Self Cats''' ( {{#expr: ({{#var:bicolorno}}/{{#var:totalcats}}*100) round 2}}% ) }}</SMALL></includeonly>
+
{{#ifeq: {{#var:bicolorno}} | 0 |:<span style="color:gray;">No Self Cats</span>|: {{#var:bicolorno}} '''Self Cats''' ( {{#expr: ({{#var:bicolorno}}/{{#var:totalcats}}*100) round 2}}% ) }}
 +
</SMALL></includeonly>

Latest revision as of 21:57, 14 June 2017

Used to make genetic and traits compilations for character factoids pages.

Code

{{Genetraitcomp3|<NAME>}}