Difference between revisions of "Template:Infobox sports competition event/testcases"
Jump to navigation
Jump to search
imported>SiBr4 |
imported>Zyxw (update) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Testcases notice <!--|toc=on-->}} | {{Testcases notice <!--|toc=on-->}} | ||
| − | == | + | == Infobox title fields: one parameter only == |
| − | {{testcase table | event = | + | |
| − | {{testcase table | event = | + | === event only === |
| − | {{testcase table | event = | + | {{testcase table | event = {{{event}}} }} |
| − | {{testcase table | event = | games = | + | === name only === |
| − | {{testcase table | event = | | + | {{testcase table | name = {{{name}}} }} |
| − | {{testcase table | event = | | + | === games only === |
| − | {{testcase table | event = | + | {{testcase table | games = {{{games}}} }} |
| − | {{testcase table | event = | + | === competition only === |
| − | {{testcase table | event = | + | {{testcase table | competition = {{{competition}}} }} |
| + | === championship only === | ||
| + | {{testcase table | championship = {{{championship}}} }} | ||
| + | |||
| + | == Infobox title fields: event/name + games/competition/championship == | ||
| + | |||
| + | === event/name + games === | ||
| + | {{testcase table | event = {{{event}}} | games = {{{games}}} }} | ||
| + | {{testcase table | name = {{{name}}} | games = {{{games}}} }} | ||
| + | === event/name + competition === | ||
| + | {{testcase table | event = {{{event}}} | competition = {{{competition}}} }} | ||
| + | {{testcase table | name = {{{name}}} | competition = {{{competition}}} }} | ||
| + | === event/name + championship === | ||
| + | {{testcase table | event = {{{event}}} | championship = {{{championship}}} }} | ||
| + | {{testcase table | name = {{{name}}} | championship = {{{championship}}} }} | ||
| + | |||
| + | == Infobox title fields: governing_body codes with year/type/games == | ||
| + | |||
| + | === governing_body=IOC / year=2012 / type=Summer (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=IOC | year=2012 | type=Summer }} | ||
| + | {{testcase table | governing_body=IOC | year=2012 | type=Summer }} | ||
| + | === governing_body=IOC / games=2012 Summer (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=IOC | games=2012 Summer }} | ||
| + | {{testcase table | governing_body=IOC | games=2012 Summer }} | ||
| + | === governing_body=PASO / year=2015 (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=PASO | year=2015 }} | ||
| + | {{testcase table | governing_body=PASO | year=2015 }} | ||
| + | === governing_body=CGF / year=2014 (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=CGF | year=2014 }} | ||
| + | {{testcase table | governing_body=CGF | year=2014 }} | ||
| + | === governing_body=SEAGF / year=2015 (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=SEAGF | year=2015 }} | ||
| + | {{testcase table | governing_body=SEAGF | year=2015 }} | ||
| + | |||
| + | == Infobox title fields: governing_body codes without year/type/games == | ||
| + | |||
| + | === governing_body=IOC, without games, year, type (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=IOC }} | ||
| + | {{testcase table | governing_body=IOC }} | ||
| + | === governing_body=PASO, without year (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=PASO }} | ||
| + | {{testcase table | governing_body=PASO }} | ||
| + | === governing_body=CGF, without year (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=CGF }} | ||
| + | {{testcase table | governing_body=CGF }} | ||
| + | === governing_body=SEAGF, without year (with and without event) === | ||
| + | {{testcase table | event={{{event}}} | governing_body=SEAGF }} | ||
| + | {{testcase table | governing_body=SEAGF }} | ||
| + | |||
== Competitors / nations == | == Competitors / nations == | ||
{{Testcase table | {{Testcase table | ||
| Line 32: | Line 80: | ||
| nations = 2 | | nations = 2 | ||
}} | }} | ||
| + | |||
== All blank == | == All blank == | ||
{{Testcase table | {{Testcase table | ||
| Line 141: | Line 190: | ||
== Flag templates == | == Flag templates == | ||
| − | {{testcase table|event= | + | {{testcase table|event=EVENT|games=GAMES|gold=C|goldNOC=FRA|silver=D|silverNOC=GEO|bronze=E|bronzeNOC=BRA}} |
| − | {{testcase table|event= | + | {{testcase table|event=EVENT|gold=C|goldNOC=FRA|silver=D|silverNOC=GEO|bronze=E|bronzeNOC=BRA}} |
Latest revision as of 12:15, 18 July 2016
| 42px | This is the template test cases page for the sandbox of Template:Infobox sports competition event. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
- 1 Infobox title fields: one parameter only
- 2 Infobox title fields: event/name + games/competition/championship
- 3 Infobox title fields: governing_body codes with year/type/games
- 3.1 governing_body=IOC / year=2012 / type=Summer (with and without event)
- 3.2 governing_body=IOC / games=2012 Summer (with and without event)
- 3.3 governing_body=PASO / year=2015 (with and without event)
- 3.4 governing_body=CGF / year=2014 (with and without event)
- 3.5 governing_body=SEAGF / year=2015 (with and without event)
- 4 Infobox title fields: governing_body codes without year/type/games
- 5 Competitors / nations
- 6 All blank
- 7 All non-blank
- 8 Flag templates
Infobox title fields: one parameter only
event only
name only
games only
competition only
championship only
Infobox title fields: event/name + games/competition/championship
event/name + games
Template:Testcase table Template:Testcase table
event/name + competition
Template:Testcase table Template:Testcase table
event/name + championship
Template:Testcase table Template:Testcase table
Infobox title fields: governing_body codes with year/type/games
governing_body=IOC / year=2012 / type=Summer (with and without event)
Template:Testcase table Template:Testcase table
governing_body=IOC / games=2012 Summer (with and without event)
Template:Testcase table Template:Testcase table
governing_body=PASO / year=2015 (with and without event)
Template:Testcase table Template:Testcase table
governing_body=CGF / year=2014 (with and without event)
Template:Testcase table Template:Testcase table
governing_body=SEAGF / year=2015 (with and without event)
Template:Testcase table Template:Testcase table
Infobox title fields: governing_body codes without year/type/games
governing_body=IOC, without games, year, type (with and without event)
Template:Testcase table Template:Testcase table
governing_body=PASO, without year (with and without event)
Template:Testcase table Template:Testcase table
governing_body=CGF, without year (with and without event)
Template:Testcase table Template:Testcase table
governing_body=SEAGF, without year (with and without event)
Template:Testcase table Template:Testcase table
Competitors / nations
Template:Testcase table Template:Testcase table Template:Testcase table Template:Testcase table