Difference between revisions of "Template:Infobox Australian rules football season/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(Sync)
 
imported>Jenks24
(caps)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{infobox
 
{{infobox
 
| bodyclass  = vcard
 
| bodyclass  = vcard
 +
 
| aboveclass = fn org
 
| aboveclass = fn org
| above      = {{{year|}}} {{#switch:{{lc:{{{competition|afl}}}}}|afl=AFL Premiership season|afl_finals=AFL finals series|vfl=VFL|vfl_premiership=VFL Premiership season|vfl_finals=VFl Finals Series|sanfl=SANFL season|wafl=WAFL season|ntfl=NTFL season|gfl=Gippsland Football League season|wglfl=West Gippsland Latrobe Football League season|safa=SAFA Premiership season|safl=SAFL Premiership season|#default=Premiership season}}
+
| above      = {{{year|}}} {{#switch:{{lc:{{{competition|afl}}}}}
 +
| afl             = AFL premiership season
 +
| afl_finals     = AFL finals series
 +
| vfa_premiership = VFA premiership season
 +
| vfl             = VFL
 +
| vfl_premiership = VFL premiership season
 +
| vfl_finals     = VFL finals series
 +
| sanfl           = SANFL season
 +
| wafl           = WAFL season
 +
| ntfl           = NTFL season
 +
| gfl             = Gippsland Football League season
 +
| wglfl           = West Gippsland Latrobe Football League season
 +
| safa           = SAFA premiership season
 +
| safl           = SAFL premiership season
 +
| #default       = Premiership season
 +
}}
 +
 
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 +
 
| label1    = Date
 
| label1    = Date
 
| data1      = {{{date|}}}
 
| data1      = {{{date|}}}
Line 25: Line 43:
 
| label10    = {{#switch:{{{competition|afl}}}|afl|vfl_premiership=[[Coleman Medal]]list|wafl=[[Bernie Naylor Medal]]list|sanfl=[[Ken Farmer Medal]]list|#default=Leading goalkicker}}
 
| label10    = {{#switch:{{{competition|afl}}}|afl|vfl_premiership=[[Coleman Medal]]list|wafl=[[Bernie Naylor Medal]]list|sanfl=[[Ken Farmer Medal]]list|#default=Leading goalkicker}}
 
| data10    = {{{top goal scorer|}}}  
 
| data10    = {{{top goal scorer|}}}  
 +
 
<!-- League-specific medals, etc. -->
 
<!-- League-specific medals, etc. -->
 
| label11    = [[Leading Goalkicker Medal]]list
 
| label11    = [[Leading Goalkicker Medal]]list
Line 38: Line 57:
 
| label16    = Wooden Spooners
 
| label16    = Wooden Spooners
 
| data16    = {{{wooden spooners|}}}
 
| data16    = {{{wooden spooners|}}}
| below = {{#if:{{{prevseason|}}}|{{align|left|← {{{prevseason|}}} }}}}{{#if:{{{nextseason|}}}|{{align|right|{{{nextseason|}}} → }}}}
+
 
 +
| header17  = {{#if:{{{teams1|}}}{{{premiers1|}}}{{{minor permiers1|}}}|Division 1}}
 +
| label18    = Teams
 +
| data18    = {{{teams1|}}}
 +
| label19    = Premiers
 +
| data19    = {{#if:{{{premiers1|}}}|{{{premiers1|}}}{{#if: {{{count1|}}}|{{nowrap|<small><br> ({{ordinal|{{{count1}}}}} premiership)</small>}} }} }}
 +
| label20    = Minor&nbsp;premiers
 +
| data20    = {{#if:{{{minor premiers1|}}}|{{{minor premiers1|}}}{{#if: {{{mpcount1|}}}|{{nowrap|<small><br> ({{ordinal|{{{mpcount1}}}}} minor premiership)</small>}} }} }}
 +
 
 +
| header21  = {{#if:{{{teams2|}}}{{{premiers2|}}}{{{minor premiers2|}}}|Division 2}}
 +
| label22    = Teams
 +
| data22    = {{{teams2|}}}
 +
| label23    = Premiers
 +
| data23    = {{#if:{{{premiers2|}}}|{{{premiers2|}}}{{#if: {{{count2|}}}|{{nowrap|<small><br> ({{ordinal|{{{count2}}}}} D2 premiership)</small>}} }} }}
 +
| label24    = Minor&nbsp;premiers
 +
| data24    = {{#if:{{{minor premiers2|}}}|{{{minor premiers2|}}}{{#if: {{{mpcount2|}}}|{{nowrap|<small><br> ({{ordinal|{{{mpcount2}}}}} D2 minor premiership)</small>}} }} }}
 +
 
 +
| below     = {{#if:{{{prevseason|}}}|{{align|left|← {{{prevseason|}}}}}}}{{#if:{{{nextseason|}}}|{{align|right|{{{nextseason|}}} →}}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 13:51, 4 August 2015

AFL premiership season
50px Template documentation[view] [edit] [history] [purge]

Usage

Template:Parameter names example

{{Infobox Australian rules football season
| competition     = afl OR aflw OR vfl_premiership OR sanfl OR vfl OR wafl OR wafa OR wanfl OR neafl OR nwfl OR tsl
| year            = 
| image           = 
| imagesize       = 
| caption         = 
| date            = 
| teams           = 
| premiers        =
| count           = <!-- number of premierships the team won, up to and including this one -->
| minor premiers  = 
| mpcount         = <!-- number of minor premierships the team won, up to and including this one -->
| pre-season name = <!-- pre-season comp name -->
| pre-season cup  = <!-- winning team name -->
| pscount         = <!-- number of pre-season cups the team won, up to and including this one -->
| matches         = 
| attendance      = <!-- total -->
| highattend      = <!-- highest attendance -->
| top goal scorer = 
| liston trophy   = 
| brownlow medal  = 
| magarey medal   =
| sandover medal  = 
| grogan medal    =
| mulrooney medal =
| neafl mvp       = 
| lynch medal     =
| nwfl map        =
| stillwell medal =
| bestandfairest  = 
| wooden spooners = 
| prevseason      = <!-- article name -->
| nextseason      = 
}}

Tracking category