Difference between revisions of "Template:Cite sports-reference/testcases"
Jump to navigation
Jump to search
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
imported>Zyxw (update) |
||
| Line 3: | Line 3: | ||
== Olympics == | == Olympics == | ||
| − | === Unnamed parameters = | + | {{Test case nowiki |format=rows |collapsible=yes |title=Unnamed parameters |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ | Larysa Latynina | https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | 28 January 2010 }}</nowiki> | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | === Named parameters | + | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters with {{para|name}} |
| − | {{ | + | |code=<nowiki>{{__TEMPLATENAME__ | name = Larysa Latynina | url = https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | accessdate = 28 January 2010 }}</nowiki> |
| − | + | }} | |
| − | + | ||
| − | + | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters with {{para|title}} | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ | title = 2004 Modern Pentathlon: Men's Individual | url = https://www.sports-reference.com/olympics/summer/2004/MOP/mens-individual.html | access-date = 13 November 2012 }}</nowiki> | |
| − | + | }} | |
| − | + | ||
| − | + | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters with {{para|title|Archived copy}} | |
| + | |code=<nowiki>{{__TEMPLATENAME__ | url = https://www.sports-reference.com/olympics/athletes/ka/miho-kawabe-1.html | accessdate = 21 July 2012 | title = Archived copy | archiveurl = https://web.archive.org/web/20121111123257/http://www.sports-reference.com/olympics/athletes/ka/miho-kawabe-1.html | archivedate = 11 November 2012 | url-status = live }}</nowiki> | ||
| + | }} | ||
== College football == | == College football == | ||
| − | === Unnamed parameters = | + | {{Test case nowiki |format=rows |collapsible=yes |title=Unnamed parameters |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ | Jimmy Collier | https://www.sports-reference.com/cfb/players/jimmy-collier-1.html | January 7, 2014 }}</nowiki> | |
| − | + | }} | |
| − | + | ||
| − | + | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ | title = Arkansas Razorbacks | url = https://www.sports-reference.com/cfb/schools/arkansas/ | accessdate = August 12, 2014 }}</nowiki> | |
| − | + | }} | |
| − | + | ||
| − | {{ | + | == Missing title/name == |
| + | The Wikipedia page name is used if the template is missing {{para|title}} or {{para|name}}. | ||
| − | + | {{Test case nowiki |format=rows |collapsible=yes |title=No parameters (using Wikidata) | |
| − | {{ | + | |code=<nowiki>{{__TEMPLATENAME__}}</nowiki> |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | == | + | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ | url = https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | accessdate = 28 January 2010 }}</nowiki> | |
| + | }} | ||
| − | === | + | == Missing url == |
| − | + | Articles will be added to [[:Category:Articles using sports-reference citation without URL]] if the template is missing {{para|url}}. | |
| − | |||
| − | |||
| − | : | ||
| − | |||
| − | : | ||
| − | |||
| − | |||
| − | |||
| − | === Unnamed parameters = | + | {{Test case nowiki |format=rows |collapsible=yes |title=Unnamed parameters |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ | Larysa Latynina }}</nowiki> | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | === Named parameters = | + | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ | title = 2004 Modern Pentathlon: Men's Individual | url = | accessdate = 13 November 2012 }}</nowiki> | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 13:01, 27 February 2020
Olympics
| Unnamed parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | Larysa Latynina | https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | 28 January 2010 }}
|
Named parameters with |name= | ||||
|---|---|---|---|---|
{{Cite sports-reference | name = Larysa Latynina | url = https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | accessdate = 28 January 2010 }}
|
Named parameters with |title= | ||||
|---|---|---|---|---|
{{Cite sports-reference | title = 2004 Modern Pentathlon: Men's Individual | url = https://www.sports-reference.com/olympics/summer/2004/MOP/mens-individual.html | access-date = 13 November 2012 }}
|
Named parameters with |title=Archived copy | ||||
|---|---|---|---|---|
{{Cite sports-reference | url = https://www.sports-reference.com/olympics/athletes/ka/miho-kawabe-1.html | accessdate = 21 July 2012 | title = Archived copy | archiveurl = https://web.archive.org/web/20121111123257/http://www.sports-reference.com/olympics/athletes/ka/miho-kawabe-1.html | archivedate = 11 November 2012 | url-status = live }}
|
College football
| Unnamed parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | Jimmy Collier | https://www.sports-reference.com/cfb/players/jimmy-collier-1.html | January 7, 2014 }}
|
| Named parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | title = Arkansas Razorbacks | url = https://www.sports-reference.com/cfb/schools/arkansas/ | accessdate = August 12, 2014 }}
|
Missing title/name
The Wikipedia page name is used if the template is missing |title= or |name=.
| Named parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | url = https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | accessdate = 28 January 2010 }}
|
Missing url
Articles will be added to Category:Articles using sports-reference citation without URL if the template is missing |url=.
| Unnamed parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | Larysa Latynina }}
|
| Named parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | title = 2004 Modern Pentathlon: Men's Individual | url = | accessdate = 13 November 2012 }}
|