Template:Github/doc: Difference between revisions
Appearance
imported>Pathoschild expand a bit |
imported>Margotbean No edit summary |
||
| (3 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 == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Usage | ||
! | ! Code | ||
! | ! Result | ||
|- | |- | ||
| | | Naked URL | ||
| <pre>{{ | | <pre>{{Github|Pathoschild/SMAPI}}</pre> | ||
| {{ | | {{Github|Pathoschild/SMAPI}} | ||
|- | |- | ||
| | | Link Text | ||
| <pre>{{ | | <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 |