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:Wrapper/testcases

From Wikipedia, the free encyclopedia
Test 1 – no args (Expected: uncaught error; curly bracket jungle)
{{Wrapper}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 2 – arg 1 = Wikibreak (Expected: "Any field from...")
{{Wrapper|Wikibreak}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 3a – all (Expected: "All fields from...")
{{Wrapper|Wikibreak|all=yes}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 3b – all (Expected: "All fields from...")
{{Wrapper|Wikibreak|all=y}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 3c – all (Expected: "All fields from...")
{{Wrapper|Wikibreak|all=1}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 3d – all (Expected: "Any field from...")
{{Wrapper|Wikibreak|all=no}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 4a – exclude (Expected: "Any field from <template-name> (except rev) ...")
{{Wrapper|Sfnlink|exclude=rev}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 4b – exclude (Expected: "All fields from <template-name> (except lang) ...")
{{Wrapper|Sfnlink|exclude=lang}}

{{Wrapper}}

{{Wrapper/sandbox}}

Test 4c – all, exclude (Expected: "All fields from <template-name> (rev and lang) ...")
{{Wrapper|Sfnlink|all=1 |exclude=''rev'' and ''lang''}}

{{Wrapper}}

{{Wrapper/sandbox}}