Template:Cite GitHub commit/doc: Difference between revisions

From ChewWiki
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": "inline"
"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.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Commit Titletitle

The title (first line) of the commit.

Stringrequired
Org/Userorg

The organization or username of the repository this was committed in.

Stringrequired
Repositoryrepo

The name of the repository name

Stringrequired
Authorauthor

The username of the author. Do not link.

Stringrequired
Commit Hashcommit

The 6-8 character short hash of this commit.

Stringrequired
Commit Datedate

The date this commit was authored/committed.

Daterequired