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

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Relisting)
imported>Izkala
({{subst:#tag:pre|{{subst:Parameters|code|base={{subst:BASEPAGENAME}}}}|style="overflow: auto;"}})
 
(5 intermediate revisions by 2 users not shown)
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>|{{PAGENAMEBASE}}</includeonly>}}}
! colspan="2" | {{{year}}} AFL pre-season competition
+
| subheaderstyle = font-weight:bold
|-
+
| subheader = {{{type<includeonly>|</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 = Season
{{#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 = Runner up
 +
| data4 = {{{runner up<includeonly>|</includeonly>}}}
 +
 
 +
| label5 = Matches played
 +
| data5 = {{{matches<includeonly>|</includeonly>}}}
 +
 
 +
| label6 = Attendance
 +
| data6 = {{#if:{{{attendance<includeonly>|</includeonly>}}}|{{formatnum: {{{attendance}}}}} {{#if:{{{matches<includeonly>|</includeonly>}}}|<small>(average {{formatnum: {{#expr: {{{attendance|0}}} / {{{matches|1}}} round 0}}}} per match)</small>}} }}
 +
 
 +
| label7 = Michael Tuck Medallist
 +
| data7 = {{{michael tuck medallist<includeonly>|</includeonly>}}}
 +
}}{{main other|
 +
[[Category:{{{year}}} in Australian rules football]]
 +
}}<noinclude>
 +
{{Documentation|content=
 +
<pre style="overflow: auto;">{{Infobox AFL National Cup
 +
| name =
 +
| type =
 +
| image =
 +
| imagesize =
 +
| caption =
 +
| year =
 +
| teams =
 +
| winners =
 +
| count =
 +
| runner up =
 +
| matches =
 +
| attendance =
 +
| michael tuck medallist =
 +
}}</pre>
 
}}
 
}}
{{#if: {{{matches|<noinclude>-</noinclude>}}} |
+
 
{{!}} '''Matches played'''&nbsp;&nbsp;
+
[[Category:Australian rules football infobox templates|AFL National Cup]]
{{!}} {{{matches}}}
+
</noinclude>
{{!}}-
 
}}
 
{{#if: {{{attendance|<noinclude>-</noinclude>}}} |
 
{{!}} '''Attendance'''
 
{{!}} {{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]]
 
</includeonly>
 

Latest revision as of 17:29, 27 June 2015

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

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

Template documentation
{{Infobox AFL National Cup
| name = 
| type = 
| image = 
| imagesize = 
| caption = 
| year = 
| teams = 
| winners = 
| count = 
| runner up = 
| matches = 
| attendance = 
| michael tuck medallist = 
}}