How to make mini decks
TappedOut forum
Posted on April 18, 2015, 10:30 p.m. by filledelanuit
I'm working on a UR storm primer and want to make little mini decks but can't figure out how.
I think Femme_Fatale had some at some point but I can't find them.
RussischerZar says... #3
I think what he means is a table listing of all the cards in a deck which I've seen in multiple articles here on TappedOut.
April 18, 2015 11:18 p.m.
filledelanuit says... #4
That was one of my less than coherent posts.
RussischerZar is right. Those little things that have a list of the cards in a deck. I couldn't find a formatting guide anywhere.
I should probably get some sleep, I haven't really had much for the last 48 hours.
April 18, 2015 11:43 p.m.
The formatting guide is available here.
Step 1: Include the link to the validator at the top of your page. It seems like it should be auto included, but it isn't.
Step 2: Use the deck-list class (just scroll through the API to see it) and put your cards in it :)
April 18, 2015 11:53 p.m.
Femme_Fatale says... #6
It's called right click, inspect element lordoftheshadows.
<script src="http://tappedout.net/tappedout.js"></script><div class="deck-list" data-stub="DECk-SLUG-GOES-HERE"> </div>
Or...
<script src="http://tappedout.net/tappedout.js"></script><div class="deck-list" >DECK LIST GOES HERE</div>
April 19, 2015 12:54 a.m.
Femme: in your second example, there shouldn't be a space between the ending > on the div... Not sure if the site is html4-5 or XHTML, but it won't render in XHTML (I believe) with a space...
April 19, 2015 1:30 p.m.
Femme_Fatale says... #8
I can put in 5000 spaces and it will render rorofat.
April 19, 2015 2:31 p.m.
rorofat -- you're thinking of XHTML.
XHTML has a pretty strict syntax, whereas in HTML, you can pretty much do what you want.
April 19, 2015 8:41 p.m.
Hmm... Matsi883 I did mention that if the site was in html 4-5 it would render fine (I think...), but XHTML it wouldn't render in...
Femme_Fatale: Now we know it's coded in html 4 or 5 :)
Epochalyptik says... #2
Uh, what?
April 18, 2015 11:13 p.m.