You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building on the ideas of KyoriPowered/adventure-text-minimessage#178 & KyoriPowered/adventure-text-minimessage#179 , this will greatly enhance the flexibility of templates.
new syntax for templates: <template>text with "bleeded" styles of template</template>regular text
In essence, a template is no longer a string that is replaced, but a full tag.
Unlike a simple <red>, however, a template can contain its own styles, text, click events, translations, or even templates inside it.
i.e.: if <template> was defined as <red><bold>Prefix</bold>,
The first example would be equivalent to writing out:
<red><bold>Prefix</bold>text with "bleeded" styles of template</red> regular text
As previously stated, this greatly expands the flexibility of templates and improves minimesaage overall
The text was updated successfully, but these errors were encountered:
kashike
transferred this issue from KyoriPowered/adventure-text-minimessage
Nov 28, 2021
Building on the ideas of KyoriPowered/adventure-text-minimessage#178 & KyoriPowered/adventure-text-minimessage#179 , this will greatly enhance the flexibility of templates.
new syntax for templates:
<template>text with "bleeded" styles of template</template>regular text
In essence, a template is no longer a string that is replaced, but a full tag.
Unlike a simple
<red>
, however, a template can contain its own styles, text, click events, translations, or even templates inside it.i.e.: if
<template>
was defined as<red><bold>Prefix</bold>
,The first example would be equivalent to writing out:
<red><bold>Prefix</bold>text with "bleeded" styles of template</red> regular text
As previously stated, this greatly expands the flexibility of templates and improves minimesaage overall
The text was updated successfully, but these errors were encountered: