Difference between revisions of "Template:Trim"

From Zelda Dungeon Wiki
Jump to navigation Jump to search
(not sure how this works tbh, copied it from MW. Unnamed params aren't supposed to be trimmed but I guess the #if does something magical?)
 
(No difference)

Latest revision as of 04:06, June 26, 2020

[Edit Documentation]Trims whitespace from the beginning and end of the input.

Usage

{{Trim| input }}

Examples

"{{Trim| hello world }}" → "hello world"