Alternate BBCode for pipe support in spoilers (greater bbcode inclusivity in spoilers) | World Anvil

Remove these ads. Join the Worldbuilders Guild

Alternate BBCode for pipe support in spoilers (greater bbcode inclusivity in spoilers)

Feature Upgrade · Articles & templates · Created by Hanhula
accepted
bbcode spoilers

What functionality is missing? What is unsatisfying with the current situation?

Currently, embedding any BBCode in a spoiler that has a pipe symbol - such as a quote with an author, an image with formatting, or an organisation chart - breaks the spoiler due to how the spoiler name system is done.   [spoiler]Words in the spoiler|name of the spoiler[/spoiler] is the current situation.   [spoiler][quote]Words in the quote in the spoiler|Quote author[/quote][/spoiler] would be an example of a regular usecase made impossible due to the current limitations of the spoiler BBCode.   To remedy this, then, without breaking the current spoiler bbcode, I suggest an alternative method of creating spoilers be added like so: [advspoiler="Name of spoiler"]Words in the spoiler[/advspoiler]  

How does this feature request address the current situation?

This doesn't use the pipe system, so any BBCode can be put inside; it also doesn't break existing spoilers. I do recognise that using the exact same bbcode with two different methods of parsing may not be feasible, hence why this is short for Advanced Spoiler.  

What are other uses for this feature request?

Honestly, this sort of system could be extended to any situation where pipes break inside something - spoilers are just the most common usecase. So much of WA's bbcode relies on being able to add a pipe to modify the bbcode, and yet so many people wish to use spoilers as expandable sections with other bbcode inside!   Noting that this feature request was made due to a few different people's struggles in #help, with Blackjack#8395 being the most recent.

The Team's Response

A very small number of people supported this during its voting period   Adding new style of BBcode will make the system less consistent - I will not be adding "=" as a new style   Having said that, I know this is something that many of you struggle with. I will be taking a look to find a better implementation for this
Current score

34/300 Votes · +4580 points

Votes Cast

  • +50

    by Endrise
    on 2021-05-17 05:59
  • +300

    by AwsmChimera
    on 2021-05-17 05:56
  • +300

    by Kaleidechse
    on 2021-05-14 10:30
    It would definitely be great if we could use all BBCode tags inside the spoiler content. I don't know whether it's easier to fix the pipe parsing or implement the suggested "=" parameter - either way, it would be a big improvement.
  • +300

    by BlackjackMKV
    on 2021-05-04 15:39
  • +100

    by spacetrash
    on 2021-05-04 12:35
  • +50

    by Snake__Venom
    on 2021-05-01 08:38
  • +300

    by SoulLink
    on 2021-05-01 06:26
  • +300

    by Frog God Games
    on 2021-05-01 05:57
  • +100

    by JohanWq
    on 2021-04-30 22:52
  • +50

    by corasnowbooks
    on 2021-04-30 14:54
  • +300

    by User51
    on 2021-04-30 14:52
  • +10

    by AmélieIS
    on 2021-04-30 11:43
  • +100

    by Toblin
    on 2021-04-30 08:51
    Good idea, but without knowing how BBCode actually works, wouldn't it be simpler to have the BBCode only evaluate break characters (such as the pipe) inside it's OWN tags, rather than nested tags?
  • +300

    by SolarCat02
    on 2021-04-29 21:28
    I would love to use the [tagged] BBCode options inside Spoilers to show potential subscribers what they gain. Listing it directly on the page uses too much real estate and takes attention away from my call to action to subscribe, and I don't want to ask people to navigate AWAY from my subscriber page to see it.
  • +100

    by Ademal
    on 2021-04-29 18:56
  • +100

    by brass_phoenix
    on 2021-04-29 09:56
    Yes please, this has tripped me up several times :)
  • +300

    by Isaac Thompson
    on 2021-04-29 03:45
  • +50

    by Jacob-W
    on 2021-04-29 03:22
  • +50

    by redbeardcreator
    on 2021-04-29 00:01
  • +10

    by StardustScrapper
    on 2021-04-28 21:21
  • +200

    by Satrium
    on 2021-04-28 20:59
  • +10

    by iamthetot
    on 2021-04-28 20:38
  • +20

    by Mar Qaroll
    on 2021-04-28 16:50
  • +100

    by spartango
    on 2021-04-28 16:32
    I see this more as a bug, but I 110% agree that the spoiler/quote bbcode should be more consistent with other bbcode.
  • +100

    by ka_jan
    on 2021-04-28 16:08
  • +100

    by hcraven
    on 2021-04-28 15:03
  • +50

    by Buzzard
    on 2021-04-28 15:00
  • +10

    by Lyraine Alei
    on 2021-04-28 13:54
  • +10

    by RiverFang
    on 2021-04-28 13:21
  • +10

    by Twaren Stormborn
    on 2021-04-28 11:50
  • +50

    by Michael Chandra
    on 2021-04-28 11:10
  • +50

    by Zoraidaz
    on 2021-04-28 10:28
  • +300

    by A Rambunctious Unicorn
    on 2021-04-28 09:51
  • +100

    by Shadow Malachi
    on 2021-04-28 09:50
  • +300

    by Hanhula
    on 2021-04-28 09:46