Template:Edt

From SacredWiki
Jump to navigation Jump to search
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

Template:T1

edt 1

Template:T1

edt 2

Template:T1

edt 3

Template:T1

edt 4

Template:T1

edt 5

Template:T1

edt 6

Template:T1

edt 7

Template:T1

edt 8

Template:T1

edt 9

Template:T1

edt 10

Template:T1

edt 11

Template:T1

edt 12

Template:T1

edt 13

Template:T1

edt 14

Template:T1

edt 15

Template:T1

edt 16

Template:T1

edt 17

Template:T1

edt 18

Template:T1

edt 19

Template:T1



Template:Xpdt/25:

Expansion depth test (purge)

edt 0

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 012345678910111213141516171819{{{Expansion depth limit exceeded}}}191817161514131211109876543210


edt 1

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415161718{{{Expansion depth limit exceeded}}}1817161514131211109876543210


edt 2

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 01234567891011121314151617{{{Expansion depth limit exceeded}}}17161514131211109876543210


edt 3

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 012345678910111213141516{{{Expansion depth limit exceeded}}}161514131211109876543210


edt 4

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 0123456789101112131415{{{Expansion depth limit exceeded}}}1514131211109876543210


edt 5

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 01234567891011121314{{{Expansion depth limit exceeded}}}14131211109876543210


edt 6

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021222324251252423222120191817161514131211109876543210
  • 1x: 012345678910111213{{{Expansion depth limit exceeded}}}131211109876543210


edt 7

Template:Xpdt/25:

  • if: 012345678910111213141516171819202122232425{{{Expansion depth limit exceeded}}}252423222120191817161514131211109876543210
  • 1x: 0123456789101112{{{Expansion depth limit exceeded}}}1211109876543210


edt 8

Template:Xpdt/25:

  • if: 01234567891011121314151617181920212223{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23222120191817161514131211109876543210
  • 1x: 01234567891011{{{Expansion depth limit exceeded}}}11109876543210


edt 9

Template:Xpdt/25:

  • if: 0123456789101112131415161718192021{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}2120191817161514131211109876543210
  • 1x: 012345678910{{{Expansion depth limit exceeded}}}109876543210


edt 10

Template:Xpdt/25:

  • if: 012345678910111213141516171819{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}191817161514131211109876543210
  • 1x: 0123456789{{{Expansion depth limit exceeded}}}9876543210


edt 11

Template:Xpdt/25:

  • if: 01234567891011121314151617{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17161514131211109876543210
  • 1x: 012345678{{{Expansion depth limit exceeded}}}876543210


edt 12

Template:Xpdt/25:

  • if: 0123456789101112131415{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}1514131211109876543210
  • 1x: 01234567{{{Expansion depth limit exceeded}}}76543210


edt 13

Template:Xpdt/25:

  • if: 012345678910111213{{Expansion depth limit exceeded|14{{Expansion depth limit exceeded|15{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}15}}14}}131211109876543210
  • 1x: 0123456{{{Expansion depth limit exceeded}}}6543210


edt 14

Template:Xpdt/25:

  • if: 01234567891011{{Expansion depth limit exceeded|12{{Expansion depth limit exceeded|13{{Expansion depth limit exceeded|14{{Expansion depth limit exceeded|15{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}15}}14}}13}}12}}11109876543210
  • 1x: 012345{{{Expansion depth limit exceeded}}}543210


edt 15

Template:Xpdt/25:

  • if: 0123456789{{Expansion depth limit exceeded|10{{Expansion depth limit exceeded|11{{Expansion depth limit exceeded|12{{Expansion depth limit exceeded|13{{Expansion depth limit exceeded|14{{Expansion depth limit exceeded|15{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}15}}14}}13}}12}}11}}10}}9876543210
  • 1x: 01234{{{Expansion depth limit exceeded}}}43210


edt 16

Template:Xpdt/25:

  • if: 01234567{{Expansion depth limit exceeded|8{{Expansion depth limit exceeded|9{{Expansion depth limit exceeded|10{{Expansion depth limit exceeded|11{{Expansion depth limit exceeded|12{{Expansion depth limit exceeded|13{{Expansion depth limit exceeded|14{{Expansion depth limit exceeded|15{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}15}}14}}13}}12}}11}}10}}9}}8}}76543210
  • 1x: 0123{{{Expansion depth limit exceeded}}}3210


edt 17

Template:Xpdt/25:

  • if: 012345{{Expansion depth limit exceeded|6{{Expansion depth limit exceeded|7{{Expansion depth limit exceeded|8{{Expansion depth limit exceeded|9{{Expansion depth limit exceeded|10{{Expansion depth limit exceeded|11{{Expansion depth limit exceeded|12{{Expansion depth limit exceeded|13{{Expansion depth limit exceeded|14{{Expansion depth limit exceeded|15{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}15}}14}}13}}12}}11}}10}}9}}8}}7}}6}}543210
  • 1x: 012{{{Expansion depth limit exceeded}}}210


edt 18

Template:Xpdt/25:

  • if: 0123{{Expansion depth limit exceeded|4{{Expansion depth limit exceeded|5{{Expansion depth limit exceeded|6{{Expansion depth limit exceeded|7{{Expansion depth limit exceeded|8{{Expansion depth limit exceeded|9{{Expansion depth limit exceeded|10{{Expansion depth limit exceeded|11{{Expansion depth limit exceeded|12{{Expansion depth limit exceeded|13{{Expansion depth limit exceeded|14{{Expansion depth limit exceeded|15{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}15}}14}}13}}12}}11}}10}}9}}8}}7}}6}}5}}4}}3210
  • 1x: 01{{{Expansion depth limit exceeded}}}10


edt 19

Template:Xpdt/25:

  • if: 01{{Expansion depth limit exceeded|2{{Expansion depth limit exceeded|3{{Expansion depth limit exceeded|4{{Expansion depth limit exceeded|5{{Expansion depth limit exceeded|6{{Expansion depth limit exceeded|7{{Expansion depth limit exceeded|8{{Expansion depth limit exceeded|9{{Expansion depth limit exceeded|10{{Expansion depth limit exceeded|11{{Expansion depth limit exceeded|12{{Expansion depth limit exceeded|13{{Expansion depth limit exceeded|14{{Expansion depth limit exceeded|15{{Expansion depth limit exceeded|16{{Expansion depth limit exceeded|17{{Expansion depth limit exceeded|18{{Expansion depth limit exceeded|19{{Expansion depth limit exceeded|20{{Expansion depth limit exceeded|21{{Expansion depth limit exceeded|22{{Expansion depth limit exceeded|23{{Expansion depth limit exceeded|24{{Expansion depth limit exceeded|25{{{Expansion depth limit exceeded}}}25}}24}}23}}22}}21}}20}}19}}18}}17}}16}}15}}14}}13}}12}}11}}10}}9}}8}}7}}6}}5}}4}}3}}2}}10
  • 1x: 0{{{Expansion depth limit exceeded}}}0



See also