Difference between revisions of "Template:Infobox curler/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(create)
 
imported>Zyxw
(update)
 
Line 42: Line 42:
 
}}
 
}}
  
== child/embed parameters ==
+
== Example 1: actual infobox ==
 +
{{Testcase table |_caption=
 +
| name = Anette Norberg
 +
| gender = f
 +
| image = Anette Norberg (Swedish skip-2010 Olympics).jpg
 +
| image_size = 250
 +
| caption = Norberg at the 2010 Winter Olympic Games
 +
| birth_name = Anette Norberg
 +
| birth_date = {{birth date and age|1966|11|12|mf=y}}
 +
| birth_place = [[Härnösand]], [[Sweden]]
 +
| Curling club = Härnösands CK, [[Härnösand]]
 +
| Skip = '''Anette Norberg'''
 +
| Third = [[Eva Lund]]
 +
| Second = [[Cathrine Lindahl]]
 +
| Lead = [[Anna Le Moine]]
 +
| Alternate = [[Kajsa Bergström]]
 +
| World Championship appearances = 10 (1988, 1989, 1991, 2001, 2003, 2004, 2005, 2006, 2007, 2009)
 +
| European Championship appearances = 15 (1984, 1987, 1988, 1989, 1991, 1994, 1998, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009)
 +
| Other appearances = 2006 & 2010 Winter Olympics
 +
| medals =
 +
{{MedalSport | [[Curling]] }}
 +
{{MedalCountry | {{SWE}} }}
 +
{{MedalCompetition | [[Winter Olympics]] }}
 +
{{MedalGold | [[Curling at the 2006 Winter Olympics|2006 Turin]] | }}
 +
{{MedalGold | [[Curling at the 2010 Winter Olympics – Women's tournament|2010 Vancouver]] | }}
 +
{{MedalSilver | ''[[Curling at the 1988 Winter Olympics|1988 Calgary]] (demonstration)'' | }}
 +
{{MedalCompetition | [[World Curling Championships|World Championships]] }}
 +
{{MedalGold | [[2005 World Women's Curling Championship|2005 Paisley]] | }}
 +
{{MedalGold | [[2006 Ford World Women's Curling Championship|2006 Grande Prairie]] | }}
 +
{{MedalGold | [[2011 Capital One World Women's Curling Championship|2011 Esbjerg]] | }}
 +
{{MedalSilver | [[2001 Ford World Curling Championship|2001 Lausanne]] | }}
 +
{{MedalSilver | [[2009 Mount Titlis World Women's Curling Championship|2009 Gangneung]] | }}
 +
{{MedalBronze | [[1988 World Women's Curling Championship|1988 Glasgow]] | }}
 +
{{MedalBronze | [[1989 World Curling Championships|1989 Milwaukee]] | }}
 +
{{MedalBronze | [[1991 Canada Safeway World Curling Championships|1991 Winnipeg]] | }}
 +
{{MedalBronze | [[2003 Ford World Curling Championships|2003 Winnipeg]] | }}
 +
{{MedalCompetition | [[European Curling Championships|European Championships]] }}
 +
{{MedalGold | [[1988 European Curling Championships|1988 Perth]] | }}
 +
{{MedalGold | [[2001 European Curling Championships|2001 Vierumäki]] | }}
 +
{{MedalGold | [[2002 European Curling Championships|2002 Grindelwald]] | }}
 +
{{MedalGold | [[2003 European Curling Championships|2003 Courmayeur]] | }}
 +
{{MedalGold | [[2004 European Curling Championships|2004 Sofia]] | }}
 +
{{MedalGold | [[2005 European Curling Championships|2005 Garmisch-Partenkirchen]] | }}
 +
{{MedalGold | [[2007 European Curling Championships|2007 Füssen]] | }}
 +
{{MedalSilver | [[1984 European Curling Championships|1984 Morzine]] | }}
 +
{{MedalSilver | [[1987 European Curling Championships|1987 Oberstdorf]] | }}
 +
{{MedalSilver | [[2008 European Curling Championships|2008 Härnösand]] | }}
 +
{{MedalBronze | [[1989 European Curling Championships|1989 Engelberg]] | }}
 +
{{MedalBronze | [[1991 European Curling Championships|1991 Chamonix]] | }}
 +
}}
 +
 
 +
== Example 2: module parameter ==
 +
{{Testcase table |_caption=
 +
| name = Kim Tae-hwan
 +
| birth_date = {{birth date and age|1990|2|20}}
 +
| Curling club = [[Gangwon Curling]], [[Gangwon Province (South Korea)|Gangwon Province]]
 +
| Member Association = {{KOR}}
 +
| World Championship appearances = 2 ({{WMCC|2011}}, {{WMCC|2016}})
 +
| Pacific Championship appearances = 5 ({{PACC|2010}}, {{PACC|2013}}, {{PACC|2014}}, {{PACC|2015}}, {{PACC|2016}})
 +
| Other appearances = [[Curling at the Asian Winter Games|Asian Winter Games]]: 1 ([[Curling at the 2017 Asian Winter Games|2017]])
 +
| medaltemplates =
 +
{{MedalSport | [[Curling]]}}
 +
{{MedalCompetition | {{PACC||Pacific-Asia Championships}} }}
 +
{{MedalGold | {{PACC|2015|2015 Almaty}} | }}
 +
{{MedalSilver | {{PACC|2010|2010 Uiseong}} | }}
 +
{{MedalBronze | {{PACC|2013|2013 Shanghai}} | }}
 +
{{MedalBronze | {{PACC|2014|2014 Karuizawa}} | }}
 +
{{MedalBronze | {{PACC|2016|2016 Uiseong}} | }}
 +
{{MedalCompetition | [[Curling at the Asian Winter Games|Asian Winter Games]]}}
 +
{{MedalBronze | [[Curling at the 2017 Asian Winter Games|Sapporo 2017]] | }}
 +
| module2 = {{Infobox Korean name | child = yes
 +
  | hangul = 김태환
 +
  | rr = Gim Tae-hwan
 +
  | mr = Kim T'ae-hwan
 +
  }}
 +
}}
 +
 
 +
== Example 3: child parameter ==
 
{|
 
{|
 
|+ Side by side comparison
 
|+ Side by side comparison
Line 60: Line 137:
 
| other_names  = {{nowrap|Eva Maria Hultling Sjöberg}}
 
| other_names  = {{nowrap|Eva Maria Hultling Sjöberg}}
 
| occupation    = Journalist,<br>Television presenter,<br>[[Curling|Curler]]
 
| occupation    = Journalist,<br>Television presenter,<br>[[Curling|Curler]]
| module        = {{Infobox curler | embed = yes
+
| module        = {{Infobox curler | child = yes
 
   | image = <!-- prevents automatic image display -->
 
   | image = <!-- prevents automatic image display -->
 
   | Curling club = Amatörföreningens CK, [[Stockholm]],<br>Karlstads CK, [[Karlstad]]
 
   | Curling club = Amatörföreningens CK, [[Stockholm]],<br>Karlstads CK, [[Karlstad]]
Line 92: Line 169:
 
| other_names  = {{nowrap|Eva Maria Hultling Sjöberg}}
 
| other_names  = {{nowrap|Eva Maria Hultling Sjöberg}}
 
| occupation    = Journalist,<br>Television presenter,<br>[[Curling|Curler]]
 
| occupation    = Journalist,<br>Television presenter,<br>[[Curling|Curler]]
| module        = {{Infobox curler/sandbox | embed = yes
+
| module        = {{Infobox curler/sandbox | child = yes
 
   | image = <!-- prevents automatic image display -->
 
   | image = <!-- prevents automatic image display -->
 
   | Curling club = Amatörföreningens CK, [[Stockholm]],<br>Karlstads CK, [[Karlstad]]
 
   | Curling club = Amatörföreningens CK, [[Stockholm]],<br>Karlstads CK, [[Karlstad]]

Latest revision as of 04:44, 21 October 2020

All parameters

Template:Testcase table

Example 1: actual infobox

Template:Testcase table

Example 2: module parameter

Template:Testcase table

Example 3: child parameter

Side by side comparison
{{Infobox curler}} {{Infobox curler/sandbox}}
Katarina Hultling
Katarina Hultling (21823509236).jpg
Hultling in September 2015
Born
Eva Maria Hultling

(1954-12-05) December 5, 1954 (age 70)
NationalityTemplate:SWE
Other namesEva Maria Hultling Sjöberg
OccupationJournalist,
Television presenter,
Curler
Curling career
Team
Curling clubAmatörföreningens CK, Stockholm,
Karlstads CK, Karlstad
Career
Member AssociationTemplate:SWE
World Championship
appearances
2 (Template:WWCC, Template:WWCC)
European Championship
appearances
4 (1979, 1981, 1982, 1983)
Template:Wikidata image
Katarina Hultling
Katarina Hultling (21823509236).jpg
Hultling in September 2015
Born
Eva Maria Hultling

(1954-12-05) December 5, 1954 (age 70)
NationalityTemplate:SWE
Other namesEva Maria Hultling Sjöberg
OccupationJournalist,
Television presenter,
Curler
Curling career
Team
Curling clubAmatörföreningens CK, Stockholm,
Karlstads CK, Karlstad
Career
Member AssociationTemplate:SWE
World Championship
appearances
2 (Template:WWCC, Template:WWCC)
European Championship
appearances
4 (1979, 1981, 1982, 1983)
Template:Wikidata image