Template

Difference between revisions of "Genetraitcomp3"

From Children of StarClan

 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<PRE>{{Genetraitcomp3|<NAME>}}</PRE>
 
<PRE>{{Genetraitcomp3|<NAME>}}</PRE>
  
</noinclude><includeonly>{{#vardefine:coloralbino|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Albino Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorblack|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Black Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorbrown|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Brown Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorcream|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cream Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colordilutetortie|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Dilute Tortie Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorgray|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Gray Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorred|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Red Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colortan|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Tan Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colortortie|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Tortie Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorwhite|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = White Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesamber|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Amber Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesaqua|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Aqua Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesblue|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Blue Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyescopper|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Copper Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesgray|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Gray Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesgreen|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Green Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyeslime|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Lime Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesodd|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Odd Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesorange|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Orange Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyespink|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Pink Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesyellow|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Yellow Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}
+
</noinclude><includeonly>{{#vardefine:coloralbino|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Albino Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorblack|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Black Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorbrown|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Brown Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorcream|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cream Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colordilutetortie|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Dilute Tortie Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorgray|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Gray Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorred|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Red Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colortan|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Tan Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colortortie|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Tortie Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:colorwhite|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = White Based Cats | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesamber|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Amber Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesaqua|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Aqua Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesblue|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Blue Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyescopper|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Copper Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesgray|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Gray Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesgreen|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Green Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyeslime|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Lime Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesodd|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Odd Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesorange|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Orange Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyespink|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Pink Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:eyesyellow|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Cats with Yellow Eyes | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:bicoloryes|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Bicolor | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}{{#vardefine:bicolorno|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | notcategory = Bicolor | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}<SMALL>
 
 
{{#vardefine:bicoloryes|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Bicolor | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}
 
{{#vardefine:bicolorno|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | notcategory = Bicolor | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}
 
 
 
<SMALL>
 
  
  
Line 25: Line 20:
 
{{#ifeq: {{#var:colortortie}} | 0 |:<span style="color:gray;">No Tortie Based Cats</span>|: {{#var:colortortie}} '''Tortie Based Cats''' ( {{#expr: ({{#var:colortortie}}/{{#var:totalcats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:colortortie}} | 0 |:<span style="color:gray;">No Tortie Based Cats</span>|: {{#var:colortortie}} '''Tortie Based Cats''' ( {{#expr: ({{#var:colortortie}}/{{#var:totalcats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:colorwhite}} | 0 |:<span style="color:gray;">No White Based Cats</span>|: {{#var:colorwhite}} '''White Based Cats''' ( {{#expr: ({{#var:colorwhite}}/{{#var:totalcats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:colorwhite}} | 0 |:<span style="color:gray;">No White Based Cats</span>|: {{#var:colorwhite}} '''White Based Cats''' ( {{#expr: ({{#var:colorwhite}}/{{#var:totalcats}}*100) round 2}}% ) }}
 
 
<!--'''Tabby pattern''':{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = **Tabby Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |0|| :{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category= **Tabby Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} Tabby cat{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category= **Tabby Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |1||s}} ({{#expr: ({{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category= **Tabby Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }}/{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} * 100) round 2}}%)}}{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | notcategorymatch = %Tabby% | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |0|| :{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | notcategorymatch = %Tabby% | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} Non-tabby cat{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | notcategorymatch = %Tabby% | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |1||s}} ({{#expr: ({{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | notcategorymatch = %Tabby% | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }}/{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} * 100) round 2}}%)}}-->
 
  
  
Line 48: 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>}}