Difference between revisions of "Template:Repo/doc"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage|override=repo/doc|Repo}} | {{documentation subpage|override=repo/doc|Repo}} | ||
− | Creates a link to | + | Creates a link to {{repo| 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 <code><nowiki>https://github.com</nowiki></code> part from the url, and place the rest in the template. | |
− | + | ||
− | < | + | |
− | < | + | Related: {{tlx|gist}}, {{tlx|sheet-gh}}, {{tlx|api-gh}} |
+ | |||
+ | '''Example:''' | ||
+ | {{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. | ||
+ | <pre style="overflow:auto;">{{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.</pre> |
Latest revision as of 12:13, 26 September 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, 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.