Difference between revisions of "Template:Infobox rugby league biography/AFL"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes |
imported>Frietjes (refactor) |
||
Line 1: | Line 1: | ||
{| <includeonly>style="width:100%; margin:-2px -1px;"</includeonly> <noinclude>class="infobox"</noinclude> | {| <includeonly>style="width:100%; margin:-2px -1px;"</includeonly> <noinclude>class="infobox"</noinclude> | ||
{{#if: {{{afl_club1|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club1|<noinclude>-</noinclude>}}} | | ||
− | ! style="background: #EBF5FF; text-align: center" colspan= | + | ! style="background: #EBF5FF; text-align: center" colspan=4 {{!}} Club |
{{!}}- | {{!}}- | ||
{{!}}- style="line-height: 9pt" | {{!}}- style="line-height: 9pt" | ||
{{!}} style="width: 6.5em" {{!}} '''Years''' | {{!}} style="width: 6.5em" {{!}} '''Years''' | ||
− | {{!}} | + | {{!}} style="width: 16em" {{!}} '''Team''' |
{{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''Pld'''|Played}} | {{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''Pld'''|Played}} | ||
{{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''G'''|Goals}} | {{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''G'''|Goals}} | ||
Line 11: | Line 11: | ||
{{#if: {{{afl_club1|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club1|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year1end|}}}|present|{{{afl_year1start}}}–|{{{afl_year1start}}}{{#if:{{{afl_year1end|<noinclude>-</noinclude>}}}|–{{{afl_year1end}}}}}}} | {{!}} {{#ifeq: {{{afl_year1end|}}}|present|{{{afl_year1start}}}–|{{{afl_year1start}}}{{#if:{{{afl_year1end|<noinclude>-</noinclude>}}}|–{{{afl_year1end}}}}}}} | ||
− | + | {{!}} {{{afl_club1}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances1}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances1}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals1}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals1}}} | ||
Line 18: | Line 18: | ||
{{#if: {{{afl_club2|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club2|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year2end|}}}|present|{{{afl_year2start}}}–|{{{afl_year2start}}}{{#if:{{{afl_year2end|<noinclude>-</noinclude>}}}|–{{{afl_year2end}}}}}}} | {{!}} {{#ifeq: {{{afl_year2end|}}}|present|{{{afl_year2start}}}–|{{{afl_year2start}}}{{#if:{{{afl_year2end|<noinclude>-</noinclude>}}}|–{{{afl_year2end}}}}}}} | ||
− | + | {{!}} {{{afl_club2}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances2}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances2}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals2}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals2}}} | ||
Line 25: | Line 25: | ||
{{#if: {{{afl_club3|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club3|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year3end|}}}|present|{{{afl_year3start}}}–|{{{afl_year3start}}}{{#if:{{{afl_year3end|<noinclude>-</noinclude>}}}|–{{{afl_year3end}}}}}}} | {{!}} {{#ifeq: {{{afl_year3end|}}}|present|{{{afl_year3start}}}–|{{{afl_year3start}}}{{#if:{{{afl_year3end|<noinclude>-</noinclude>}}}|–{{{afl_year3end}}}}}}} | ||
− | + | {{!}} {{{afl_club3}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances3}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances3}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals3}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals3}}} | ||
Line 32: | Line 32: | ||
{{#if: {{{afl_club4|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club4|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year4end|}}}|present|{{{afl_year4start}}}–|{{{afl_year4start}}}{{#if:{{{afl_year4end|<noinclude>-</noinclude>}}}|–{{{afl_year4end}}}}}}} | {{!}} {{#ifeq: {{{afl_year4end|}}}|present|{{{afl_year4start}}}–|{{{afl_year4start}}}{{#if:{{{afl_year4end|<noinclude>-</noinclude>}}}|–{{{afl_year4end}}}}}}} | ||
− | + | {{!}} {{{afl_club4}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances4}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances4}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals4}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals4}}} | ||
Line 39: | Line 39: | ||
{{#if: {{{afl_club5|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club5|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year5end|}}}|present|{{{afl_year5start}}}–|{{{afl_year5start}}}{{#if:{{{afl_year5end|<noinclude>-</noinclude>}}}|–{{{afl_year5end}}}}}}} | {{!}} {{#ifeq: {{{afl_year5end|}}}|present|{{{afl_year5start}}}–|{{{afl_year5start}}}{{#if:{{{afl_year5end|<noinclude>-</noinclude>}}}|–{{{afl_year5end}}}}}}} | ||
− | + | {{!}} {{{afl_club5}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances5}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances5}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals5}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals5}}} | ||
Line 46: | Line 46: | ||
{{#if: {{{afl_club6|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club6|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year6end|}}}|present|{{{afl_year6start}}}–|{{{afl_year6start}}}{{#if:{{{afl_year6end|<noinclude>-</noinclude>}}}|–{{{afl_year6end}}}}}}} | {{!}} {{#ifeq: {{{afl_year6end|}}}|present|{{{afl_year6start}}}–|{{{afl_year6start}}}{{#if:{{{afl_year6end|<noinclude>-</noinclude>}}}|–{{{afl_year6end}}}}}}} | ||
− | + | {{!}} {{{afl_club6}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances6}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances6}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals6}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals6}}} | ||
Line 53: | Line 53: | ||
{{#if: {{{afl_club7|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club7|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year7end|}}}|present|{{{afl_year7start}}}–|{{{afl_year7start}}}{{#if:{{{afl_year7end|<noinclude>-</noinclude>}}}|–{{{afl_year7end}}}}}}} | {{!}} {{#ifeq: {{{afl_year7end|}}}|present|{{{afl_year7start}}}–|{{{afl_year7start}}}{{#if:{{{afl_year7end|<noinclude>-</noinclude>}}}|–{{{afl_year7end}}}}}}} | ||
− | + | {{!}} {{{afl_club7}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances7}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances7}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals7}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals7}}} | ||
Line 60: | Line 60: | ||
{{#if: {{{afl_club8|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club8|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year8end|}}}|present|{{{afl_year8start}}}–|{{{afl_year8start}}}{{#if:{{{afl_year8end|<noinclude>-</noinclude>}}}|–{{{afl_year8end}}}}}}} | {{!}} {{#ifeq: {{{afl_year8end|}}}|present|{{{afl_year8start}}}–|{{{afl_year8start}}}{{#if:{{{afl_year8end|<noinclude>-</noinclude>}}}|–{{{afl_year8end}}}}}}} | ||
− | + | {{!}} {{{afl_club8}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances8}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances8}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals8}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals8}}} | ||
Line 67: | Line 67: | ||
{{#if: {{{afl_club9|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club9|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year9end|}}}|present|{{{afl_year9start}}}–|{{{afl_year9start}}}{{#if:{{{afl_year9end|<noinclude>-</noinclude>}}}|–{{{afl_year9end}}}}}}} | {{!}} {{#ifeq: {{{afl_year9end|}}}|present|{{{afl_year9start}}}–|{{{afl_year9start}}}{{#if:{{{afl_year9end|<noinclude>-</noinclude>}}}|–{{{afl_year9end}}}}}}} | ||
− | + | {{!}} {{{afl_club9}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances9}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances9}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals9}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals9}}} | ||
Line 74: | Line 74: | ||
{{#if: {{{afl_club10|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club10|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_year10end|}}}|present|{{{afl_year10start}}}–|{{{afl_year10start}}}{{#if:{{{afl_year10end|<noinclude>-</noinclude>}}}|–{{{afl_year10end}}}}}}} | {{!}} {{#ifeq: {{{afl_year10end|}}}|present|{{{afl_year10start}}}–|{{{afl_year10start}}}{{#if:{{{afl_year10end|<noinclude>-</noinclude>}}}|–{{{afl_year10end}}}}}}} | ||
− | + | {{!}} {{{afl_club10}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearances10}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearances10}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goals10}}} | {{!}} style="text-align: center" {{!}} {{{afl_goals10}}} | ||
Line 81: | Line 81: | ||
{{#if: {{{afl_club2|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_club2|<noinclude>-</noinclude>}}} | | ||
{{!}} | {{!}} | ||
− | {{!}} | + | {{!}} style="font-weight:bold" {{!}} Total |
− | {{{ | + | {{!}} style="text-align: center;font-weight:bold;" {{!}} {{{afl_total_appearances|}}} |
+ | {{!}} style="text-align: center;font-weight:bold;" {{!}} {{{afl_total_goals|}}} | ||
}} | }} | ||
− | |||
}} | }} | ||
+ | |- | ||
{{#if: {{{afl_teamA|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_teamA|<noinclude>-</noinclude>}}} | | ||
− | ! style="background: #EBF5FF; text-align: center" colspan= | + | ! style="background: #EBF5FF; text-align: center" colspan=4 {{!}} Representative |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 93: | Line 94: | ||
{{!}}- style="line-height: 9pt" | {{!}}- style="line-height: 9pt" | ||
{{!}} style="width: 6.5em" {{!}} '''Years''' | {{!}} style="width: 6.5em" {{!}} '''Years''' | ||
− | {{!}} | + | {{!}} style="width: 16em" {{!}} '''Team''' |
{{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''Pld'''|Played}} | {{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''Pld'''|Played}} | ||
{{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''G'''|Goals}} | {{!}} style="width: 1.5em; text-align: center" {{!}} {{tooltip|'''G'''|Goals}} | ||
Line 99: | Line 100: | ||
{{#if: {{{afl_teamA|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_teamA|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_yearAend|}}}|present|{{{afl_yearAstart}}}–|{{{afl_yearAstart}}}{{#if:{{{afl_yearAend|<noinclude>-</noinclude>}}}|–{{{afl_yearAend}}}}}}} | {{!}} {{#ifeq: {{{afl_yearAend|}}}|present|{{{afl_yearAstart}}}–|{{{afl_yearAstart}}}{{#if:{{{afl_yearAend|<noinclude>-</noinclude>}}}|–{{{afl_yearAend}}}}}}} | ||
− | + | {{!}} {{{afl_teamA}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearancesA}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearancesA}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goalsA}}} | {{!}} style="text-align: center" {{!}} {{{afl_goalsA}}} | ||
Line 106: | Line 107: | ||
{{#if: {{{afl_teamB|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_teamB|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_yearBend|}}}|present|{{{afl_yearBstart}}}–|{{{afl_yearBstart}}}{{#if:{{{afl_yearBend|<noinclude>-</noinclude>}}}|–{{{afl_yearBend}}}}}}} | {{!}} {{#ifeq: {{{afl_yearBend|}}}|present|{{{afl_yearBstart}}}–|{{{afl_yearBstart}}}{{#if:{{{afl_yearBend|<noinclude>-</noinclude>}}}|–{{{afl_yearBend}}}}}}} | ||
− | + | {{!}} {{{afl_teamB}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearancesB}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearancesB}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goalsB}}} | {{!}} style="text-align: center" {{!}} {{{afl_goalsB}}} | ||
Line 113: | Line 114: | ||
{{#if: {{{afl_teamC|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_teamC|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_yearCend|}}}|present|{{{afl_yearCstart}}}–|{{{afl_yearCstart}}}{{#if:{{{afl_yearCend|<noinclude>-</noinclude>}}}|–{{{afl_yearCend}}}}}}} | {{!}} {{#ifeq: {{{afl_yearCend|}}}|present|{{{afl_yearCstart}}}–|{{{afl_yearCstart}}}{{#if:{{{afl_yearCend|<noinclude>-</noinclude>}}}|–{{{afl_yearCend}}}}}}} | ||
− | + | {{!}} {{{afl_teamC}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearancesC}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearancesC}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goalsC}}} | {{!}} style="text-align: center" {{!}} {{{afl_goalsC}}} | ||
Line 120: | Line 121: | ||
{{#if: {{{afl_teamD|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_teamD|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_yearDend|}}}|present|{{{afl_yearDstart}}}–|{{{afl_yearDstart}}}{{#if:{{{afl_yearDend|<noinclude>-</noinclude>}}}|–{{{afl_yearDend}}}}}}} | {{!}} {{#ifeq: {{{afl_yearDend|}}}|present|{{{afl_yearDstart}}}–|{{{afl_yearDstart}}}{{#if:{{{afl_yearDend|<noinclude>-</noinclude>}}}|–{{{afl_yearDend}}}}}}} | ||
− | + | {{!}} {{{afl_teamD}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearancesD}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearancesD}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goalsD}}} | {{!}} style="text-align: center" {{!}} {{{afl_goalsD}}} | ||
Line 127: | Line 128: | ||
{{#if: {{{afl_teamE|<noinclude>-</noinclude>}}} | | {{#if: {{{afl_teamE|<noinclude>-</noinclude>}}} | | ||
{{!}} {{#ifeq: {{{afl_yearEend|}}}|present|{{{afl_yearEstart}}}–|{{{afl_yearEstart}}}{{#if:{{{afl_yearEend|<noinclude>-</noinclude>}}}|–{{{afl_yearEend}}}}}}} | {{!}} {{#ifeq: {{{afl_yearEend|}}}|present|{{{afl_yearEstart}}}–|{{{afl_yearEstart}}}{{#if:{{{afl_yearEend|<noinclude>-</noinclude>}}}|–{{{afl_yearEend}}}}}}} | ||
− | + | {{!}} {{{afl_teamE}}} | |
{{!}} style="text-align: center" {{!}} {{{afl_appearancesE}}} | {{!}} style="text-align: center" {{!}} {{{afl_appearancesE}}} | ||
{{!}} style="text-align: center" {{!}} {{{afl_goalsE}}} | {{!}} style="text-align: center" {{!}} {{{afl_goalsE}}} |
Revision as of 20:59, 21 February 2017
Club | |||
---|---|---|---|
Years | Team | Template:Tooltip | Template:Tooltip |
{{{afl_year1start}}}–{{{afl_year1end}}} | {{{afl_club1}}} | {{{afl_appearances1}}} | {{{afl_goals1}}} |
{{{afl_year2start}}}–{{{afl_year2end}}} | {{{afl_club2}}} | {{{afl_appearances2}}} | {{{afl_goals2}}} |
{{{afl_year3start}}}–{{{afl_year3end}}} | {{{afl_club3}}} | {{{afl_appearances3}}} | {{{afl_goals3}}} |
{{{afl_year4start}}}–{{{afl_year4end}}} | {{{afl_club4}}} | {{{afl_appearances4}}} | {{{afl_goals4}}} |
{{{afl_year5start}}}–{{{afl_year5end}}} | {{{afl_club5}}} | {{{afl_appearances5}}} | {{{afl_goals5}}} |
{{{afl_year6start}}}–{{{afl_year6end}}} | {{{afl_club6}}} | {{{afl_appearances6}}} | {{{afl_goals6}}} |
{{{afl_year7start}}}–{{{afl_year7end}}} | {{{afl_club7}}} | {{{afl_appearances7}}} | {{{afl_goals7}}} |
{{{afl_year8start}}}–{{{afl_year8end}}} | {{{afl_club8}}} | {{{afl_appearances8}}} | {{{afl_goals8}}} |
{{{afl_year9start}}}–{{{afl_year9end}}} | {{{afl_club9}}} | {{{afl_appearances9}}} | {{{afl_goals9}}} |
{{{afl_year10start}}}–{{{afl_year10end}}} | {{{afl_club10}}} | {{{afl_appearances10}}} | {{{afl_goals10}}} |
Total | |||
Representative | |||
Years | Team | Template:Tooltip | Template:Tooltip |
{{{afl_yearAstart}}}–{{{afl_yearAend}}} | {{{afl_teamA}}} | {{{afl_appearancesA}}} | {{{afl_goalsA}}} |
{{{afl_yearBstart}}}–{{{afl_yearBend}}} | {{{afl_teamB}}} | {{{afl_appearancesB}}} | {{{afl_goalsB}}} |
{{{afl_yearCstart}}}–{{{afl_yearCend}}} | {{{afl_teamC}}} | {{{afl_appearancesC}}} | {{{afl_goalsC}}} |
{{{afl_yearDstart}}}–{{{afl_yearDend}}} | {{{afl_teamD}}} | {{{afl_appearancesD}}} | {{{afl_goalsD}}} |
{{{afl_yearEstart}}}–{{{afl_yearEend}}} | {{{afl_teamE}}} | {{{afl_appearancesE}}} | {{{afl_goalsE}}} |

This subtemplate is used to generate the Australian rules football table for {{infobox rugby league biography}}. It should not be used directly.
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |