Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
Line 82: Line 82:
  
 
-->| class="comptf-infobox-header" | '''Status'''
 
-->| class="comptf-infobox-header" | '''Status'''
| class="comptf-infobox-body" | {{#switch:{{lc:{{{status|}}}}}|active=[[:Category:Active Players|Active]]|inactive|retired=[[:Category:Inactive Players|Inactive]]|#default={{{status|}}}}}{{#if:{{#len:{{{years_active|}}}}}>11|<br>}}(''{{{years_active|}}}'')
+
| class="comptf-infobox-body" |<!--
 +
-->{{#if:{{{status|}}}|{{{status|}}}|<!--
 +
-->{{#if:{{{active_startyear2|}}}|{{#if:{{{active_endyear2|}}}|[[:Category:Inactive Players|Inactive]]<br>''({{#ifeq:{{{active_startyear|}}}|{{{active_endyear|}}}|{{{active_startyear|}}}|{{{active_startyear|}}} - {{{active_endyear|}}}}}, {{#ifeq:{{{active_startyear2|}}}|{{{active_endyear2|}}}|{{{active_startyear2|}}}|{{{active_startyear2|}}} - {{{active|endyear2|}}}}})''|[[:Category:Active Players|Active]]<br>''({{{active_startyear|}}} - {{active_endyear|}}}, {{{active_startyear2|}}} - )''}}<!--
 +
 
 +
-->|{{#if:{{{active_endyear|}}}|[[:Category:Inactive Players|Inactive]] ''({{#ifeq:{{{active_startyear|}}}|{{{active_endyear|}}}|{{{active_startyear|}}}|{{{active_startyear|}}} - {{{active_endyear|}}}}})''|[[:Category:Active Players|Active]] ''(since {{{active_endyear|}}})''}}}}}}
 
|- class="comptf-infobox-info"
 
|- class="comptf-infobox-info"
 
<!--
 
<!--
Line 358: Line 362:
 
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=[[Category:Asian Players]]
 
|singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=[[Category:Asian Players]]
 
|#default=[[Category:Unknown Continent]]}}<!--
 
|#default=[[Category:Unknown Continent]]}}<!--
-->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!--
+
-->{{#if:{{{active_startyear2|}}}|{{#if:{{{active_endyear2|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}|{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}}}<!--
  
 
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=[[Category:6v6 Players]]|#default=[[Category:{{{format|}}} Players]]}}|[[Category:6v6 Players]]}}<!--
 
-->{{#if:{{{format|}}}|{{#switch:{{lc:{{{format|}}}}}|6|6s|6v6|sixes=[[Category:6v6 Players]]|#default=[[Category:{{{format|}}} Players]]}}|[[Category:6v6 Players]]}}<!--

Revision as of 16:16, 12 April 2020