Template:PlayerRanker/header: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
No edit summary
Crazycompgeek (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{table-begin}}</noinclude>
<noinclude>{{table-begin}}</noinclude>
! width=40  | Rank  
! style="background:{{{color|lightgray}}}; color:{{{text|black}}}" width=40  | Rank  
! width=250 | Player
! style="background:{{{color|lightgray}}}; color:{{{text|black}}}"  width=250 | Player
! {{#if:{{{skipLeague|}}}|style="display:none"{{!}}|width=50 {{!}} League}}
! {{#if:{{{hasCup|}}}| style="background:{{{color|lightgray}}}; color:{{{text|black}}}" width=50 {{!}} Cup|style="display:none"{{!}}}}
! {{#if:{{{hasCup|}}}|width=50 {{!}} Cup|style="display:none"{{!}}}}
! {{#if:{{{skipLeague|}}}|style="display:none"{{!}}| style="background:{{{color|lightgray}}}; color:{{{text|black}}}" width=50 {{!}} League}}
! {{#if: {{{hasQualification|}}}|width=50 {{!}} Qual|style="display:none"{{!}}}}
! {{#if: {{{hasQualification|}}}| style="background:{{{color|lightgray}}}; color:{{{text|black}}}" width=50 {{!}} Qual|style="display:none"{{!}}}}
! {{#if: {{{hasMasters|}}}|width=50 {{!}} Masters|style="display:none"{{!}}}}
! {{#if: {{{hasMasters|}}}| style="background:{{{color|lightgray}}}; color:{{{text|black}}}" width=50 {{!}} Masters|style="display:none"{{!}}}}
! width=50  | Total<noinclude>
! {{#ifexpr: {{#if:{{{skipLeague|}}}|0|1}} + {{#if:{{{hasCup|}}}|1|0}} + {{#if:{{{hasQualification|}}}|1|0}} + {{#if:{{{hasMasters|}}}|1|0}} != 1| style="background:{{{color|lightgray}}}; color:{{{text|black}}}" width=50 {{!}} Total|style="display:none"{{!}}}}<noinclude>
{{table-end}}
{{table-end}}


== Example ==
== Example ==
{{table-begin}}
{{table-begin}}
{{PlayerRanker/header|hasQualification=true}}
{{PlayerRanker/header|skipLeague=true}}
{{table-end}}
{{table-end}}


[[Category:Statistics templates|PlayerRanker/header]]
[[Category:Statistics templates|PlayerRanker/header]]
</noinclude>
</noinclude>

Latest revision as of 21:24, 7 March 2020

Rank Player League

Example

Rank Player Total