Template:Edt

From Meta, a Wikimedia project coordination wiki
Template documentation

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

Template:Tc:

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



Template:T1:

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



Template:Xpdt/25:

Expansion depth test (purge)

edt 0

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 1

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 2

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 3

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 4

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 5

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 6

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 7

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 8

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 9

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 10

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 11

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 12

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 13

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 14

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 15

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 16

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 17

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 18

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210


edt 19

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210



See also