x
  • IP Copied!
    Click to Copy IP
    0 Players Online
  • Join our Discord!
    0 Users Online
  • [Forums] Creating and Fixing Spoilers.

    Discussion in 'Guides & "How To"' started by ImTopmass, Oct 3, 2014.

    1. ImTopmass
      Offline

      ImTopmass Boss Member

      Joined:
      Jun 28, 2014
      Messages:
      3,188
      Likes Received:
      877
      What is a spoiler?
      Simply put, a spoiler is something that hides information and prompts the user to click to show it. Here's an example:
      Show Spoiler



      How to make a spoiler
      Firstly, when making a spoiler, you need to use the BB Code editor. Using the Rich Text Editor often breaks the spoilers, leaving you with many problems.
      [​IMG] Spoilers are very simple to code. In fact, all you need to do is use spoiler tags within the BB Code editor. The code below is the code for the spoiler above:
      Code:
      This is a spoiler


      Custom named spoilers
      Again, very simple. All you have to do is use spoiler=Name and it'll be named Name (open) and Name (close). You can see this below:
      Code:
      This is a named spoiler
      Name (open)



      Even more custom named spoilers
      This is a variation of the named spoiler above, but you can add two names; one for open and one for closed. For example, you use spoiler=Open me, Close me an it will display as Open me when closed and Close me when open. You can see this below:
      Code:
      This is a named spoiler
      Open me



      Formatting spoilers
      When formatting a spoiler, make sure that your BB tags are relative. E.g. If you make a bold tag inside the spoiler at the start, make sure that your /bold tag is also inside the spoiler tag. If you move your tags around, your spoiler will either break or duplicate
      Code:
      This is a bold spoiler
      Show Spoiler


      Fixing a spoiler
      There are many things that can go wrong when you create a spoiler, especially if you use the Rich Text Editor. Below is an example of a broken spoiler, taken from Panem's signature (with permission)
      Code:

      [​IMG]
      12.18.2013
      [​IMG]
      12.18.2013
      I only put different kind of people here, i never post people twice, even though i killed them more than once!

      Show Spoiler


      This spoiler didn't duplicate, but it broke by creating extra spoilers inside the main spoiler, which the user didn't intend to do. This is because he was importing images by using the Rich Text Editor, which made the BB Code place itself in the wrong area. Below is my fix for this spoiler:
      Code:
      [​IMG]
      12.18.2013
      [​IMG]
      12.18.2013
      I only put different kind of people here, i never post people twice, even though i killed them more than once!
      YouTube & Staff Kills (open)

      As you can see, there are a lot less center tags, as the Rich Text Editor decides to code every single line of text, rather than a block.

      That's all for this tutorial. If I've missed anything or you need any help, feel free to leave a comment :D

      Copyright goes to GuruGamer
       
      • Like Like x 1
    2. ZALIZAINALI
      Offline

      ZALIZAINALI Well-Known Member

      Joined:
      Jun 17, 2014
      Messages:
      925
      Likes Received:
      168
      Very nice :)
       
    3. Minecraftnerd234
      Offline

      Minecraftnerd234 Experienced Member

      Joined:
      May 3, 2014
      Messages:
      866
      Likes Received:
      109
      I still don't know how
       
    4. Minecraftnerd234
      Offline

      Minecraftnerd234 Experienced Member

      Joined:
      May 3, 2014
      Messages:
      866
      Likes Received:
      109
      test
       
    5. Minecraftnerd234
      Offline

      Minecraftnerd234 Experienced Member

      Joined:
      May 3, 2014
      Messages:
      866
      Likes Received:
      109
      I still don't know how to make it with words on the Spoiler like a title or whatever :/ lel
       
    6. Minecraftnerd234
      Offline

      Minecraftnerd234 Experienced Member

      Joined:
      May 3, 2014
      Messages:
      866
      Likes Received:
      109
      wow this thread helped me... NOT... I had to research
       

    Share This Page