New spoiler/accordion syntax
Site Updates forum
Posted on May 6, 2015, 8:13 p.m. by yeaGO
Hey look a spoiler!!!! Show
===spoiler:Hey look a spoiler!!!!
[[deck-large:haze-frog-spits-on-fools]]
===endspoiler
===accordion
===panel:Hey look I made a spoiler of stuff!
It was hidden now its not.
===endpanel
===panel:I wonder what's here when you click.
Nothing that interesting.
===endpanel
===endaccordion
yeaGO, this is awesome! I just wanted to say thanks!
December 2, 2015 9:38 a.m.
DemonDragonJ says... #5
I have been experiencing difficulty with spoiler tags, recently, and I am hoping that someone here shall be able to assist me with that issue.
When I place text in a spoiler tag, only the first line is within the tag, and the rest is outside of it, despite me clearly typing all the text within the tag, as demonstrated, below:
Hidden Temple Show
Land
: add to your mana pool. If you control six or more lands, add to your mana pool, instead.
As you can see, there is text outside of the spoiler tag, when it should not be, so is there any way to fix that problem?
December 12, 2015 11 p.m.
DemonDragonJ,
I was having the same problem, and it seemed to always be due to extra return characters.
Maybe try using a couple breaks ( <br> ) instead of two returns when you want a blank line between paragraphs?
December 12, 2015 11:16 p.m. Edited.
hyperlocke says... #7
@DemonDragonJ: The spoilers and accordions hide only the first paragraph (enclosed in < p > and < /p >) of the text you want to hide. If you leave an empty line in T/O's comment boxes, this gets interpreted as a new paragraph.
===spoiler: Hidden Temple
Hidden Temple<br><br>
Land<br><br>
[[symbol:T]]: Add [[symbol:1]] to your mana pool. If you control six or more lands, add [[symbol:2]] to your mana pool, instead.
===endspoiler
Hidden Temple Show
December 13, 2015 4:44 a.m.
hyperlocke says... #8
Also, I just found out that you can enclose all the stuff you want to spoil in paragraph tags:
===spoiler: Title
<p>
Hidden Temple
Land
[[symbol:T]]: Add [[symbol:1]] to your mana pool. If you control six or more lands, add [[symbol:2]] to your mana pool, instead.
</p>
===endspoiler
Title Show
December 13, 2015 7:33 a.m. Edited.
DemonDragonJ, hyperlocke: I have exactly the same problem, is the paragraph way the easiest way to fix it?
December 13, 2015 12:56 p.m.
hyperlocke says... #11
Well, for us users, anyway.
yeaGO, would it be feasible to include the paragraph tags in the conversion from T/O syntax to HTML?
December 13, 2015 1:45 p.m.
this will be fixed soon, and likely this paragraph approach will break. fyi.
December 13, 2015 1:46 p.m.
DemonDragonJ says... #13
hyperlocke, that you so much; that is immensely helpful!
December 15, 2015 10:39 p.m.
IzzetFanatic says... #15
hey I have a question... Could it be possible to change the coding so that you could make the button itself say something. Thanks
Ammo37 says... #1
All the Tokens [Trostani EDH] {GW} (Help Wanted)
November 25, 2015 11:41 p.m.