Difference between revisions of "Template:Github"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>[[File:GitHub-Mark-32px.png|16px]]&nbsp;[https://github.com/{{{1|}}} {{{2|}}}] on GitHub</includeonly><noinclude>
+
<includeonly>[[File:GitHub-Mark-32px.png|16px]]&nbsp;[https://github.com/{{{1|}}} {{{2|Source code}}}] on GitHub</includeonly><noinclude>
 
GitHub link template.
 
GitHub link template.
  
 
Usage:
 
Usage:
  
  <nowiki>{{Github|path|description}}</nowiki>
+
  <nowiki>{{Github|path|description (optional)}}</nowiki>
  
 
Example:
 
Example:

Latest revision as of 15:43, 11 January 2019

GitHub link template.

Usage:

{{Github|path|description (optional)}}

Example:

{{Github|cleolibrary/III.VC.CLEO|CLEO for GTA III and Vice City}}

produces:

GitHub-Mark-32px.png CLEO for GTA III and Vice City on GitHub