Difference between revisions of "Genetraitcomp4"
From Children of StarClan
(Created page with "Starting Soon.") |
|||
Line 1: | Line 1: | ||
− | + | <noinclude>Used to make genetic and traits compilations for character factoids pages. | |
+ | |||
+ | == Code == | ||
+ | <PRE>{{Genetraitcomp3|<NAME>}}</PRE> | ||
+ | |||
+ | </noinclude><includeonly>{{#vardefine:tabbyyes|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Tabby Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:tabbyno|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | notcategory = Tabby Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}<SMALL> | ||
+ | |||
+ | |||
+ | |||
+ | '''Tabby''': | ||
+ | |||
+ | {{#ifeq: {{#var:tabbyyes}} | 0 |:<span style="color:gray;">Tabby Cats</span>|: {{#var:tabbyyes}} '''Tabby Cats''' ( {{#expr: ({{#var:tabbyyes}}/{{#var:totalcats}}*100) round 2}}% ) }} | ||
+ | {{#ifeq: {{#var:tabbyno}} | 0 |:<span style="color:gray;">Non-tabby Cats</span>|: {{#var:tabbyno}} '''Non-tabby Cats''' ( {{#expr: ({{#var:tabbyno}}/{{#var:totalcats}}*100) round 2}}% ) }} | ||
+ | |||
+ | </SMALL></includeonly> |
Revision as of 21:42, 14 June 2017
Used to make genetic and traits compilations for character factoids pages.
Code
{{Genetraitcomp3|<NAME>}}