Difference between revisions of "Template:Github/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(You cannot say the purpose of the template is to circumvent spam filters)
 
(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 allows new users to add external links to github, without making other significant contributions to the wiki.
+
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>
+
|}<includeonly>{{Addlanglinks}}[[Category:Modding templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>{{Addlanglinks}}</includeonly>
 

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