Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Trim/doc: Difference between revisions

Template page
fandomwiki>@DeletedUser40302604
m 1 revision imported
m 3 revisions imported: Try to import fandom pages (manual dump, 9)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{doc/start}}
{{doc/start}}
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 <tt>#if</tt> 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.


Usage:
Usage:
  <nowiki>{{trim|  value }}</nowiki>
  <nowiki>{{trim|  value }}</nowiki>
{{doc/end}}
{{doc/end}}