card_fields rewrite and magic-modules.mse-include (#21)

Overhauls the card_fields file to allow for template designers more freedom in manipulating data.

Adds magic-modules.mse-include, a large scale include file for building templates in a standardized way. Applying this to existing frames will be coming in future updates.
This commit is contained in:
GenevensiS
2024-05-25 00:57:47 +02:00
committed by GitHub
parent 44b059e2f7
commit fd4b8e4c89
1195 changed files with 13325 additions and 3633 deletions

View File

@@ -0,0 +1,10 @@
#### To use this include in a template, add the following in the template headers:
depends on:
package: magic-modules.mse-include
version: 2024-05-20
#### Also add this among the styling field section,
#### (styling fields will appear in the order you place them).
#### This adds a package option to select an alternate mana font for the rule text,
#### And another to modify the dimensions of the textbox.
include file: /magic-modules.mse-include/texts/styling_fields

View File

@@ -0,0 +1,8 @@
styling field:
type: package choice
name: text box mana symbols
description: Mana symbols used inside rule text.
styling field:
type: text
name: chop text box
description: Formatted as "X,Y,Z". Shrinks the rule textbox X pixels from the top, Y from the bottom and Z from the right.