Giter Site home page Giter Site logo

cdanis / decklist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from april/decklist

0.0 2.0 0.0 7 MB

The code behind decklist.org, which generates DCI Registration Sheets.

Home Page: https://decklist.org/

License: MIT License

CSS 5.20% HTML 7.33% Shell 0.42% Python 4.32% JavaScript 82.73%

decklist's Introduction

decklist

The code behind decklist.org, which generates DCI Registration Sheets.

Direct Linking

Interested in directly linking to decklist.org for your tournament or for your deck building application? It's super easy! Simply set the following GET parameters to have the fields automatically populated:

  • firstname: the participant's first name (e.g. April)
  • lastname: the participant's last name (e.g. King)
  • dcinumber: the participant's DCI number (e.g. 1234567890, no dashes needed)
  • event: the name of the event (e.g. Grand Prix Minneapolis)
  • eventdate: the date of the event (e.g. 2018-12-31)
  • eventlocation: the physical location of the event (e.g. Minneapolis Convention Center)
  • decksheet: the deck sheet to use (either wotc or scg, defaults to wotc)
  • deckmain: the deck itself; this can be in any format the website understands (use %0A for newlines)
  • deckside: the side itself; this can be in any format the website understands (use %0A for newlines)
  • disableediting: prevent users from editing the fields above
  • logo: please contact [email protected], if you'd like to replace the DCI logo

Please note that any field not specifically set will simply be left blank on the form.

Tournament organizer example, for an unregistered player:

https://www.decklist.org/?eventdate=2018-12-31&event=Grand%20Prix%20Minneapolis&eventlocation=Minneapolis%20Convention%20Center

Or a preregistered player:

https://www.decklist.org/?firstname=April&lastname=King&dcinumber=7060000004&eventdate=2018-12-31&event=Grand%20Prix%20Minneapolis&eventlocation=Minneapolis%20Convention%20Center

Just replace the values above with your tournament's values; that's all! Please note that when creating a link, to replace spaces with %20; this is important! :)

Deck building website example:

https://www.decklist.org/?deckmain=2%09Arid%20Mesa%0A4%09Brainstorm%0A1%09Council%27s%20Judgment%0A4%09Counterbalance%0A2%09Counterspell%0A2%09Entreat%20the%20Angels%0A4%09Flooded%20Strand%0A4%09Force%20of%20Will%0A4%09Island%0A3%09Jace%2C%20the%20Mind%20Sculptor%0A2%09Plains%0A2%09Polluted%20Delta%0A4%09Ponder%0A2%09Scalding%20Tarn%0A4%09Sensei%27s%20Divining%20Top%0A3%09Snapcaster%20Mage%0A4%09Swords%20to%20Plowshares%0A4%09Terminus%0A3%09Tundra%0A2%09Volcanic%20Island&deckside=1%09Council%27s%20Judgment%0A1%09Counterspell%0A1%09Disenchant%0A3%09Flusterstorm%0A1%09Keranos%2C%20God%20of%20Storms%0A1%09Path%20to%20Exile%0A1%09Pyroblast%0A2%09Red%20Elemental%20Blast%0A2%09Rest%20in%20Peace%0A1%09Supreme%20Verdict%0A1%09Surgical%20Extraction%0A

decklist's People

Contributors

april avatar nightfirecat avatar daniel-beck avatar chaimw avatar cdanis avatar kerrick avatar jaeiclee avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.