Difference between revisions of "Template:Github"

From Stardew Valley Wiki
Jump to navigation Jump to search
(create to avoid wiki spam filter)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{#if:{{{2|}}}|[https://github.com/{{{1}}} {{{2}}}]|https://github.com/{{{1}}}}}<noinclude>
 
{{#if:{{{2|}}}|[https://github.com/{{{1}}} {{{2}}}]|https://github.com/{{{1}}}}}<noinclude>
{{{{FULLPAGENAME}}/doc}}[[Category:General wiki templates]]</noinclude>
+
{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 22:14, 8 January 2023

https://github.com/{{{1}}}

Description

This template creates a link to a GitHub repository or profile page. This lets users add external links to GitHub or edit pages that contain them without issue.

Usage

Usage Code Result
Naked URL
{{Github|Pathoschild/SMAPI}}
https://github.com/Pathoschild/SMAPI
Link Text
{{Github|Pathoschild/SMAPI|source}}
source