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



YumeWiki
3,035Articles

Template:Trim/doc: Difference between revisions

m (Oh0kaYthen86 moved page Braingirl Wiki:Trim/doc to Template:Trim/doc)
(remove category from here)
 
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>__NOTOC__ [[Category:Template documentation]]</noinclude>
</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 }}