Feedback Realm

Feedback

9 Characters

Linking MTG cards via forum posts

Submitted 3 years, 11 months ago by

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.

  • NebuchadnezzarHS's Avatar
    Supporter 2035 1411 Posts Joined 06/14/2019
    Posted 3 years, 11 months 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.

    0
  • sinti's Avatar
    Senior Writer Chocolate Cake 2070 2792 Posts Joined 10/20/2018
    Posted 3 years, 11 months 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 :)

    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    0
  • NebuchadnezzarHS's Avatar
    Supporter 2035 1411 Posts Joined 06/14/2019
    Posted 3 years, 11 months 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

    0
  • sinti's Avatar
    Senior Writer Chocolate Cake 2070 2792 Posts Joined 10/20/2018
    Posted 3 years, 11 months 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

    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    2
  • NebuchadnezzarHS's Avatar
    Supporter 2035 1411 Posts Joined 06/14/2019
    Posted 3 years, 11 months ago

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

    0
  • Fluxflashor's Avatar
    CEO 2015 3142 Posts Joined 10/19/2018
    Posted 3 years, 11 months 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 Games

    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
    Supporter 2035 1411 Posts Joined 06/14/2019
    Posted 3 years, 11 months ago

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

    0
  • sinti's Avatar
    Senior Writer Chocolate Cake 2070 2792 Posts Joined 10/20/2018
    Posted 3 years, 11 months 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?:'(

    ~ Have an idea? Found a bug? Let us know! ~
    ~ Join us on Discord ~

    0
  • NebuchadnezzarHS's Avatar
    Supporter 2035 1411 Posts Joined 06/14/2019
    Posted 3 years, 11 months 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? 😋

    0
  • NebuchadnezzarHS's Avatar
    Supporter 2035 1411 Posts Joined 06/14/2019
    Posted 3 years, 8 months ago

    Is it possible to link to the golden version of Hearthstone cards? @Flux, please also post the internal documentation for Hearthstone BBCode here? Thanks in advance! 😉

    0
  • FrostyFeet's Avatar
    Senior Writer Derpcorn 2170 1449 Posts Joined 10/20/2018
    Posted 3 years, 8 months ago
    Quote From NebuchadnezzarHS

    Is it possible to link to the golden version of Hearthstone cards? @Flux, please also post the internal documentation for Hearthstone BBCode here? Thanks in advance! 😉

    Seems a bit off-topic question since the thread was originally about MTG, but anyway the answer is yes. Sinti's BBCode guide has pretty much all the tips and tricks that we currently have, except Set="Core 2021".

    2
  • Leave a Comment

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