Using a special script, you can embed any decklist from NetrunnerDB into your web pages. Just paste the small piece of code found on the decklist page, into your HTML document.
The code looks like this:
<div data-id="58633" data-columns="3" data-stats="no" class="nrdb-ext-decklist"><script src="https://netrunnerdb.com/ext-decklist.js"></script></div>
The 3 attributes in red control the decklist that is displayed:
- data-id is the id of the decklist
- data-columns is the number of columns on which the decklist is displayed (default: 1)
- data-stats controls whether the stats of the decklist are displayed ("yes") or not ("no") (default: yes)
Here are two examples of embedded decklists, one with no styling, one with some custom styling for demonstration purposes. Both are generated by the same small line of code shown above.