Difference between revisions of "Template:Repo/doc"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) |
||
Line 2: | Line 2: | ||
Creates a link to [https://github.com Github] that shows the github logo at the end. Useful for linking to API script and character sheet repositories, or code in general, while making it clear where the link goes. | Creates a link to [https://github.com Github] that shows the github logo at the end. Useful for linking to API script and character sheet repositories, or code in general, while making it clear where the link goes. | ||
+ | |||
+ | Remove the <code><nowiki>gist.github.com/</nowiki></code> part from the url, and place the rest in the template. | ||
+ | |||
'''Example:''' | '''Example:''' | ||
{{repo|Roll20/roll20-character-sheets Roll20 character sheets}} is where you find the code for all community character sheets. | {{repo|Roll20/roll20-character-sheets Roll20 character sheets}} is where you find the code for all community character sheets. | ||
− | <pre>{{repo|Roll20/roll20-character-sheets Roll20 character sheets}} is where you find the code for all community character sheets.</pre> | + | <pre style="overflow:auto;">{{repo|Roll20/roll20-character-sheets Roll20 character sheets}} is where you find the code for all community character sheets.</pre> |
<includeonly>[[Category:Navigation Templates]]</includeonly> | <includeonly>[[Category:Navigation Templates]]</includeonly> |
Revision as of 16:22, 19 January 2021
This is a documentation subpage for Repo. It contains usage information, categories and other content that is not part of the original template page. |
Creates a link to Github that shows the github logo at the end. Useful for linking to API script and character sheet repositories, or code in general, while making it clear where the link goes.
Remove the gist.github.com/
part from the url, and place the rest in the template.
Example:
Roll20 character sheets is where you find the code for all community character sheets.
{{repo|Roll20/roll20-character-sheets Roll20 character sheets}} is where you find the code for all community character sheets.