Template:Cite GitHub/doc
Jump to navigation
Jump to search
Cite GitHub.
Use this to Cite GitHub.
TemplateData
Cites a GitHub commit or file.
Parameter | Description | Type | Status | |
---|---|---|---|---|
URL | url | The URL to the resource.
| URL | required |
Title | title | The title of the file, commit, etc.
| String | required |
Author | author | The author of the commit, if applicable. | String | optional |
Org/User | org | Org/User of Repo
| String | required |
Repository Name | repo | The name of the repository being cited.
| String | required |
Type | type | The type of thing being cited. Currently just a commit or file.
| String | required |
Commit Hash | hash | The hash of the commit being referenced. Only required if the type is a commit. | String | required |
File Commit | commit | The commit hash of the file version being referenced. Only required if the specified type is a file. | String | optional |
Retrieved Date | retrieved | The date the file was retrieved. Not necessary if referencing a hash. | Date | suggested |