Difference between revisions of "Template:Github/doc"
Margotbean (talk | contribs) (You cannot say the purpose of the template is to circumvent spam filters) |
Margotbean (talk | contribs) |
||
(2 intermediate revisions by 2 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 |