Template:Trim/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(Updated documentation, categorization, {{sister}})
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{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}}
{{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.