Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}}
 
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}}
{| class="comptf-infobox" style="border:1px solid #aaa; font-size:13px; padding:2px; width:300px; float:right; clear:right; border-spacing:0; margin:0 0 0.5em 1em" cellpadding="2"<!--
+
{| class="comptf-infobox" cellpadding="2"<!--
  
  
Line 11: Line 11:
  
 
-->
 
-->
! style="padding-left:40px; width:100%; font-size:19px; font-weight:700; text-align:center; background-color:#d8d8d8" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}<div class="comptf-controls" style="vertical-align:top; float:right; margin:2px; width:40px">{{VDE|Template:Infobox Player||{{FULLPAGENAME}}}}</div><!--
+
! class="comptf-infobox-title" style="padding-left:40px" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}<div class="comptf-controls" style="vertical-align:top; float:right; margin:2px; width:40px">{{VDE|Template:Infobox Player||{{FULLPAGENAME}}}}</div><!--
  
 
IMAGE
 
IMAGE
Line 26: Line 26:
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" style="font-size:11px; line-height:1.3; text-align:center" {{!}} {{{caption}}}
+
{{!}} colspan="2" style="font-size:11px; line-height:1.225; text-align:center" {{!}} {{{caption}}}
 
|}}<!--
 
|}}<!--
  
Line 39: Line 39:
 
-->
 
-->
 
|-
 
|-
! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" | Player Information<!---
+
! class="comptf-infobox-subtitle" colspan="2" | Player Information<!---
  
 
NAME
 
NAME
Line 73: Line 73:
 
{{#if:{{{nationality|}}}|
 
{{#if:{{{nationality|}}}|
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
{{!}} class="comptf-infobox-body" {{!}} '''Nationalit{{#if:{{{nationality2|}}}|ies|y}}'''
+
{{!}} class="comptf-infobox-header" {{!}} '''Nationalit{{#if:{{{nationality2|}}}|ies|y}}'''
 
{{!}} class="comptf-infobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}}
 
{{!}} class="comptf-infobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}}
 
|}}<!--
 
|}}<!--
Line 81: Line 81:
 
-->
 
-->
 
|- class="comptf-infobox-info"
 
|- class="comptf-infobox-info"
| class="comptf-infobox-body" | '''Status'''
+
| class="comptf-infobox-header" | '''Status'''
 
| class="comptf-infobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!--
 
| class="comptf-infobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!--
  
Line 218: Line 218:
 
{{#if:{{{lanachievements|}}}|
 
{{#if:{{{lanachievements|}}}|
 
{{!}}-
 
{{!}}-
! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" <!--style="position:relative" -->{{!}} Achievements<!--<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Achievements|[see all]]]</span>--><!--
+
! class="comptf-infobox-subtitle" colspan="2" <!--style="position:relative" -->{{!}} Achievements<!--<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Achievements|[see all]]]</span>--><!--
 
{{!}}- style="background-color:#fff"
 
{{!}}- style="background-color:#fff"
 
{{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center"><div style="float:left;width:25%;">'''Place'''</div><div style="float:left;width:50%;text-align:center;">'''Tournament'''</div><div style="float:right;width:25%;">'''Team'''</div></div>-->
 
{{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center"><div style="float:left;width:25%;">'''Place'''</div><div style="float:left;width:50%;text-align:center;">'''Tournament'''</div><div style="float:right;width:25%;">'''Team'''</div></div>-->
Line 237: Line 237:
 
{{#if:{{{team_history|}}}|
 
{{#if:{{{team_history|}}}|
 
{{!}}-
 
{{!}}-
! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" <!--style="position:relative" -->{{!}} Team History<!--<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Team history|[see all]]]</span>-->
+
! class="comptf-infobox-subtitle" colspan="2" <!--style="position:relative" -->{{!}} Team History<!--<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Team history|[see all]]]</span>-->
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" {{!}} {{{team_history|}}}
 
{{!}} colspan="2" {{!}} {{{team_history|}}}
Line 253: Line 253:
 
{{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}|
 
{{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}|
 
{{!}}-
 
{{!}}-
! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" {{!}} Links
+
! class="comptf-infobox-subtitle" colspan="2" {{!}} Links
 
{{!}}-
 
{{!}}-
 
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center" {{!}} {{#if:{{{tftv|}}}|[[Image:TeamfortressTV icon2.png|32px|teamfortress.tv User Page|link=http://www.teamfortress.tv/user/{{{tftv}}}]]}}<!--
 
{{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center" {{!}} {{#if:{{{tftv|}}}|[[Image:TeamfortressTV icon2.png|32px|teamfortress.tv User Page|link=http://www.teamfortress.tv/user/{{{tftv}}}]]}}<!--

Revision as of 14:35, 13 December 2019