Difference between revisions of "Template:Infobox international handball competition"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(Invoking InfoboxImage module)
imported>Malo95
(best goalkeeper)
 
(5 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
| bodyclass  = vevent
 
| bodyclass  = vevent
 
| titleclass = summary
 
| titleclass = summary
| title      = {{#if:{{{tourney_name|}}}|{{{year|}}} {{{tourney_name|}}} {{{yearr|}}} <includeonly>|{{PAGENAME}}</includeonly>}}
+
| title      = {{#if:{{{tourney_name|}}}|{{{year|}}} {{{tourney_name|}}} {{{yearr|}}} <includeonly>|{{PAGENAMEBASE}}</includeonly>}}
 
| subheaderstyle = font-weight: bold;
 
| subheaderstyle = font-weight: bold;
 
| subheader  = {{{other_titles|}}}
 
| subheader  = {{{other_titles|}}}
Line 25: Line 25:
  
 
| label7    = {{#if:{{{American|}}}|Champion(s)|Champions}}
 
| label7    = {{#if:{{{American|}}}|Champion(s)|Champions}}
| data7      = {{#if:{{{champion|}}}|{{hb|{{{champion|}}}|{{{champion-flagvar|}}}}}{{#if: {{{count|}}}|{{nowrap|<small> ({{ordinal|{{{count}}}}} title)</small>}} }} }}
+
| data7      = {{#if:{{{champion|}}}|{{{{{type|hb}}}|{{{champion|}}}|{{{champion-flagvar|}}}}}{{#if: {{{count|}}}|{{nowrap|<small> ({{ordinal|{{{count}}}}} title)</small>}} }} }}
 
| label8    = {{#if:{{{American|}}}|Champion(s)|Champions}}
 
| label8    = {{#if:{{{American|}}}|Champion(s)|Champions}}
 
| data8      = {{#if:{{{champion_other|}}}|{{{champion_other}}}{{#if: {{{count|}}}|{{nowrap|<small> ({{ordinal|{{{count}}}}} title)</small>}} }} }}
 
| data8      = {{#if:{{{champion_other|}}}|{{{champion_other}}}{{#if: {{{count|}}}|{{nowrap|<small> ({{ordinal|{{{count}}}}} title)</small>}} }} }}
 
| label9    = Runner-up
 
| label9    = Runner-up
| data9      = {{#if:{{{second|}}}|{{hb|{{{second|}}}|{{{second-flagvar|}}}}} }}
+
| data9      = {{#if:{{{second|}}}|{{{{{type|hb}}}|{{{second|}}}|{{{second-flagvar|}}}}} }}
 
| label10    = Runner-up
 
| label10    = Runner-up
 
| data10    = {{#if:{{{second_other|}}}|{{{second_other|}}} }}
 
| data10    = {{#if:{{{second_other|}}}|{{{second_other|}}} }}
 
| label11    = Third place
 
| label11    = Third place
| data11    = {{#if:{{{third|}}}|{{hb|{{{third|}}}|{{{third-flagvar|}}}}} }}
+
| data11    = {{#if:{{{third|}}}|{{{{{type|hb}}}|{{{third|}}}|{{{third-flagvar|}}}}} }}
 
| label12    = Third place
 
| label12    = Third place
 
| data12    = {{#if:{{{third_other|}}}|{{{third_other|}}} }}
 
| data12    = {{#if:{{{third_other|}}}|{{{third_other|}}} }}
 
| label13    = Fourth place
 
| label13    = Fourth place
| data13    = {{#if:{{{fourth|}}}|{{hb|{{{fourth|}}}|{{{fourth-flagvar|}}}}} }}
+
| data13    = {{#if:{{{fourth|}}}|{{{{{type|hb}}}|{{{fourth|}}}|{{{fourth-flagvar|}}}}} }}
 
| label14    = Fourth place
 
| label14    = Fourth place
 
| data14    = {{#if:{{{fourth_other|}}}|{{{fourth_other|}}} }}
 
| data14    = {{#if:{{{fourth_other|}}}|{{{fourth_other|}}} }}
Line 55: Line 55:
 
| label20    = Best player
 
| label20    = Best player
 
| data20    = {{{player|}}}
 
| data20    = {{{player|}}}
 +
| label21    = Best goalkeeper
 +
| data21    = {{{goalkeeper|}}}
  
 
| below  = {{#if:{{{previous|}}}|{{align|left|&larr; [[{{{previous|}}}|Previous]] }}}}{{#if:{{{next|}}}|{{align|right|[[{{{next|}}}|Next]] &rarr; }}}}
 
| below  = {{#if:{{{previous|}}}|{{align|left|&larr; [[{{{previous|}}}|Previous]] }}}}{{#if:{{{next|}}}|{{align|right|[[{{{next|}}}|Next]] &rarr; }}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 15:28, 14 December 2018

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

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

Beach / Wheelchair

For beach handball type=bh, for wheelchair type=whb.

Usage

Template:Parameter names example

{{Infobox international handball competition
| tourney_name = 
| year = 
| yearr = 
| other_titles = 
| image = 
| size = 
| caption = 
| country = 
| city = 
| num_teams = 
| venues = 
| country2 = 
| country-flagvar = 
| country2-flagvar = 
| country3 = 
| country3-flagvar = 
| country4 = 
| country4-flagvar = 
| dates = 
| confederations = 
| cities = 
| champion = 
| champion_other = 
| American = 
| champion-flagvar = 
| count = 
| second = 
| second-flagvar = 
| second_other = 
| third = 
| third-flagvar = 
| third_other = 
| fourth = 
| fourth-flagvar = 
| fourth_other = 
| matches = 
| goals = 
| attendance = 
| top_scorer = 
| player = 
| goalkeeper =
| previous = 
| next = 
}}

Microformat

Template:UF-hcal