Logo Albion iconAlbion Online Deadlock iconDeadlock GW2 iconGuild Wars 2 TL iconThrone & Liberty

Difference between revisions of "Trim/Documentation"

m (Protected "Template:Trim/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
Line 10: Line 10:
 
<pre>{{Trim|    Whitespaces on the sides    }}</pre>
 
<pre>{{Trim|    Whitespaces on the sides    }}</pre>
 
{{Trim|    Whitespaces on the sides    }}
 
{{Trim|    Whitespaces on the sides    }}
[[Category:Formatting templates]]
 

Latest revision as of 00:23, 14 February 2022

Description

Removes whitespaces from the sides of the text.

{{Trim|<unnamed param 1>}}

Parameters

unnamed param 1
The text to be trimmed.

Example

{{Trim|     Whitespaces on the sides    }}

Whitespaces on the sides

Get MetaBattle Premium
Enjoy an ad-free experience & support the website, for less than $1 per month! Upgrade to Premium
Split Metabattle Logo