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.

Jump to content

Template:LE/doc

From Wikipedia, the free encyclopedia

This template is used in List of most recent executions by jurisdiction.

Usage

[edit]

Old style

[edit]

{{LE|background-color (code)|Country (ISO)|Last execution date|Name|Crime|Method}}

New style

[edit]

Letters were introduced to assist screen readers.

{{LE|status (A-D)|Country (ISO)|Last execution date|Name|Crime|Method}}

MarkupRenders as
{{LE|A|AND|{{sort|1943-10-18|18 October 1943}}|Pere Areny|[[murder]]|[[firing squad]]}}
{{LE|B|BRA|{{sort|1876-04-28|28 April 1876}}|[[Francisco (slave)|Francisco]]|[[murder]]|[[hanging]]}}
{{LE|C|CMR|{{sort|1997-01-09|9 January 1997}}|Antoine Vandi Tize|[[murder]]|[[firing squad]]}}
{{LE|D|PRK|{{sort|2023-12-19|19 December 2023}}|Unnamed man|[[robbery]] / [[murder]]|public [[Execution by firing squad|firing squad]]}}
# Country Last execution date Name Crime Method
A  Andorra 18 October 1943 Pere Areny murder firing squad
B  Brazil 28 April 1876 Francisco murder hanging
C  Cameroon 9 January 1997 Antoine Vandi Tize murder firing squad
D  North Korea 19 December 2023 Unnamed man robbery / murder public firing squad

Options

[edit]

There is an optional parameter |name= to display a different country name on the country link. It is not for the name of the person.

Technical information

[edit]

Before refining the colours, field 1 of all entries should be converted to use the status code (A, B, C or D) first, according to List of most recent executions by jurisdiction § Legend.