Difference between revisions of "Template:Infobox hurling championship"

From blackwiki
Jump to navigation Jump to search
imported>Jmcgnh
(Maybe the space vs underscore issues was not the space issue I should have been looking at. You try to space things out to look nice and the system begs to differ.)
imported>Frietjes
Line 1: Line 1:
 
{{infobox
 
{{infobox
 
| bodyclass = vevent
 
| bodyclass = vevent
| title = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
+
| title = {{if empty|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
| titleclass = summary
 
| titleclass = summary
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless}}

Revision as of 12:20, 11 October 2019

Script error: No such module "If empty".

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

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

Usage

{{Infobox hurling championship}} is used to summarise information about a specific hurling championship.

Template:Parameter names example

{{Infobox hurling championship
| name = 
| image =
| imagesize =
| caption =
| dates = {{Start date|YYYY|MM|DD|df=y}}<br />– {{End date|YYYY|MM|DD|df=y}}
| teams = 
| sponsor = 
| champions = 
| count = 
| champions captain = 
| champions manager = 
| runners-up = 
| runners-up captain = 
| runners-up manager = 
| promoted = 
| relegated = 
| matches = 
| goals = 
| points = 
| top scorer =
| previous year = 
| previous tournament = 
| next year = 
| next tournament = 
}}

Example

The 1927 Railway Cup Hurling Championship

Script error: No such module "If empty".
Dates21 November 1926 (1926-11-21)
– 17 March 1927 (1927-03-17)
Teams
ChampionsLeinster (Template:Ordinal title)
Tournament statistics
Matches played2
(Next) 1928
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox hurling championship
| name = 1927 Railway Cup
| image =
| imagesize =
| caption =
| dates = {{Start date|1926|11|21|df=y}}<br />– {{End date|1927|03|17|df=y}}
| teams = {{plainlist|
* [[Connacht GAA|Connacht]]
* [[Leinster GAA|Leinster]]
* [[Munster GAA|Munster]]
}}
| champions = [[Leinster GAA|Leinster]]
| count = 1
| matches = 2
| goals =
| points = 
| top scorer =
| previous year =
| previous tournament =
| next year = 1928
| next tournament = 1928 Railway Cup Hurling Championship
}}

Microformat

Template:UF-hcal