Difference between revisions of "Template:Github/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Pathoschild (talk | contribs) (expand a bit) |
||
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, mainly to avoid the spam filter blocking edits by newer users if the page contains direct links. |
==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}} | ||
+ | |}<noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>{{Addlanglinks}}</includeonly> | <includeonly>{{Addlanglinks}}</includeonly> |
Revision as of 18:32, 25 September 2019
Description
This template creates a link to a GitHub repository or profile page, mainly to avoid the spam filter blocking edits by newer users if the page contains direct links.
Usage
usage | code | result |
---|---|---|
naked URL | {{github|Pathoschild/SMAPI}} |
https://github.com/Pathoschild/SMAPI |
link text | {{github|Pathoschild/SMAPI|source}} |
source |