Template:Cite GitHub: Difference between revisions

From ChewWiki
Jump to navigation Jump to search
remove newlines
Tag: 2017 source edit
minor tweaks
Tag: 2017 source edit
Line 1: Line 1:
{{#if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}} }} {{#if: {{{author|}}} | by {{{author}}} }} in {{{org}}}/{{{repo}}}
{{#if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}} }} {{#if: {{{author|}}} | by {{{author}}} }} in {{{org}}}/{{{repo}}}
{{#if: {{{type|}}} | @ {{#if: {{{hash|}}} | {{{hash}}} | <code>{{{commit|}}}</code> }} on GitHub }}. Retrieved {{{retrieved}}}.
{{#if: {{{type|}}} | {{#ifeq: {{{type}}}|commit| @ <code>{{{commit|}}}</code>}} }} {{#if: {{{date|}}} | , committed on {{{date}}} }} {{#if: {{{retrieved|}}} | . Retrieved {{{retrieved}}}. }}
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 22:09, 9 September 2024

{{{title}}} in {{{org}}}/{{{repo}}}