Template

Difference between revisions of "Genetraitcomp2"

From Children of StarClan

Line 7: Line 7:
  
 
{{#vardefine:limitnone|{{#expr: {{#var:totalcats}} - {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Color Limit | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }} }}
 
{{#vardefine:limitnone|{{#expr: {{#var:totalcats}} - {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Color Limit | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }} }}
 +
{{#vardefine:limitpointed|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = Pointed Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}
 +
{{#vardefine:limitburmese|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Burmese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}
 +
{{#vardefine:limittonkinese|{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Tonkinese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} }}
  
 
<SMALL>
 
<SMALL>
Line 42: Line 45:
  
 
{{#ifeq: {{#var:limitnone}} | 0 | :<span style="color:gray;">No Full Color Cats</span> |: {{#var:limitnone}} '''Full Color''' ( {{#expr: ({{#var:limitnone}}/{{#var:totalcats}}*100) round 2}}% ) }}
 
{{#ifeq: {{#var:limitnone}} | 0 | :<span style="color:gray;">No Full Color Cats</span> |: {{#var:limitnone}} '''Full Color''' ( {{#expr: ({{#var:limitnone}}/{{#var:totalcats}}*100) round 2}}% ) }}
 
+
{{#ifeq: {{#var:limitpointed}} | 0 | :<span style="color:gray;">No Pointed Cats</span> |: {{#var:limitpointed}} '''Pointed''' ( {{#expr: ({{#var:limitpointed}}/{{#var:totalcats}}*100) round 2}}% ) }}
<!--
+
{{#ifeq: {{#var:limitburmese}} | 0 | :<span style="color:gray;">No Burmese Cats</span> |: {{#var:limitburmese}} '''Burmese''' ( {{#expr: ({{#var:limitburmese}}/{{#var:totalcats}}*100) round 2}}% ) }}
{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Pointed Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |0|| :{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Pointed Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} Pointed cat{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Pointed Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |1||s}} ({{#expr: ({{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Pointed 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: {{#var:limittonkinese}} | 0 | :<span style="color:gray;">No Tonkinese Cats</span> |: {{#var:limittoninese}} '''Tonkinese''' ( {{#expr: ({{#var:limittonkinese}}/{{#var:totalcats}}*100) round 2}}% ) }}</SMALL></includeonly>
 
 
{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Burmese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |0|| :{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Burmese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} Burmese cat{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Burmese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |1||s}} ({{#expr: ({{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Burmese 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 | category = *Tonkinese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |0|| :{{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Tonkinese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} Tonkinese cat{{#ifeq: {{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Tonkinese Pattern | resultsheader = %PAGES% | noresultsheader = 0 | format = ,,, | shownamespace = false }} |1||s}} ({{#expr: ({{#dpl: debug = 0 | category = Player Characters belonging to {{{1}}} | notcategory = Dead Characters | category = *Tonkinese 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}}%)}}-->
 
</SMALL></includeonly>
 

Revision as of 21:06, 14 June 2017

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

Code

{{Genetraitcomp2|<NAME>}}