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:
10
data/magic-modules.mse-include/corners/readme.txt
Normal file
10
data/magic-modules.mse-include/corners/readme.txt
Normal 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, unindented, before the card style section:
|
||||
include file: /magic-modules.mse-include/corners/card_fields
|
||||
#### For DFC or TFC templates, instead override the faces_coordinates function, and use:
|
||||
include file: /magic-modules.mse-include/corners/card_fields_dfc
|
||||
include file: /magic-modules.mse-include/corners/card_fields_tfc
|
||||
Reference in New Issue
Block a user