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:Gist"

From Roll20 Wiki

Jump to: navigation, search
(template for linking to github gists)
 
m (fix img)
Line 1: Line 1:
<includeonly><div class="plainlinks" style="display:inline-block;">[https://gist.github.com/{{{1}}}]</div> {{github}}</includeonly><noinclude>[[Category:Navigation Templates]]{{documentation}}</noinclude>
+
<includeonly><div class="plainlinks" style="display:inline-block;">[https://gist.github.com/{{{1}}}]</div> <sup>[[File:GitHubLogo.png|middle|10px]]</sup></includeonly><noinclude>[[Category:Navigation Templates]]{{documentation}}</noinclude>

Revision as of 10:17, 26 September 2021

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

For linking to Github gists. remove the gist.github.com/ part from the url, and place the rest in the template.

Example

code snippet by GiGs

{{gist|G-G-G/52b96cff0b827c42f9d04ab411fb42e8 code snippet}} by GiGs