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 (remove space between incudeonly and noinclude, to stop linebreak after template)
m
Line 1: Line 1:
<includeonly><div class="plainlinks" style="display:inline-block;">[https://github.com/{{{1}}}]</div> {{github}}</includeonly<noinclude>
+
<includeonly><div class="plainlinks" style="display:inline-block;">[https://github.com/{{{1}}}]</div> {{github}}</includeonly><noinclude>
 
[[Category:Navigation Templates]]
 
[[Category:Navigation Templates]]
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 18:05, 13 November 2020

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

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:

GitHubLogo.png 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.