Difference between revisions of "Template:Github"
Jump to navigation
Jump to search
Pathoschild (talk | contribs) (create to avoid wiki spam filter) |
Margotbean (talk | contribs) (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: | + | {{{{FULLPAGENAME}}/doc}}[[Category:Modding templates]]</noinclude> |
Revision as of 00:13, 19 December 2018
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 |