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



YumeWiki
2,815Articles

Template:Trim/doc: Difference between revisions

m (1 revision imported)
(remove category from here)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
;Description
==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 <code>#if</code> parser function.
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 <code>#if</code> parser function.


;Syntax
==Syntax==
  <nowiki>{{trim|  value }}</nowiki>
  <nowiki>{{trim|  value }}</nowiki>


<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>__NOTOC__ [[Category:Template documentation]]</noinclude>
<includeonly>__NOEDITSECTION__</includeonly>

Latest revision as of 00:26, 12 May 2024

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