Difference between revisions of "Template:Infobox sports league"
Jump to navigation
Jump to search
TheMooCows (talk | contribs) (Created page with "{{infobox | title = {{if empty|{{{title|}}}|{{BASEPAGENAME}}}} | subheader = {{#if: {{{current_season|}}} | '''Current season, competition or edition:'''<br />{{Current s...") |
TheMooCows (talk | contribs) |
||
Line 2: | Line 2: | ||
| title = {{if empty|{{{title|}}}|{{BASEPAGENAME}}}} | | title = {{if empty|{{{title|}}}|{{BASEPAGENAME}}}} | ||
− | | subheader = {{#if: {{{current_season|}}} | '''Current season, competition or edition:'''<br /> | + | | subheader = {{#if: {{{current_season|}}} | '''Current season, competition or edition:'''<br /> ''{{#iferror:{{#expr:{{{current_season}}}}}|[[{{{current_season}}}]]|{{{current_season}}}}}'' | {{#if: {{{last_season|}}} | '''Most recent season or competition:'''<br />''{{#iferror:{{#expr:{{{last_season}}}}}|[[{{{last_season}}}]]|{{{last_season}}}}}'' | {{#if: {{{upcoming_season|}}} | '''Upcoming season or competition:'''<br />{{Current sports event icon|sport={{{sport}}}|size=31px}} ''{{#iferror:{{#expr:{{{upcoming_season}}}}}|[[{{{upcoming_season}}}]]|{{{upcoming_season}}}}}''}} }} }}{{#if: {{{current_season2|}}} | <br/>''{{#iferror:{{#expr:{{{current_season2}}}}}|[[{{{current_season2}}}]]|{{{current_season2}}}}}''}} |
| labelstyle = white-space: nowrap | | labelstyle = white-space: nowrap | ||