Difference between revisions of "Template:Github/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(→‎Description: reword to avoid "without making significant contributions" (which can be misinterpreted))
m (Capitalisation.)
Line 1: Line 1:
==Description==
+
== 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.
 
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
+
! Usage
! code
+
! Code
! result
+
! Result
 
|-
 
|-
| naked URL
+
| Naked URL
| <pre>{{github|Pathoschild/SMAPI}}</pre>
+
| <pre>{{Github|Pathoschild/SMAPI}}</pre>
| {{github|Pathoschild/SMAPI}}
+
| {{Github|Pathoschild/SMAPI}}
 
|-
 
|-
| link text
+
| Link Text
| <pre>{{github|Pathoschild/SMAPI|source}}</pre>
+
| <pre>{{Github|Pathoschild/SMAPI|source}}</pre>
| {{github|Pathoschild/SMAPI|source}}
+
| {{Github|Pathoschild/SMAPI|source}}
 
|}<noinclude>[[Category:Template documentation]]</noinclude>
 
|}<noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>{{Addlanglinks}}</includeonly>
 
<includeonly>{{Addlanglinks}}</includeonly>

Revision as of 09:54, 23 April 2021

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