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,19 @@
include file: /magic-modules.mse-include/casting-costs/card_fields
card style:
casting cost 2:
right: { casting_cost_right_2() + nameline_offset_left_2() + nameline_offset_width_2() }
top: { casting_cost_top_2() + nameline_offset_top_2() }
width: { casting_cost_width_2() }
height: { casting_cost_height_2() + nameline_offset_height_2() }
alignment: middle right shrink-overflow
visible: { (not nameline_disabled_2()) and not casting_cost_disabled_2() }
always symbol: true
font:
name: MPlantin
italic name: MPlantin-Italic
size: { name2_font_size() }
color: black
symbol font:
name: { styling.casting_cost_mana_symbols or else "magic-mana-large" }
size: { name2_font_size() }
z index: 920