Difference between revisions of "Template:Cite basketball-reference/doc"

From blackwiki
Jump to navigation Jump to search
imported>GregorB
imported>Pigsonthewing
(ce)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{cs1 wrapper|base=Cite web}}
 +
 
 +
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
  
 
==Guidelines==
 
==Guidelines==
Line 7: Line 9:
 
==Usage==
 
==Usage==
 
This template requires 3 parameters:
 
This template requires 3 parameters:
*'''name''', the name of the player on the title of the references basketball-reference.com page
+
# {{Para|name}}, the name of the player on the title of the references basketball-reference.com page
*'''id''', the identifier after "players/" and before ".html" in the url to the statistics page.  
+
# {{Para|id}}, the identifier after "players/" and before ".html" in the url to the statistics page.  
*'''date''', the date the page was accessed.
+
# {{Para|accessdate}}, the date the page was accessed.
  
 
==Examples==
 
==Examples==
Line 15: Line 17:
  
 
<pre>
 
<pre>
{{Cite basketball-reference |name=Kareem Abdul-Jabbar|id=a/abdulka01 |date=March 26, 2012}}</pre>
+
{{Cite basketball-reference |name=Kareem Abdul-Jabbar|id=a/abdulka01 |accessdate=March 26, 2012}}</pre>
 
Output:
 
Output:
{{Cite basketball-reference |name=Kareem Abdul-Jabbar|id=a/abdulka01 | date=March 26, 2012}}
+
{{Cite basketball-reference |name=Kareem Abdul-Jabbar|id=a/abdulka01 | accessdate=March 26, 2012}}
  
 
==See also==
 
==See also==
Line 23: Line 25:
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:Sports source templates|basketball-reference]]
 
[[Category:Sports source templates|basketball-reference]]
 
[[Category:National Basketball Association templates|basketball-reference]]
 
[[Category:National Basketball Association templates|basketball-reference]]
 
</includeonly>
 
</includeonly>

Revision as of 10:20, 7 September 2016


Guidelines

This will create a reference link to a basketball player's statistics page on http://www.basketball-reference.com.

Usage

This template requires 3 parameters:

  1. |name=, the name of the player on the title of the references basketball-reference.com page
  2. |id=, the identifier after "players/" and before ".html" in the url to the statistics page.
  3. |accessdate=, the date the page was accessed.

Examples

For a reference to Kareem Abdul-Jabbar's page at http://www.basketball-reference.com/players/a/abdulka01.html:

{{Cite basketball-reference |name=Kareem Abdul-Jabbar|id=a/abdulka01 |accessdate=March 26, 2012}}

Output: "Kareem Abdul-Jabbar Stats". Basketball-Reference.com. Retrieved March 26, 2012.

See also