Template:Trim: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
m (1 revision: Navboxes)
m (3 revisions imported)
 
(One intermediate revision by one other user 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.