plugin-card-layers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin-card-layers [2024/12/03 11:56] – [Badge Text] banerjeesw | plugin-card-layers [2025/06/27 22:41] (current) – [Badge Notetags] isiahgames | ||
---|---|---|---|
Line 20: | Line 20: | ||
===== Layer Properties ===== | ===== Layer Properties ===== | ||
- | Layers | + | Card Art Layer elements |
| **Name** | | **Name** | ||
- | | **Priority** | + | | **Priority** |
| **Image** | | **Image** | ||
| **Position Offset** | | **Position Offset** | ||
Line 107: | Line 107: | ||
===== Badges ===== | ===== Badges ===== | ||
- | Badges are special components that have an image property and a text property. Instead of having a Priority, they' | + | Badges are special components that have an image property and a text property. Badges have the following properties: |
| **Name** | The name of the Badge. | | | **Name** | The name of the Badge. | | ||
- | | **Layer Name** | The Layer the Badge is attached to. | | + | | **Priority** | A number representing |
| **Image** | The image of the Badge, located in img/ | | **Image** | The image of the Badge, located in img/ | ||
| **Position Offset** | The offset position of the Badge. | | | **Position Offset** | The offset position of the Badge. | | ||
Line 158: | Line 158: | ||
card.cardVar(1) | card.cardVar(1) | ||
</ | </ | ||
+ | |||
+ | ===== Badge Notetags ===== | ||
+ | |||
+ | Badge notetags work similarly to Layer notetags and use the following syntax: | ||
+ | |||
+ | < | ||
+ | BadgeName (Priority): TextCode | ImageName | X Y | Condition | ||
+ | </ | ||
+ | |||
+ | | **BadgeName** | ||
+ | | **Priority** | A number from 1 to 500 that overrides the default Priority of the badge. | | ||
+ | | **TextCode** | The code that returns the text for the Badge to display. | | ||
+ | | **ImageName** | The name of the image file to use for the Badge. Can have spaces. | | ||
+ | | **X** | The new X offset | | ||
+ | | **Y** | The new Y offset | | ||
+ | | **Condition** | The new condition for the Badge. | | ||
+ | |||
+ | Just like with Layers, you can use notetags to define entirely new Badges or override the values defined through the Custom Badges plugin parameter. | ||
===== Conditions ===== | ===== Conditions ===== | ||
plugin-card-layers.1733223397.txt.gz · Last modified: 2024/12/03 11:56 by banerjeesw