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
You can also use other modifiers like `list` and `trans`:
63
92
64
93
```php
@@ -91,15 +120,17 @@ Formats with additional parameters merged with constructor parameters. Construct
91
120
92
121
## Template Syntax
93
122
94
-
Placeholders follow the format `{{name}}` where `name` is a valid parameter key. Modifiers can be added after a pipe: `{{name|modifier}}`.
123
+
Placeholders follow the format `{{name}}` where `name` is a valid parameter key. Modifiers can be added after a pipe: `{{name|modifier}}`. Multiple modifiers can be chained: `{{name|modifier1|modifier2}}`.
95
124
96
125
**Rules:**
97
126
98
127
- Names must match `\w+` (letters, digits, underscore)
99
128
- Names are case-sensitive
100
129
- No whitespace inside braces or around the pipe
130
+
- Multiple pipes are separated by `|` and applied sequentially
131
+
- Escaped pipes (`\|`) within modifiers are treated as literal characters, not separators
0 commit comments