Post by cervantes3 on Feb 17, 2023 17:05:25 GMT
Hello there! I've used MSE for a very long time, but I've recently started getting into template creation, and I was wondering if anyone could help me out with a backend issue I'm having.
So the basic idea of the template is it's like a "rebooted" Magic card template that incorporates some changes Mark Rosewater said he'd want to make a long time ago.
![]()

I've been pretty happy with what I've got so far, except for the fact that the templating for most keyword abilities is kind of broken.

I'm pretty sure I can fix this if I find a way to set the card type using the new icon fields I created, but I'm not exactly sure how to go about doing that.
For reference, here's the field and style code for the icons:
So the basic idea of the template is it's like a "rebooted" Magic card template that incorporates some changes Mark Rosewater said he'd want to make a long time ago.

I've been pretty happy with what I've got so far, except for the fact that the templating for most keyword abilities is kind of broken.

I'm pretty sure I can fix this if I find a way to set the card type using the new icon fields I created, but I'm not exactly sure how to go about doing that.
For reference, here's the field and style code for the icons:
extra card field:
type: choice
name: type symbol 1
save value: true
choice: none
choice: basic
choice: legendary
extra card field:
type: choice
name: type symbol 2
save value: true
choice: none
choice: artifact
choice: creature
choice: enchantment
choice: land
choice: planeswalker
choice: sorcery
extra card field:
type: choice
name: type symbol 3
save value: true
choice: none
choice: artifact
choice: enchantment
choice: instant
extra card field:
type: choice
name: type symbol 4
save value: true
choice: none
choice: instant
extra card style:
type symbol 1:
left: 9
top: 237
width: 40
height: 49
z index: 99
render style: image
choice images:
none: {""}
legendary: { "/magic-reboot-symbols.mse-include/legendary.png" }
basic: { "/magic-reboot-symbols.mse-include/basic.png" }
extra card style:
type symbol 2:
left: 9
top: 287
width: 40
height: 49
z index: 99
render style: image
choice images:
none: {""}
artifact: { "/magic-reboot-symbols.mse-include/artifact.png" }
creature: { "/magic-reboot-symbols.mse-include/creature.png" }
enchantment: { "/magic-reboot-symbols.mse-include/enchantment.png" }
land: { "/magic-reboot-symbols.mse-include/land.png" }
planeswalker: { "/magic-reboot-symbols.mse-include/planeswalker.png" }
sorcery: { "/magic-reboot-symbols.mse-include/sorcery.png" }
extra card style:
type symbol 3:
left: 9
top: 337
width: 40
height: 49
z index: 99
render style: image
choice images:
none: {""}
instant: { "/magic-reboot-symbols.mse-include/instant.png" }
artifact: { "/magic-reboot-symbols.mse-include/artifact.png" }
enchantment: { "/magic-reboot-symbols.mse-include/enchantment.png" }
extra card style:
type symbol 4:
left: 9
top: 387
width: 40
height: 49
z index: 99
render style: image
choice images:
none: {""}
instant: { "/magic-reboot-symbols.mse-include/instant.png" }
Thanks in advance!