Jump to content

Template:Github: Difference between revisions

From Stardew Valley Wiki
imported>Pathoschild
create to avoid wiki spam filter
 
imported>Margotbean
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