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:Article link/testcases

From Wikipedia, the free encyclopedia

Normal usage

[edit]

Basic

[edit]
1 section
{{Article link|Some section}}
{{Article link}} § Some section
{{Article link/sandbox}} § Some section
2 sections
{{Article link|Some section 1|Some section 2}}
{{Article link}} §§ Some section 1 and Some section 2
{{Article link/sandbox}} §§ Some section 1 and Some section 2

Specific

[edit]
3 sections (uses commas)
{{Article link|Some section 1|Some section 2|Some section 3}}
{{Article link}} §§ Some section 1, Some section 2, and Some section 3
{{Article link/sandbox}} §§ Some section 1, Some section 2, and Some section 3
4 sections
{{Article link|1|2|3|4}}
{{Article link}} §§ 1, 2, 3, and 4
{{Article link/sandbox}} §§ 1, 2, 3, and 4
5 sections
{{Article link|1|2|3|4|5}}
{{Article link}} §§ 1, 2, 3, 4, and 5
{{Article link/sandbox}} §§ 1, 2, 3, 4, and 5
6 sections
{{Article link|1|2|3|4|5|6}}
{{Article link}} §§ 1, 2, 3, 4, 5, and 6
{{Article link/sandbox}} §§ 1, 2, 3, 4, 5, and 6
7 sections
{{Article link|1|2|3|4|5|6|7}}
{{Article link}} §§ 1, 2, 3, 4, 5, 6, and 7
{{Article link/sandbox}} §§ 1, 2, 3, 4, 5, 6, and 7
8 sections
{{Article link|1|2|3|4|5|6|7|8}}
{{Article link}} §§ 1, 2, 3, 4, 5, 6, 7, and 8
{{Article link/sandbox}} §§ 1, 2, 3, 4, 5, 6, 7, and 8

Invalid usage

[edit]
0 sections (too few)
{{Article link}}
{{Article link}} § {{{1}}}
{{Article link/sandbox}} {{Section link}}: required section parameter(s) missing
9 sections (too many)
{{Article link|1|2|3|4|5|6|7|8|9}}
{{Article link}} §§ 1, 2, 3, 4, 5, 6, 7, and 8
{{Article link/sandbox}} §§ 1, 2, 3, 4, 5, 6, 7, and 8