From 888cbde265d32403daebd0b069d5b502e61935c8 Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Fri, 17 Feb 2023 22:00:23 +0100 Subject: [PATCH] Update formatter expansion --- Placeholders.md | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/Placeholders.md b/Placeholders.md index 29bee18..28d2905 100644 --- a/Placeholders.md +++ b/Placeholders.md @@ -695,28 +695,33 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can - ### **Formatter** > /papi ecloud download Formatter - More info about this expansion can be found on the [GitHub-Repository](https://github.com/Andre601/Formatter-Expansion). + More info about this expansion can be found on the [GitHub-Repository](https://codeberg.org/Andre601/Formatter-Expansion). `[]` is optional and `<>` is required. ``` %formatter_number_format_% - %formatter_number_format_[locale]:[format]_% + %formatter_number_format_[locale]:[pattern]_% %formatter_number_from:_to:_% # Converts from one time unit to another - %formatter_number_time_% - %formatter_number_time_fromSeconds_% # Handles number as seconds - %formatter_number_time_fromSecs_% # Handles number as seconds - %formatter_number_time_fromMinutes_% # Handles number as minutes - %formatter_number_time_fromMins_% # Handles number as minutes - %formatter_number_time_fromHours_% # Handles number as hours - %formatter_number_time_fromHrs_% # Handles number as hours + %formatter_number_round_% + %formatter_number_[precision]:[roundingmode]_% + + %formatter_number_shorten_% + + %formatter_number_time_% + %formatter_number_time__% # Handles number as + + %formatter_text_length_% - %formatter_text_replace___% - %formatter_text_substring_[start]:[end]_% - %formatter_text_uppercase_% %formatter_text_lowercase_% + + %formatter_text_replace_[target]_[replacement]_% + + %formatter_text_substring_[start]:[end]_% + + %formatter_text_uppercase_% ``` ----