Template:HistogramLeague: Difference between revisions

From Hattrick
Jump to navigationJump to search
Crazycompgeek (talk | contribs)
No edit summary
Crazycompgeek (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{HistogramPiece|height=8}}||{{HistogramPiece|data={{{division|}}}}}{{#ifexpr: {{{rank|1}}}>1|{{HistogramPiece|height={{#expr: {{{rank|1}}}-1}}}}}}{{HistogramPiece|type=league|division={{{division|}}}|height={{#expr: 9-{{{rank|1}}}}}|data={{{rank|}}}}}{{HistogramPiece|data={{{season|}}}}}
<noinclude>{{table-begin}}</noinclude>| {{HistogramPiece|data={{{division|}}}}}{{#ifexpr: {{#ifeq: {{{rank|}}}|?|8|{{{rank|1}}}}}>1|{{HistogramPiece|height={{#expr: {{#ifeq: {{{rank|}}}|?|8|{{{rank|1}}}}}-1}}}}}}{{HistogramPiece|type=league|division={{{division|}}}|height={{#expr: 9-{{#ifeq: {{{rank|}}}|?|8|{{{rank|1}}}}}}}|data={{{rank|}}}}}{{HistogramPiece|data={{{season|}}}}}
<noinclude>
<noinclude>
{{table-end}}
{{documentation}}
[[Category:Histogram template|Histogram League]]
[[Category:Histogram template|Histogram League]]
</noinclude>
</noinclude>

Latest revision as of 23:56, 3 May 2013

[edit] Template documentation

Usage

This template displays a histogram bar in a historgram for a league season.

| {{HistogramLeague|division=IV|rank=3|season=20}}
Parameter value Description
division=div Sets division to div.
rank=num Sets rank to num.
season=num Sets season to num.

See also