×
Create a new article
Write your page title here:
We currently have 3,023 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,023Articles

Template:Trim: Difference between revisions

m (1 revision imported)
(add category)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{{1}}}|}}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|{{{1}}}|}}</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}
[[Category:Formatting templates]]
</noinclude>

Latest revision as of 00:26, 12 May 2024

Documentation (for the above template, sometimes hidden or invisible)

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 }}



Visit Template:Trim/doc to edit this text! (How does this work?)