Template:Edt
This template provides an expansion depth test for a page with the name given as parameter 1 (default: {{SUBJECTPAGENAME}}
).
The expansion depth limit is 40. The item labeled "edt 0" shows the result if one level less is available than when directly transcluding the tested template. This is due to the call of Edt itself.
Subsequent items have nested calls of 1x before calling the tested template. Each nesting counts for 2, which are subtracted from the 39. Edt 20 would always give {{Expansion depth limit exceeded|1}}.
Depending on the wikitext that is investigated, the error message may show up in various ways, or if it is produced in a parameter of a template, parser function, html format string, etc., the error message may not show up but affect the result.
Examples
Expansion depth test (purge)
edt 0
in
edt 1
in
edt 2
in
edt 3
in
edt 4
in
edt 5
in
edt 6
in
edt 7
in
edt 8
in
edt 9
in
edt 10
in
edt 11
in
edt 12
in
edt 13
in
edt 14
in
edt 15
in
edt 16
in
edt 17
in
edt 18
in
edt 19
in
Expansion depth test (purge)
edt 0
start-1-end
edt 1
start-1-end
edt 2
start-1-end
edt 3
start-1-end
edt 4
start-1-end
edt 5
start-1-end
edt 6
start-1-end
edt 7
start-1-end
edt 8
start-1-end
edt 9
start-1-end
edt 10
start-1-end
edt 11
start-1-end
edt 12
start-1-end
edt 13
start-1-end
edt 14
start-1-end
edt 15
start-1-end
edt 16
start-1-end
edt 17
start-1-end
edt 18
start-1-end
edt 19
start-1-end
Expansion depth test (purge)
edt 0
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 1
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 2
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 3
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 4
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 5
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 6
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 7
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 8
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 9
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 10
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 11
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 12
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 13
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 14
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 15
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 16
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 17
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 18
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
edt 19
- if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
- 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
See also
- w:Template:Transclusion depth test
- Template:Edt/PLNConvert (another test)