Warning: You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more.
Log in or
create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision |
Your text |
| Line 15: |
Line 15: |
| ===Examples=== | | ===Examples=== |
| See examples at [[Template:Color]] | | See examples at [[Template:Color]] |
|
| |
| ==remove_trailing_colon==
| |
| Remove's the ":" character from the end of a string
| |
|
| |
| ===Examples===
| |
| <pre>{{#invoke:Utilities|remove_trailing_colon|A Fate's Tale:}}</pre>
| |
|
| |
| {{#invoke:Utilities|remove_trailing_colon|A Fate's Tale:}}
| |
|
| |
| ==process_variables==
| |
| Processes a localized string by replacing variable patterns with their corresponding values.
| |
|
| |
| ===Parameters===
| |
| * string_key - The localization key used to retrieve the base string (via Module:Lang)
| |
|
| |
| * item_name - The name of the item used to look up variable values (via Module:ItemData)
| |
|
| |
| ===Examples===
| |
| Active Item descriptions in [[Template:Active Items]]
| |
| <pre>{{#invoke:Utilities|process_variables|upgrade_thermal_detonator_desc|Alchemical Fire}}</pre>
| |
|
| |
| {{#invoke:Utilities|process_variables|upgrade_thermal_detonator_desc|Alchemical Fire}}
| |