Difference between revisions of "Template:Github"

From Stardew Valley Wiki
Jump to navigation Jump to search
(create to avoid wiki spam filter)
 
(category)
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}}[[Category:Modding templates]]</noinclude>

Revision as of 00:13, 19 December 2018

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