Template:Cite GitHub: Difference between revisions

From ChewWiki
Jump to navigation Jump to search
remove newlines
Tag: 2017 source edit
m remove some spaces
Tag: 2017 source edit
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 03:04, 31 December 2024

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