Template

Difference between revisions of "Genetraitcomp1"

From Children of StarClan

Line 30: Line 30:
  
  
}}'''Gender''':
+
}}<BR>'''Gender''':
 
{{#ifeq: {{#var:maleintact}} | 0 |:<span style="color:gray;">No Tom Cats</span>|: {{#var:maleintact}} '''Tom(s)''' ( {{#expr: ({{#var:maleintact}}/{{#var:clancats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:maleintact}} | 0 |:<span style="color:gray;">No Tom Cats</span>|: {{#var:maleintact}} '''Tom(s)''' ( {{#expr: ({{#var:maleintact}}/{{#var:clancats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:femaleintact}} | 0 |:<span style="color:gray;">No She-Cats</span>|: {{#var:femaleintact}} '''She-cat(s)''' ( {{#expr: ({{#var:femaleintact}}/{{#var:clancats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:femaleintact}} | 0 |:<span style="color:gray;">No She-Cats</span>|: {{#var:femaleintact}} '''She-cat(s)''' ( {{#expr: ({{#var:femaleintact}}/{{#var:clancats}}*100) round 2}}% ) }}

Revision as of 01:29, 13 June 2017

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

Code

{{Genetraitcomp1|<NAME>}}