• Please note that this section is for questions regarding the forum itself - it is not for fan game-related questions. If you have a question about a fan game, ask in the appropriate thread.

  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Suggestion: Button parse?

#Not Important

All hail the wishmaker
  • 910
    Posts
    5
    Years
    I have been coding in HTML 5 for a while now and thought:
    How cool would it be if we had buttons on Pokecommunity?
    And I thought about it a lot (mostly how I could use it) ...
    So here it is:
    Adding the button
    You would just put the text you would like the button to have inside
    Code:
    [PLAIN][button]text[/button][/PLAIN]
    Styling the button
    It would be like
    Code:
    [PLAIN][button=(STYLE HERE)]text[/button][/PLAIN]
    Thanks in advance
     
    Besides the semantics of HTML5, why do you need a button? You can use something like [div="css"] to style something like a button if you like. It's not like you can add a click action anyways.
     
    Besides the semantics of HTML5, why do you need a button? You can use something like [div="css"] to style something like a button if you like. It's not like you can add a click action anyways.

    It would be cool if some posts that had links in them had a button instead of just a link...

    You could do the click action for links like this:
    [url=pokecommunity.com][Button]Go to pokecommunity![/button][/url]
     
    While I as a web designer totally understand the reason behind semantic markup in HTML, BBCode isn't that. It's a lightweight simplified form for formatting posts, which is why it lacks many features that are taken for granted in HTML. Adding tags that have no purpose in a simple static language like BBCode solely to replicate the semantics of HTML isn't worth it.

    If you want something that looks like a button, nothing's stopping you from either styling it yourself with [div] or using [class] with Bootstrap classes, e.g., [class="btn btn-primary"].

    Click me!
     
    While I as a web designer totally understand the reason behind semantic markup in HTML, BBCode isn't that. It's a lightweight simplified form for formatting posts, which is why it lacks many features that are taken for granted in HTML. Adding tags that have no purpose in a simple static language like BBCode solely to replicate the semantics of HTML isn't worth it.

    If you want something that looks like a button, nothing's stopping you from either styling it yourself with [div] or using [class] with Bootstrap classes, e.g., [class="btn btn-primary"].

    Click me!

    Wow, thanks!
     
    Back
    Top