Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:Repo"

From Roll20 Wiki

Jump to: navigation, search
m
(simplify template)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><div class="plainlinks" style="display:inline-block;">[https://github.com/{{{1}}}]</div> <span style="margin-bottom: 5px">[[File:GitHubLogo.png|middle|13px]]</span></includeonly><noinclude>[[Category:Navigation Templates]]{{documentation}}</noinclude>
+
<includeonly>[https://github.com/{{{1}}}]</includeonly><noinclude>[[Category:External Link Templates]]{{documentation}}</noinclude>

Latest revision as of 10:24, 23 October 2021

[view] [edit] [history] [purge] Documentation icon Template documentation

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.