Jump to content

Template:Github/doc: Difference between revisions

From Stardew Valley Wiki
imported>Pathoschild
→Description: reword to avoid "without making significant contributions" (which can be misinterpreted)
imported>Margotbean
No edit summary
 
(One intermediate revision by one other user not shown)
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>
|}<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