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

Template:Api repository link/doc

From Roll20 Wiki

Revision as of 22:15, 7 January 2015 by Brian (Talk | contribs)

Jump to: navigation, search

Links to a file on the API Script Repository

Parameters

Name Description
directory Directory from the root of the repository that the file is located in. Defaults to the first anonymous parameter.
file File within the directory to link to. Defaults to the first anonymous parameter. This does mean that if neither directory nor file are specified, the linked file will be something to the effect of foo/foo.js (file and directory with the same name).
extension File extension of the file to link to. Defaults to the third anonymous parameter.
display name Name to display for the link. Defaults to the second anonymous parameter, which in turn defaults to file.

Usage

Wikitext Output
{{api repository link|The Darkness is Closing In}} The Darkness is Closing In
{{api repository link|The Darkness is Closing In|file=package|extension=.json}} package