Template:Cite GitHub commit/doc: Difference between revisions
Jump to navigation
Jump to search
create doc Tag: 2017 source edit |
m add a space Tag: 2017 source edit |
||
Line 43: | Line 43: | ||
}, | }, | ||
"description": "Cites a GitHub commit.", | "description": "Cites a GitHub commit.", | ||
"format": " | "format": "{{_ |_=_}}" | ||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 21:00, 10 January 2025
This template cites a specific GitHub commit. It is preferred over the original {{Cite GitHub}}
as it is formatted better and doesn't have useless parameters.
Template Data
Cites a GitHub commit.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Commit Title | title | The title (first line) of the commit. | String | required |
Org/User | org | The organization or username of the repository this was committed in. | String | required |
Repository | repo | The name of the repository name | String | required |
Author | author | The username of the author. Do not link. | String | required |
Commit Hash | commit | The 6-8 character short hash of this commit. | String | required |
Commit Date | date | The date this commit was authored/committed. | Date | required |