Difference between revisions of "Template:Repo"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m |
||
Line 2: | Line 2: | ||
<noinclude> | <noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Navigation Templates]] | [[Category:Navigation Templates]] | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Revision as of 13:57, 13 November 2020
Creates a link to Github, which shows the github link logo. Useful for linking to API scripts, character sheet code, readme files, or code in general, while making it clear where the link goes.
Remove the https://github.com
part from the url, and place the rest in the template.
Related: {{gist}}
, {{sheet-gh}}
, {{api-gh}}
Example: Roll20 character sheets is where you find the code for all community character sheets. Check shdwjk/Roll20API for Aaron's API collection.
{{repo|Roll20/roll20-character-sheets Roll20 character sheets}} is where you find the code for all community character sheets. Check {{repo|shdwjk/Roll20API shdwjk/Roll20API}} for [[Aaron]]'s API collection.
The above documentation is transcluded from Template:Repo/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |