Linking MTG cards via forum posts

Feature Request
  • NebuchadnezzarHS's Avatar
    Face Collector 1090 288 Posts Joined 06/14/2019
    Posted 2 weeks, 1 day ago

    I think it would be an amazing feature to also add links to MTG cards just like it is possible now for Hearthstone and Runeterra IMO.

    Are there any plans to add such cool feature in the near future? I certainly hope so.

    ❄️THE END OF COVID-19 IS COMING ! ❄️

    0
  • sinti's Avatar
    Global Moderator Excited Elf 1710 2069 Posts Joined 10/20/2018
    Posted 2 weeks, 1 day ago

    Already a thing, if you use

    [mtgcard]Sylvan Library[/mtgcard]

    Sylvan Library

    or

    [mtgcardimg]Sylvan Library[/mtgcardimg]

    Sylvan Library Card Image

    I guess we are missing the buttons in the editor for it thought :)

    Madness at the Darkmoon Faire: Out of Cards Expansion Guide
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    0
  • NebuchadnezzarHS's Avatar
    Face Collector 1090 288 Posts Joined 06/14/2019
    Posted 2 weeks, 1 day ago

    Ah, very nice! The buttons are indeed missing and how do we pick a specific card art? Or to be more precise; a card from a specific expansion with specific art?

    For instance, the card Hymn to Tourach from Fallen Empires has four distinct artworks and I would like to choose 1 of them specifically for linking to a forum post. The next one below is not what I want, but the last one is though.

    Hymn to Tourach Card Image

    ❄️THE END OF COVID-19 IS COMING ! ❄️

    0
  • sinti's Avatar
    Global Moderator Excited Elf 1710 2069 Posts Joined 10/20/2018
    Posted 2 weeks, 1 day ago

    Use the Card ID instead of its name (same goes for HS, LOR). You can find the ID in the card's URL on its card page.

    So [mtgcardimg]17612[/mtgcardimg] is this

    Hymn to Tourach Card Image

    while [mtgcardimg]30682[/mtgcardimg] is this

    Hymn to Tourach Card Image

    Madness at the Darkmoon Faire: Out of Cards Expansion Guide
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    2
  • NebuchadnezzarHS's Avatar
    Face Collector 1090 288 Posts Joined 06/14/2019
    Posted 2 weeks, 1 day ago

    That's amazing, thank you! Enjoy a freshly squeezed snowball on me! ❄️

    ❄️THE END OF COVID-19 IS COMING ! ❄️

    0
  • Fluxflashor's Avatar
    Administrator 1570 1774 Posts Joined 10/19/2018
    Posted 2 weeks, 1 day ago

    I'll post our internal documentation for it. Never made this public since the editor still needs buttons.


    How to use Magic BBCode. For the purposes of this document, the "magic" bbcode tag names have been replaced by "example".


    Documentation - MtgCard

    The tag name is "mtgcard". It must have a start and end tag.

    [example]CardName[/example]

    Options can be provided with this bbcode with the following format:

    [example option="value"]CardName[/example]


    Options

    • text
      • The text used for the card link. This will replace the card's name which is used as default.
    • set
      • The 3 letter code for the card set for this card.
      • Examples:
        • M21 - Core Set 2021
        • JMP - Jumpstart
        • AKR - Amonkhet Remastered
        • ZNR - Zendikar Rising
        • LEA - Alpha
    • num
      • The exact number of the card.
      • You should use this with set for the best results.

    Basic Usage

    The contents of the tag is either the card name or the id of the card in our database.

    If you want to use the database card id, these are the numeric id found in the card's URL.


    Link to a card

    [example]Plains[/example]

    Plains


    Link to a specific version of a card

    Example below is a Plains from Eldraine

    [example set="ELD"]Plains[/example]

    Example below is the specific Plaines from Eldraine.

    [example set="ELD" num="250"]Plains[/example]

    If you were to only use the "num" option for Plains, there is always a chance that there is another Plains with the provided number which means you may not get the intended result. Using the set code is the best option.



    Documentation - MtgCardImg

    This embeds a card image for Magic the Gathering. If we are missing the image, we will display a text version of the card instead.

    The tag name is "mtgcardimg". It must have a start and end tag.

    [example]CardName[/example]

    Options can be provided with this bbcode with the following format:

    [example option="value"]CardName[/example]

    If a certain option does not accept a value, the option only needs to be present within the bbcode.

    [example option_with_value="value" option_without_value]CardName[/example]


    Options

    • text=value
      • The text used for the card link. This will replace the card's name which is used as default.
    • set=value
      • The 3 letter code for the card set for this card.
      • Examples:
        • M21 - Core Set 2021
        • JMP - Jumpstart
        • AKR - Amonkhet Remastered
        • ZNR - Zendikar Rising
        • LEA - Alpha
    • num=value
      • The exact number of the card.
      • You should use this with set for the best results.
    • size=value
      • The width in pixels of the card image.
      • This defaults to 265. We do not recommend changing this because Magic cards do not scale well.
    • discuss
      • Adds a link to a card's discussion thread in a button below the card image.
      • These do not exist for older cards. If the card does not have an associated thread, it will not provide the button.
    • rating
      • Adds a set of rating stars below a card's image.

    Basic Usage

    The contents of the tag is either the card name or the id of the card in our database.

    If you want to use the database card id, these are the numeric id found in the card's URL.


    A card image

    [example]Plains[/example]


    A specific card image

    Example below is a Plains from Eldraine

    [example set="ELD"]Plains[/example]

    Example below is the specific Plaines from Eldraine.

    [example set="ELD" num="250"]Plains[/example]

    If you were to only use the "num" option for Plains, there is always a chance that there is another Plains with the provided number which means you may not get the intended result. Using the set code is the best option.

    Founder, Out of Cards

    Follow me on Twitch and Twitter.
    If you are planning on playing WoW on US realms, consider using my recruit link =)

    2
  • NebuchadnezzarHS's Avatar
    Face Collector 1090 288 Posts Joined 06/14/2019
    Posted 2 weeks, 1 day ago

    Perfect documentation, much better than my own when writing code whilst programming. Kudos!

    ❄️THE END OF COVID-19 IS COMING ! ❄️

    0
  • sinti's Avatar
    Global Moderator Excited Elf 1710 2069 Posts Joined 10/20/2018
    Posted 2 weeks ago

    I mean we do have pinned thread about using BBCode on the site in this forum section, some stuff from Flux's documentation is missing there tho :P I guess ppl are just not aware this exists?:'(

    Madness at the Darkmoon Faire: Out of Cards Expansion Guide
    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    0
  • NebuchadnezzarHS's Avatar
    Face Collector 1090 288 Posts Joined 06/14/2019
    Posted 1 week, 6 days ago

    I'm happy the feature already was implemented before I asked. The GUI should be self explanatory (which it currently is), so if the extra buttons are added there is little need to read the documentation.

    I mean, how often (me: almost never) do we all read the manual when buying a new gadget/appliance anyways? 😋

    ❄️THE END OF COVID-19 IS COMING ! ❄️

    0
  • Leave a Comment

    You must be signed in to leave a comment. Sign in here.

    Remove Ads - Go Premium