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: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
im>MSGJ
m (moved Template:Str trim to Template:Trim: merge duplicate templates)
 
m (3 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{ {{{|safesubst:}}}#if:1|{{{1|}}}}}</includeonly><noinclude>
<includeonly>{{ {{{|safesubst:}}}#if:1|{{{x|{{{1|}}}}}}}}</includeonly><noinclude>


{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 02:49, 30 December 2024


Template documentation[view] [edit] [history] [purge]

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.