Template:Github/doc: Difference between revisions
Appearance
imported>Pathoschild create |
imported>Margotbean No edit summary |
||
| (7 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
==Description== | == Description == | ||
This template creates a link to a GitHub repository or profile page. | 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 == | ||
<pre> | {| class="wikitable" | ||
|- | |||
! Usage | |||
< | ! Code | ||
! Result | |||
|- | |||
| Naked URL | |||
<noinclude>[[Category:Template documentation]]</noinclude> | | <pre>{{Github|Pathoschild/SMAPI}}</pre> | ||
| {{Github|Pathoschild/SMAPI}} | |||
|- | |||
| Link Text | |||
| <pre>{{Github|Pathoschild/SMAPI|source}}</pre> | |||
| {{Github|Pathoschild/SMAPI|source}} | |||
|}<includeonly>{{Addlanglinks}}[[Category:Modding templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | |||
Latest revision as of 22:14, 8 January 2023
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 |