Difference between revisions of "Template:Infobox AFL National Cup"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Relisting)
imported>Plastikspork
(Closed and convert to infobox)
Line 1: Line 1:
{{Tfm/dated|page=Infobox AFL National Cup|otherpage=Infobox VFL National Cup|link=Wikipedia:Templates for discussion/Log/2014 June 9#Template:Infobox AFL National Cup|type=sidebar}}
+
{{Infobox
{| class="infobox"
+
| abovestyle = font-size:120%
|-
+
| above = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
! colspan="2" | {{{year}}} AFL pre-season competition
+
| subheaderstyle = font-weight:bold
|-
+
| subheader = {{{type<includeonly>|AFL pre-season competition</includeonly>}}}
{{#if: {{{image|<noinclude>-</noinclude>}}} |
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{imagesize|}}}|title={{{caption|}}}}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|{{{imagesize}}}|{{{caption}}}]]<br /><small>{{{caption}}}</small>
+
| caption = {{{caption<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| label1 = Year
{{#if: {{{teams|<noinclude>-</noinclude>}}} |
+
| data1 = {{{year<includeonly>|</includeonly>}}}
{{!}} '''Teams'''
+
 
{{!}} {{{teams}}}
+
| label2 = Teams
{{!}}-
+
| data2 = {{{teams<includeonly>|</includeonly>}}}
}}
+
 
{{#if: {{{winners|<noinclude>-</noinclude>}}} |
+
| label3 = Winners
{{!}} '''Winners'''
+
| data3 = {{#if:{{{winners<includeonly>|</includeonly>}}}|{{{winners}}} {{#if:{{{count<includeonly>|</includeonly>}}}|<small>({{{count}}} title)</small>}} }}
{{!}} {{{winners}}} <small>({{{count}}} title)</small>
+
 
{{!}}-
+
| label4 = Matches played
}}
+
| data4 = {{{matches<includeonly>|</includeonly>}}}
{{#if: {{{matches|<noinclude>-</noinclude>}}} |
+
 
{{!}} '''Matches played'''&nbsp;&nbsp;
+
| label5 = Attendance
{{!}} {{{matches}}}
+
| data5 = {{#if:{{{attendance<includeonly>|</includeonly>}}}|{{formatnum: {{{attendance}}}}} {{#if:{{{matches<includeonly>|</includeonly>}}}|<small>(average {{formatnum: {{#expr: {{{attendance|0}}} / {{{matches|1}}} round 0}}}} per match)</small>}} }}
{{!}}-
+
 
}}
+
| label6 = Michael Tuck Medallist
{{#if: {{{attendance|<noinclude>-</noinclude>}}} |
+
| data6 = {{{michael tuck medallist<includeonly>|</includeonly>}}}
{{!}} '''Attendance'''
+
}}<includeonly>
{{!}} {{formatnum: {{{attendance|0}}}}} &nbsp;<small>(average {{formatnum: {{#expr: {{{attendance|0}}} / {{{matches|1}}} round 0}}}} per match)</small>
 
{{!}}-
 
}}
 
{{#if: {{{michael tuck medallist|<noinclude>-</noinclude>}}} |
 
{{!}} '''Michael Tuck Medallist'''
 
{{!}} {{{michael tuck medallist}}}
 
}}
 
|}<includeonly>
 
 
[[Category:{{{year}}} in Australian rules football]]
 
[[Category:{{{year}}} in Australian rules football]]
 
</includeonly>
 
</includeonly>

Revision as of 23:19, 5 July 2014

{{{name}}}
{{{type}}}
[[File:{{{image}}}|frameless]]
{{{caption}}}
Year{{{year}}}
Teams{{{teams}}}
Winners{{{winners}}} ({{{count}}} title)
Matches played{{{matches}}}
Attendance{{{attendance}}} (average 0 per match)
Michael Tuck Medallist{{{michael tuck medallist}}}

[[Category:Infobox templates|Template:Remove first word]]