Skip to content

Library to parse [[Card]] to a link to the card on fortressmaximus.io

Notifications You must be signed in to change notification settings

obiwongee/fortressmaximus.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fortressmaximus.js

fortressmaximus.js is a Javascript library to help content creators for the Transformers Trading Card Game. Add this library to your website and it will fetch cards written in [[]] brackets and change to HTML links that will link to the card on fortressmaximus.io as well adding the card image when a user hovers over the link.

Usage

fortressmaximus.js require the JQuery Javascript library which can be found here <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

Then simply add the fortressmaximus.js script after <script src="https://fortressmaximus.io/tools/fortressmaximusjs/0.4/fortressmaximus.min.js" integrity="sha384-ObkgViPLhtAYXCPKKVBaFvhI+oEzFRifLWtS00IMw2X3e22I+FwYrtrzqhpGAmNe" crossorigin="anonymous"></script>

Finally, on your web page, the script will fetch any card inbween [[]] brackets eg. [[optimus prime battlefield legend]]

About

Library to parse [[Card]] to a link to the card on fortressmaximus.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages