Jump to content

Template:Github/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Pathoschild
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"
* Naked URL: {{github|Pathoschild/SMAPI}}
|-
* Link text: {{github|Pathoschild/SMAPI|source}}
! usage
</pre>
! code
 
! result
* Naked URL: {{github|Pathoschild/SMAPI}}
|-
* Link text: {{github|Pathoschild/SMAPI|source}}
| 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