Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24756bebe13452a

Jump to content

Template:File extension/doc

From Wikipedia, the free encyclopedia

Outputs the file extension of the filename indicated by parameter {{{1}}}. In the File: namespace, this parameter defaults to {{PAGENAME}}. In all other namespaces, the default output is an empty string. Any uppercase letters in the file extension are changed to lowercase.

Usage

[edit]
Input Output Notes
{{file extension}}(empty string output because current page is in the Template: namespace)
{{file extension|Makefile}}(empty string output because specified filename has no extension)
{{file extension|I-35.svg}}svgInput filename is acceptable with or without File: namespace prefix.
{{file extension|File:George H. Sharpe.jpg}}jpg
{{file extension|UNMSM logo1.PNG}}pngUppercase is changed to lowercase
{{file extension|Wikimedia Logo.jpeg}}jpegjpeg is not changed to jpg