Difference between revisions of "Template:Trim"

From Portal Knights Wiki
Jump to: navigation, search
(<default import>)
 
(No difference)

Latest revision as of 19:32, 12 February 2016

Template-info.png Documentation

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.

Usage:

{{trim|  value }}
https://portalknights.gamepedia.com/Template:Trim?diff=223
portalknights.gamepedia.com
crawl=CC-MAIN-2021-10
45883
application/http; msgtype=response
sha1:2LL3Q2NEIUB3ZNXDDQ6BUUAHAF7YJK6W
<urn:uuid:9cb237de-2212-4a31-837f-8283abbb2c73>
2021-02-25T11:11:28Z
151.101.128.194
text/html
sha1:OE7AUZFOARWDCQOLLF2VWHUKOVCT6XHH
<urn:uuid:1998944c-908d-4327-a3f8-d6297df14b8d>
https://portalknights.gamepedia.com/Template:Trim?diff=223
response
<urn:uuid:655093ec-f6ee-4714-bd62-0dd06b1f1e89>
isPartOf: CC-MAIN-2021-10
publisher: Common Crawl
description: Wide crawl of the web for February/March 2021
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-244.ec2.internal
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/