Difference between revisions of "Template:Cite sports-reference/testcases"
Jump to navigation
Jump to search
imported>Zyxw (update) |
imported>Zyxw (update) |
||
| Line 12: | Line 12: | ||
| Ā | Ā | ||
| Ā | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters with {{para|title}} | Ā | {{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 | + | |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 = November 13, 2012 }}</nowiki> |
| ā | Ā | ||
| ā | Ā | Ā | |
| ā | Ā | ||
| ā | Ā | ||
| Ā | }} | Ā | }} |
| Ā | Ā | ||
| Line 30: | Line 26: | ||
| Ā | Ā | ||
| Ā | == Missing title/name == | Ā | == Missing title/name == |
| ā | The Wikipedia page name is used if the template is missing {{para|title}} or {{para|name}}. | + | The Wikipedia page name is used if the template is missing unnamed parameter 1, {{para|title}} or {{para|name}}. It also uses the page name if {{para|title|Archived copy}} (added by InternetArchiveBot). |
| Ā | Ā | ||
| Ā | {{Test case nowiki |format=rows |collapsible=yes |title=No parameters (using Wikidata) | Ā | {{Test case nowiki |format=rows |collapsible=yes |title=No parameters (using Wikidata) |
| Ā | |code=<nowiki>{{__TEMPLATENAME__}}</nowiki> | Ā | |code=<nowiki>{{__TEMPLATENAME__}}</nowiki> |
| Ā | + | }} | |
| Ā | + | ||
| Ā | + | {{Test case nowiki |format=rows |collapsible=yes |title=Unnamed parameters | |
| Ā | + | |code=<nowiki>{{__TEMPLATENAME__ |Ā | https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | 28 January 2010 }}</nowiki> | |
| Ā | }} | Ā | }} |
| Ā | Ā | ||
| Ā | {{Test case nowiki |format=rows |collapsible=yes |title=Named parameters | Ā | {{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> | Ā | |code=<nowiki>{{__TEMPLATENAME__ | 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|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> | |
| Ā | }} | Ā | }} |
| Ā | Ā | ||
Revision as of 13:22, 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 = November 13, 2012 }}
|
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 unnamed parameter 1, |title= or |name=. It also uses the page name if |title=Archived copy (added by InternetArchiveBot).
| Unnamed parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | | https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | 28 January 2010 }}
|
| Named parameters | ||||
|---|---|---|---|---|
{{Cite sports-reference | url = https://www.sports-reference.com/olympics/athletes/la/larysa-latynina-1.html | accessdate = 28 January 2010 }}
|
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 }}
|
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 }}
|