Difference between revisions of "Template:Infobox Football All-Ireland"

From blackwiki
Jump to navigation Jump to search
imported>Gnevin
(hide is blank)
imported>Zackmann08
(Invoking InfoboxImage module)
 
(11 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
{{infobox
 
{{infobox
|title = All-Ireland Senior Football Championship <span class="dtstart">{{{year}}}</span>
+
|title = <span class="dtstart">{{{year}}}</span> All-Ireland Senior Football Championship
|image = {{{image|}}}
+
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}  
 
|bodyclass=vevent
 
|bodyclass=vevent
 
|headerstyle  = background:#BFD7FF;
 
|headerstyle  = background:#BFD7FF;
Line 8: Line 8:
 
|datastyle=white-space: nowrap
 
|datastyle=white-space: nowrap
  
|header1={{#if: {{{dates|}}} {{{teams|}}} | Championship Details }}
+
|header1={{#if: {{{dates|}}} {{{teams|}}} | Championship details }}
 
|label2=Dates
 
|label2=Dates
 
|data2={{{dates|}}}
 
|data2={{{dates|}}}
Line 14: Line 14:
 
|data3={{{teams|}}}
 
|data3={{{teams|}}}
  
|header4=All Ireland Champions
+
|header4=All-Ireland Champions
|label5=Winners
+
|label5=Winning team
 
|data5={{#if: {{{team1|{{{team}}}}}} | [[{{{team1|{{{team}}}}}} GAA|{{{team1|{{{team}}}}}}]] ({{{titles|}}} win)}}
 
|data5={{#if: {{{team1|{{{team}}}}}} | [[{{{team1|{{{team}}}}}} GAA|{{{team1|{{{team}}}}}}]] ({{{titles|}}} win)}}
 
|label6=Captain
 
|label6=Captain
Line 22: Line 22:
 
|data7={{{manager1|{{{manager}}}}}}
 
|data7={{{manager1|{{{manager}}}}}}
  
|header8={{#if: {{{team2|}}} | All Ireland Runners-up }}
+
|header8={{#if: {{{team2|}}} | All-Ireland Finalists }}
|label9=Runners-up
+
|label9=Losing team
 
|data9={{#if: {{{team2|}}}| [[{{{team2}}} GAA|{{{team2}}}]] }}
 
|data9={{#if: {{{team2|}}}| [[{{{team2}}} GAA|{{{team2}}}]] }}
 
|label10=Captain
 
|label10=Captain
Line 32: Line 32:
 
|header12=Provincial Champions
 
|header12=Provincial Champions
 
|label13=[[Munster Senior Football Championship|Munster]]
 
|label13=[[Munster Senior Football Championship|Munster]]
|data13={#if: {{{munster|}}}| [[{{{munster}}} GAA|{{{munster}}}]] }}
+
|data13={{#if: {{{munster|}}}| [[{{{munster}}} GAA|{{{munster}}}]] }}
 
|label14=[[Leinster Senior Football Championship|Leinster]]
 
|label14=[[Leinster Senior Football Championship|Leinster]]
|data14={#if: {{{leinster|}}}| [[{{{leinster}}} GAA|{{{leinster}}}]] }}
+
|data14={{#if: {{{leinster|}}}| [[{{{leinster}}} GAA|{{{leinster}}}]] }}
 
|label15=[[Ulster Senior Football Championship|Ulster]]
 
|label15=[[Ulster Senior Football Championship|Ulster]]
|data15={#if: {{{ulster|}}}| [[{{{ulster}}} GAA|{{{ulster}}}]] }}
+
|data15={{#if: {{{ulster|}}}| [[{{{ulster}}} GAA|{{{ulster}}}]] }}
 
|label16=[[Connacht Senior Football Championship|Connacht]]
 
|label16=[[Connacht Senior Football Championship|Connacht]]
|data16={#if: {{{connacht |}}}| [[{{{connacht }}} GAA|{{{connacht }}}]] }}
+
|data16={{#if: {{{connacht |}}}| [[{{{connacht }}} GAA|{{{connacht }}}]] }}
  
|header17=Championship Statistics
+
|header17=Championship statistics
|label18=Matches Played
+
|label18=No. matches played
 
|data18={{{matches|}}}
 
|data18={{{matches|}}}
|label19=Total Goals
+
|label19=Goals total
 
|data19={{{totalgoals|}}}
 
|data19={{{totalgoals|}}}
|label20=Total Points
+
|label20=Points total
 
|data20={{{totalpoints|}}}
 
|data20={{{totalpoints|}}}
 
|label21=Top Scorer
 
|label21=Top Scorer
Line 51: Line 51:
 
|label22=Player of the Year
 
|label22=Player of the Year
 
|data22={{{poty|}}}
 
|data22={{{poty|}}}
|label23=[[GAA All Stars Awards|All-Star Team]]
 
|data23={{#if: {{{year}}}| [[GAA_All_Stars_Awards_winners_%28football%29#{{{year}}}|See here]] }}
 
 
 
|below={{#if:{{{previous|}}}| {{align|left|&larr; {{{previous|}}} }}}} {{#if: {{{next|}}} | {{align|right|{{{next|}}} &rarr; }}}}
 
|below={{#if:{{{previous|}}}| {{align|left|&larr; {{{previous|}}} }}}} {{#if: {{{next|}}} | {{align|right|{{{next|}}} &rarr; }}}}
}}
+
}}{{#switch:{{lc:{{{nocategory}}}}}|y|yes=|#default=
[[Category:{{{year}}} in Gaelic games|Football]]
+
[[Category:{{{year}}} in Gaelic football|1]]
 
[[Category:All-Ireland Senior Football Championships|{{{year}}}]]
 
[[Category:All-Ireland Senior Football Championships|{{{year}}}]]
</includeonly><noinclude>{{documentation}}</noinclude>
+
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 21:15, 27 October 2016

Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox Football All-Ireland
| year         = 
| type         = 
| image        = 
| dates        = 
| teams        = 
| connacht     = 
| munster      = 
| leinster     = 
| ulster       = 
| matches      = 
| poty         = 
| team         = 
| titles       = 
| captain      = 
| manager      = 
| team2        = 
| captain2     = 
| manager2     = 
| totalgoals   = 
| totalpoints  = 
| topscorer    = 
| previous     = 
| next         = 
}}

Example

2005 All-Ireland Senior Football Championship
All-Ireland Champions
Winning teamTyrone (2nd win)
CaptainBrian Dooher
ManagerMickey Harte
Provincial Champions
MunsterKerry
LeinsterDublin
UlsterArmagh
ConnachtGalway
Championship statistics
No. matches played65
Top ScorerStephen O'Neill
Player of the YearStephen O'Neill
← 2004
2006 →
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox Football All-Ireland
| type         = Senior
| year         = 2005
| connacht     = Galway
| munster      = Kerry
| leinster     = Dublin
| ulster       = Armagh
| matches      = 65
| poty         = Stephen O'Neill
| team         = Tyrone
| titles       = 2nd
| captain      = [[Brian Dooher]]
| manager      = [[Mickey Harte]]
| topscorer    = [[Stephen O'Neill]]
| previous     = 2004
| next         = 2006
}}

Parameters

year
Year of championship
image
Image related to championship
dates
Dates championship took place over
teams
Competing teams
connacht
Connacht champions
munster
Munster champions
leinster
Leinster champions
ulster
Ulster champions
matches
No of matches played
poty
Player of the year
team
Winning team
titles
No of titles the winning team have
captain
Winning captain
manager
Winning manager
team2
Runner-up team
captain2
Runner-up captain
manager2
Runner-up manager
totalgoals
No of goals scored in the championship
totalpoints
No of points scored in the championship
topscorer
Championship's top scorer
previous
Link to previous year's championship
next
Link to next year's championship

Microformat

Template:UF-hcal-auto