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: a21f0485f9f699fe

Jump to content

Module:ConvertIB/doc

From Wikipedia, the free encyclopedia

A Lua module that wraps {{convert}}, designed for infoboxes. It implements:

Usage

[edit]

{{#invoke:ConvertIB|convert}}

Like {{convinfobox}}, accepts alternating series of pairs of [blank|value], unit . When a unit has a non-blank value, it will get converted to all other units that do have blank values
Accepts all named parameters that {{convert}} does
Accepts groups of multiple units (e.g., "5 ft 6 in") that {{convert}} does

{{#invoke:ConvertIB|area}}

Implements {{Infobox settlement/areadisp}}, automatically converting area units, using the output order specified by MOS:UNIT

{{#invoke:ConvertIB|length}}

Implements {{Infobox settlement/lengthdisp}}, automatically converting length units, using the output order specified by MOS:UNIT

{{#invoke:ConvertIB|density}}

Implements {{Infobox settlement/densdisp}}, parsing population and area, producting density in inhabitants per square km and square mile.