Template talk:Infobox phantom
Use for other digital clients
I think it would be good to use this template for Shandalar, MTGO and likely Duels in the future. Have gone back to using the "Set" one for these, but that's not ideal for the same reasons that this template was created. Issue is that currently it defaults to "Arena Preconstructed Decks" as a header for the prev/next boxes.
If I've interpreted things correctly, updating the template to something like this:
| header14= {{{platform|}}} | header15= {{#if:{{{prev|}}}{{{next|}}}|''[[{{{platform|}}}]]'' [[Preconstructed]] decks}}
should work. I'm hesitant to make this change, however, as I'm worried that it might break all the existing pages using the template. I'll go through and manually update everything if needed, but I suspect there must be better way around it.
Is there a way to have it so it defaults to the Arena link? Then if you specify another platform then it will swap that in. I was looking at how the template will print N/A in the prev/next boxes if you don't specify another page, but I couldn't get my head around how exactly that function could be incorporated for this purpose.
My other thought was to clone this whole template and have separate ones for MTGO, Shandalar etc, but that seems like a bit of an inelegant solution as well. Granted, this would allow specific tweaks to be made for each. Probably Shandalar would benefit the most from that, but then I've currently only got 15 separate pages for that planned and having it's own bespoke template is pretty overkill. --Beatsandskies (talk) 22:06, 4 May 2025 (UTC)
- I'm a little unclear on the current status of this project, but it looks like this is back into use on many decks. (And looks pretty solid!) I would recommend updating the documentation which still says this is a TEST template though, unless I'm misinterpreting where the project stands.
- If you're still looking for an answer to your question, you can set a default value for any parameter with
{{{parametername|defaultvalue}}}
- that's what the | in parameters are actually there for even though usually the default is a blank haha. So you could use{{{platform|''[[Magic Arena]]''}}}
to make Arena the default if platform is not provided. - Side note, I noticed for many decks (or at least where I happened to start browsing through them), the "prev next" options are the same as the prev/next links on the "series" row above, making it a bit redundant. Perhaps some of the decks could forego that section. But, I'm not really familiar with this type of release, so whatever you judge best. Nice work!
- - jerodast (talk) 07:44, 18 August 2025 (UTC)