Difference between revisions of "Template:Infobox rugby league biography/COACH"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Primefac
(expand club coach teams to 15, rep coach teams to 10 (skipping I because of convention and to avoid confusion))
Line 113: Line 113:
 
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlosses10|<noinclude>-</noinclude>}}}|{{{coachlosses10}}}}}
 
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlosses10|<noinclude>-</noinclude>}}}|{{{coachlosses10}}}}}
 
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwins10|0}}}/{{{coachgames10|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwins10|0}}}/{{{coachgames10|0}}}*100 round 0}}}}}}
 
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwins10|0}}}/{{{coachgames10|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwins10|0}}}/{{{coachgames10|0}}}*100 round 0}}}}}}
 +
}}
 +
{{!}}-
 +
{{#if: {{{coachteam11|<noinclude>-</noinclude>}}} |
 +
{{!}} style="white-space:nowrap"{{!}} {{#ifeq:{{{coachyear11end|}}}|present|{{{coachyear11start}}}&ndash;|{{{coachyear11start}}}{{#if:{{{coachyear11end|<noinclude>-</noinclude>}}}|&ndash;{{{coachyear11end}}}}}}}
 +
{{!}} {{{coachteam11}}}
 +
{{!}} style="text-align:center;"{{!}} {{#ifeq:{{{coachgames11|}}}|unknown||{{{coachgames11}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachwins11|<noinclude>-</noinclude>}}}|{{{coachwins11}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachdraws11|<noinclude>-</noinclude>}}}|{{{coachdraws11}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlosses11|<noinclude>-</noinclude>}}}|{{{coachlosses11}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwins11|0}}}/{{{coachgames11|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwins11|0}}}/{{{coachgames11|0}}}*100 round 0}}}}}}
 +
}}
 +
{{!}}-
 +
{{#if: {{{coachteam12|<noinclude>-</noinclude>}}} |
 +
{{!}} style="white-space:nowrap"{{!}} {{#ifeq:{{{coachyear12end|}}}|present|{{{coachyear12start}}}&ndash;|{{{coachyear12start}}}{{#if:{{{coachyear12end|<noinclude>-</noinclude>}}}|&ndash;{{{coachyear12end}}}}}}}
 +
{{!}} {{{coachteam12}}}
 +
{{!}} style="text-align:center;"{{!}} {{#ifeq:{{{coachgames12|}}}|unknown||{{{coachgames12}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachwins12|<noinclude>-</noinclude>}}}|{{{coachwins12}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachdraws12|<noinclude>-</noinclude>}}}|{{{coachdraws12}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlosses12|<noinclude>-</noinclude>}}}|{{{coachlosses12}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwins12|0}}}/{{{coachgames12|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwins12|0}}}/{{{coachgames12|0}}}*100 round 0}}}}}}
 +
}}
 +
{{!}}-
 +
{{#if: {{{coachteam13|<noinclude>-</noinclude>}}} |
 +
{{!}} style="white-space:nowrap"{{!}} {{#ifeq:{{{coachyear13end|}}}|present|{{{coachyear13start}}}&ndash;|{{{coachyear13start}}}{{#if:{{{coachyear13end|<noinclude>-</noinclude>}}}|&ndash;{{{coachyear13end}}}}}}}
 +
{{!}} {{{coachteam13}}}
 +
{{!}} style="text-align:center;"{{!}} {{#ifeq:{{{coachgames13|}}}|unknown||{{{coachgames13}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachwins13|<noinclude>-</noinclude>}}}|{{{coachwins13}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachdraws13|<noinclude>-</noinclude>}}}|{{{coachdraws13}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlosses13|<noinclude>-</noinclude>}}}|{{{coachlosses13}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwins13|0}}}/{{{coachgames13|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwins13|0}}}/{{{coachgames13|0}}}*100 round 0}}}}}}
 +
}}
 +
{{!}}-
 +
{{#if: {{{coachteam14|<noinclude>-</noinclude>}}} |
 +
{{!}} style="white-space:nowrap"{{!}} {{#ifeq:{{{coachyear14end|}}}|present|{{{coachyear14start}}}&ndash;|{{{coachyear14start}}}{{#if:{{{coachyear14end|<noinclude>-</noinclude>}}}|&ndash;{{{coachyear14end}}}}}}}
 +
{{!}} {{{coachteam14}}}
 +
{{!}} style="text-align:center;"{{!}} {{#ifeq:{{{coachgames14|}}}|unknown||{{{coachgames14}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachwins14|<noinclude>-</noinclude>}}}|{{{coachwins14}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachdraws14|<noinclude>-</noinclude>}}}|{{{coachdraws14}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlosses14|<noinclude>-</noinclude>}}}|{{{coachlosses14}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwins14|0}}}/{{{coachgames14|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwins14|0}}}/{{{coachgames14|0}}}*100 round 0}}}}}}
 +
}}
 +
{{!}}-
 +
{{#if: {{{coachteam15|<noinclude>-</noinclude>}}} |
 +
{{!}} style="white-space:nowrap"{{!}} {{#ifeq:{{{coachyear15end|}}}|present|{{{coachyear15start}}}&ndash;|{{{coachyear15start}}}{{#if:{{{coachyear15end|<noinclude>-</noinclude>}}}|&ndash;{{{coachyear15end}}}}}}}
 +
{{!}} {{{coachteam15}}}
 +
{{!}} style="text-align:center;"{{!}} {{#ifeq:{{{coachgames15|}}}|unknown||{{{coachgames15}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachwins15|<noinclude>-</noinclude>}}}|{{{coachwins15}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachdraws15|<noinclude>-</noinclude>}}}|{{{coachdraws15}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlosses15|<noinclude>-</noinclude>}}}|{{{coachlosses15}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwins15|0}}}/{{{coachgames15|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwins15|0}}}/{{{coachgames15|0}}}*100 round 0}}}}}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
Line 219: Line 269:
 
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlossesH|<noinclude>-</noinclude>}}}|{{{coachlossesH}}}}}
 
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlossesH|<noinclude>-</noinclude>}}}|{{{coachlossesH}}}}}
 
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwinsH|0}}}/{{{coachgamesH|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwinsH|0}}}/{{{coachgamesH|0}}}*100 round 0}}}}}}
 
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwinsH|0}}}/{{{coachgamesH|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwinsH|0}}}/{{{coachgamesH|0}}}*100 round 0}}}}}}
 +
}}
 +
{{!}}-
 +
{{#if: {{{coachteamJ|<noinclude>-</noinclude>}}} |
 +
{{!}} style="white-space:nowrap"{{!}} {{#ifeq:{{{coachyearJend|}}}|present|{{{coachyearJstart}}}&ndash;|{{{coachyearJstart}}}{{#if:{{{coachyearJend|<noinclude>-</noinclude>}}}|&ndash;{{{coachyearJend}}}}}}}
 +
{{!}} {{{coachteamJ}}}
 +
{{!}} style="text-align:center;"{{!}} {{#ifeq:{{{coachgamesJ|}}}|unknown||{{{coachgamesJ}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachwinsJ|<noinclude>-</noinclude>}}}|{{{coachwinsJ}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachdrawsJ|<noinclude>-</noinclude>}}}|{{{coachdrawsJ}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlossesJ|<noinclude>-</noinclude>}}}|{{{coachlossesJ}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwinsJ|0}}}/{{{coachgamesJ|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwinsJ|0}}}/{{{coachgamesJ|0}}}*100 round 0}}}}}}
 +
}}
 +
{{!}}-
 +
{{#if: {{{coachteamK|<noinclude>-</noinclude>}}} |
 +
{{!}} style="white-space:nowrap"{{!}} {{#ifeq:{{{coachyearKend|}}}|present|{{{coachyearKstart}}}&ndash;|{{{coachyearKstart}}}{{#if:{{{coachyearKend|<noinclude>-</noinclude>}}}|&ndash;{{{coachyearKend}}}}}}}
 +
{{!}} {{{coachteamK}}}
 +
{{!}} style="text-align:center;"{{!}} {{#ifeq:{{{coachgamesK|}}}|unknown||{{{coachgamesK}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachwinsK|<noinclude>-</noinclude>}}}|{{{coachwinsK}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachdrawsK|<noinclude>-</noinclude>}}}|{{{coachdrawsK}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#if:{{{coachlossesK|<noinclude>-</noinclude>}}}|{{{coachlossesK}}}}}
 +
{{!}} style="text-align:center;"{{!}} {{#iferror:{{#expr:{{{coachwinsK|0}}}/{{{coachgamesK|0}}}*100 round 0}}||{{formatnum:{{#expr:{{{coachwinsK|0}}}/{{{coachgamesK|0}}}*100 round 0}}}}}}
 
}}
 
}}
 
|-
 
|-

Revision as of 14:27, 30 June 2019

Club
Years Team Gms W D L W%
{{{coachyear1start}}}–{{{coachyear1end}}} {{{coachteam1}}} {{{coachgames1}}} {{{coachwins1}}} {{{coachdraws1}}} {{{coachlosses1}}}
{{{coachyear2start}}}–{{{coachyear2end}}} {{{coachteam2}}} {{{coachgames2}}} {{{coachwins2}}} {{{coachdraws2}}} {{{coachlosses2}}}
{{{coachyear3start}}}–{{{coachyear3end}}} {{{coachteam3}}} {{{coachgames3}}} {{{coachwins3}}} {{{coachdraws3}}} {{{coachlosses3}}}
{{{coachyear4start}}}–{{{coachyear4end}}} {{{coachteam4}}} {{{coachgames4}}} {{{coachwins4}}} {{{coachdraws4}}} {{{coachlosses4}}}
{{{coachyear5start}}}–{{{coachyear5end}}} {{{coachteam5}}} {{{coachgames5}}} {{{coachwins5}}} {{{coachdraws5}}} {{{coachlosses5}}}
{{{coachyear6start}}}–{{{coachyear6end}}} {{{coachteam6}}} {{{coachgames6}}} {{{coachwins6}}} {{{coachdraws6}}} {{{coachlosses6}}}
{{{coachyear7start}}}–{{{coachyear7end}}} {{{coachteam7}}} {{{coachgames7}}} {{{coachwins7}}} {{{coachdraws7}}} {{{coachlosses7}}}
{{{coachyear8start}}}–{{{coachyear8end}}} {{{coachteam8}}} {{{coachgames8}}} {{{coachwins8}}} {{{coachdraws8}}} {{{coachlosses8}}}
{{{coachyear9start}}}–{{{coachyear9end}}} {{{coachteam9}}} {{{coachgames9}}} {{{coachwins9}}} {{{coachdraws9}}} {{{coachlosses9}}}
{{{coachyear10start}}}–{{{coachyear10end}}} {{{coachteam10}}} {{{coachgames10}}} {{{coachwins10}}} {{{coachdraws10}}} {{{coachlosses10}}}
{{{coachyear11start}}}–{{{coachyear11end}}} {{{coachteam11}}} {{{coachgames11}}} {{{coachwins11}}} {{{coachdraws11}}} {{{coachlosses11}}}
{{{coachyear12start}}}–{{{coachyear12end}}} {{{coachteam12}}} {{{coachgames12}}} {{{coachwins12}}} {{{coachdraws12}}} {{{coachlosses12}}}
{{{coachyear13start}}}–{{{coachyear13end}}} {{{coachteam13}}} {{{coachgames13}}} {{{coachwins13}}} {{{coachdraws13}}} {{{coachlosses13}}}
{{{coachyear14start}}}–{{{coachyear14end}}} {{{coachteam14}}} {{{coachgames14}}} {{{coachwins14}}} {{{coachdraws14}}} {{{coachlosses14}}}
{{{coachyear15start}}}–{{{coachyear15end}}} {{{coachteam15}}} {{{coachgames15}}} {{{coachwins15}}} {{{coachdraws15}}} {{{coachlosses15}}}
Total
Representative
Years Team Gms W D L W%
{{{coachyearAstart}}}–{{{coachyearAend}}} {{{coachteamA}}} {{{coachgamesA}}} {{{coachwinsA}}} {{{coachdrawsA}}} {{{coachlossesA}}}
{{{coachyearBstart}}}–{{{coachyearBend}}} {{{coachteamB}}} {{{coachgamesB}}} {{{coachwinsB}}} {{{coachdrawsB}}} {{{coachlossesB}}}
{{{coachyearCstart}}}–{{{coachyearCend}}} {{{coachteamC}}} {{{coachgamesC}}} {{{coachwinsC}}} {{{coachdrawsC}}} {{{coachlossesC}}}
{{{coachyearDstart}}}–{{{coachyearDend}}} {{{coachteamD}}} {{{coachgamesD}}} {{{coachwinsD}}} {{{coachdrawsD}}} {{{coachlossesD}}}
{{{coachyearEstart}}}–{{{coachyearEend}}} {{{coachteamE}}} {{{coachgamesE}}} {{{coachwinsE}}} {{{coachdrawsE}}} {{{coachlossesE}}}
{{{coachyearFstart}}}–{{{coachyearFend}}} {{{coachteamF}}} {{{coachgamesF}}} {{{coachwinsF}}} {{{coachdrawsF}}} {{{coachlossesF}}}
{{{coachyearGstart}}}–{{{coachyearGend}}} {{{coachteamG}}} {{{coachgamesG}}} {{{coachwinsG}}} {{{coachdrawsG}}} {{{coachlossesG}}}
{{{coachyearHstart}}}–{{{coachyearHend}}} {{{coachteamH}}} {{{coachgamesH}}} {{{coachwinsH}}} {{{coachdrawsH}}} {{{coachlossesH}}}
{{{coachyearJstart}}}–{{{coachyearJend}}} {{{coachteamJ}}} {{{coachgamesJ}}} {{{coachwinsJ}}} {{{coachdrawsJ}}} {{{coachlossesJ}}}
{{{coachyearKstart}}}–{{{coachyearKend}}} {{{coachteamK}}} {{{coachgamesK}}} {{{coachwinsK}}} {{{coachdrawsK}}} {{{coachlossesK}}}
50px Template documentation

This subtemplate is used to generate the rugby league coach table for {{infobox rugby league biography}}. It should not be used directly.