Difference between revisions of "Template:Infobox Memorial Cup"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
({{subst:Parameters|demo|base={{subst:BASEPAGENAME}}|_base=}})
imported>Pigsonthewing
(location)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 +
| bodyclass = vevent
 +
 
| title = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAMEBASE}}}}
 
| title = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAMEBASE}}}}
 +
| titleclass = summary
  
 
| subheader = {{{city|}}}
 
| subheader = {{{city|}}}
 
| subheaderstyle = font-weight: bold; border-bottom: 1px #aaa solid;
 
| subheaderstyle = font-weight: bold; border-bottom: 1px #aaa solid;
 +
| subheaderclass =  location
  
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{pixels|200px}}}|title={{{caption|}}}}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{pixels|200px}}}|title={{{caption|}}}}}
| imagestyle = border-bottom: 1px #aaa solid;
+
| imagestyle = border-bottom: 1px #aaa solid; padding: 0.5em;
  
| label1 = Host team
+
| label1   = Host team
| data1 = {{{host|}}}
+
| data1     = {{{host|}}}
 +
| rowclass1 = vcard
 +
| class1    = attendee fn org
  
 
| label2 = Venue
 
| label2 = Venue
Line 16: Line 22:
 
| label3 = Champions
 
| label3 = Champions
 
| data3 = {{{champions|}}}
 
| data3 = {{{champions|}}}
 +
| rowclass3 = vcard
 +
| class3    = attendee fn org
  
 
| label4 = Duration
 
| label4 = Duration
Line 35: Line 43:
 
| data11 = {{#if:{{{prev year|}}}|{{Align|left|2=← {{{prev year}}}}}}}
 
| data11 = {{#if:{{{prev year|}}}|{{Align|left|2=← {{{prev year}}}}}}}
 
{{#if:{{{next year|}}}|{{Align|right|2={{{next year}}} →}}}}
 
{{#if:{{{next year|}}}|{{Align|right|2={{{next year}}} →}}}}
}}<noinclude>
+
}}<noinclude>{{Documentation}}</noinclude>
{{Documentation|content=
 
{{Parameter names example|_template=|title|city|logo|pixels|caption|host|venue|champions|duration|no of games|no of teams|attendance|TV|prev year|next year}}
 
<pre style="overflow: auto;">{{Infobox Memorial Cup
 
| title      =
 
| city        =
 
| logo        =
 
| pixels      =
 
| caption    =
 
| host        =
 
| venue      =
 
| champions  =
 
| duration    =
 
| no of games =
 
| no of teams =
 
| attendance  =
 
| TV          =
 
| prev year  =
 
| next year  =
 
}}</pre>
 
}}
 
[[Category:Ice hockey infobox templates|M]]
 
</noinclude>
 

Latest revision as of 22:47, 28 August 2015

Template:PAGENAMEBASE

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

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

Usage

Template:Parameter names example

{{Infobox Memorial Cup
| title       = 
| city        = 
| logo        = 
| pixels      = 
| caption     = 
| host        = 
| venue       = 
| champions   = 
| duration    = <!-- {{Start date|YYYY|MM|DD}}-<br />{{End date|YYYY|MM|DD}} -->
| no of games = 
| no of teams = 
| attendance  = 
| TV          = 
| prev year   = 
| next year   = 
}}

Example

1999 Mastercard Memorial Cup
Ottawa, Ontario
Host teamOttawa 67's
ChampionsOttawa 67's
DurationMay 15, 1999 (1999-05-15)-
May 23, 1999 (1999-05-23)
Number of games8
Number of teams4
Total attendance84,200
TelevisionCTV, CTV Sportsnet
Memorial Cup Tournaments
← 1998
2000 →
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox Memorial Cup
| title       = 1999 Mastercard Memorial Cup
| city        = [[Ottawa]], [[Ontario]]
| logo        = 
| host        = [[Ottawa 67's]]
| champions   = [[Ottawa 67's]]
| duration    = {{Start date|1999|05|15}}-<br />{{end date|1999|05|23}}
| no of games = 8
| no of teams = 4
| attendance  = 84,200
| TV          = [[CTV television network|CTV]], [[Rogers Sportsnet|CTV Sportsnet]]
| prev year   = [[1998 Memorial Cup|1998]]
| next year   = [[2000 Memorial Cup|2000]]
}}

Microformat

Template:UF-hcal