The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.

Template:Trim/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Kaseki
(Created page with "{{WikipediaTemplate}}")
 
(Updated documentation, categorization, {{sister}})
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{WikipediaTemplate}}
{{Documentation subpage}}
This template trims leading and trailing (but not interior) whitespace from a string. The string should be passed as the first unnamed parameter. The parameter must be named |1= if its value contains a = character.
{{Adapted from Wikipedia|Template:Trim}}
 
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Formatting templates]]
{{sister|poewiki}}
}}

Latest revision as of 18:46, 2 January 2025

This subpage provides documentation for Template:Trim.

This template trims leading and trailing (but not interior) whitespace from a string. The string should be passed as the first unnamed parameter. The parameter must be named |1= if its value contains a = character.

This template was adapted from Template:Trim on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.