Template:Trim/doc: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
FANDOM (talk | contribs)
No edit summary
 
mNo edit summary
Line 5: Line 5:
  <nowiki>{{trim|  value }}</nowiki>
  <nowiki>{{trim|  value }}</nowiki>


<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:General Wiki templates]]</includeonly><noinclude>[[Category:Template Documentation]]</noinclude>

Revision as of 11:04, 30 August 2025

Description

This template trims whitespace from the beginning and end of the supplied value. It works by using the simple hack of filtering it through the #if parser function.

Syntax
{{trim|  value }}