Difference between revisions of "Template:Infobox Orienteering World Cup"

From blackwiki
Jump to navigation Jump to search
(Add final parameter to turn font oblique and avoid italic formatting in the template)
(invert parameter to avoid making changes to the old cups)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|title    = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
 
|title    = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|datastyle= {{#if|{{{final|}}}||font-style:italic}}
+
|datastyle= {{#ifeq:{{{ongoing|}}}| yes | font-style:italic|}}
 
|header1  = {{#if:{{{numindividualevents|}}}{{{numrelayevents|}}}|World Cup events}}
 
|header1  = {{#if:{{{numindividualevents|}}}{{{numrelayevents|}}}|World Cup events}}
 
|class1  = navbox-title
 
|class1  = navbox-title

Latest revision as of 08:25, 18 August 2019

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

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

Usage

{{Infobox Double Wintersport World Cup
| numindividualevents=
| numrelayevents=
| menfirst=
| mensecond=
| menthird=
| menmostwins=
| womenfirst=
| womensecond=
| womenthird=
| womenmostwins=
| teamfirst=
| teamsecond=
| teamthird=
| teammostwins=
| ongoing=
| previous=
| next=
}}