Linking MTG cards via forum posts
Submitted 3 years, 11 months ago by
NebuchadnezzarHS
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.
Leave a Comment
You must be signed in to leave a comment. Sign in here.
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.
Already a thing, if you use
[mtgcard]Sylvan Library[/mtgcard]
Sylvan Library
or
[mtgcardimg]Sylvan Library[/mtgcardimg]
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 ~
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.
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
while [mtgcardimg]30682[/mtgcardimg] is this
~ Have an idea? Found a bug? Let us know! ~
~ Join us on Discord ~
That's amazing, thank you! Enjoy a freshly squeezed snowball on me! ❄️
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
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
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 =)
Perfect documentation, much better than my own when writing code whilst programming. Kudos!
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 ~
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? 😋
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".