Difference between revisions of "Stratonian"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#vardefineecho:text|hello:world | + | {{#vardefineecho:text|hello: world}}<br><br> |
− | + | {{#if:{{#pos:{{#var:text}}|:}}<!-- if ':' is in the text | |
− | + | -->|{{ucfirst:{{#explode:{{#var:text}}|:|0}}}}<!-- format string before ':' | |
+ | -->:{{sc|{{#sub:{{#var:text}}|{{#expr:{{#pos:{{#var:text}}|:}}+1}}}}}}<!-- format string after ':' | ||
+ | -->|{{sc|{{#var:text}}}}}}<!-- else format as normal --> |
Revision as of 21:47, 30 August 2023
hello: world
Hello:World