FANDOM


Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Expansion depth test]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Purpose

This template provides an expansion depth test for a page with the name given as parameter 1 (default: {{SUBJECTPAGENAME}}).

Description

The expansion depth limit is 40. In this test every step adds 2 to the expansion depth (1 for the template call and 1 for the parameter substitution), while in step 1 it is 1 or 2, so in step 21 it always exceeds the limit. 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.

Dependencies
Example

Template:Template:


Expansion depth test (Purge)

1

template

  • The result of the first parameter: 1


2

template

  • The result of the first parameter: 1


3

template

  • The result of the first parameter: 1


4

template

  • The result of the first parameter: 1


5

template

  • The result of the first parameter: 1


6

template

  • The result of the first parameter: 1


7

template

  • The result of the first parameter: 1


8

template

  • The result of the first parameter: 1


9

template

  • The result of the first parameter: 1


10

template

  • The result of the first parameter: 1


11

template

  • The result of the first parameter: 1


12

template

  • The result of the first parameter: 1


13

template

  • The result of the first parameter: 1


14

template

  • The result of the first parameter: 1


15

template

  • The result of the first parameter: 1


16

template

  • The result of the first parameter: 1


17

template


18

{{Expansion depth limit exceeded|1}}

19

{{Expansion depth limit exceeded|{{Expansion depth limit exceeded|1}}}}

20

{{Expansion depth limit exceeded|{{Expansion depth limit exceeded|{{Expansion depth limit exceeded|1}}}}}}

21

{{Expansion depth limit exceeded|{{Expansion depth limit exceeded|{{Expansion depth limit exceeded|{{Expansion depth limit exceeded|1}}}}}}}}

Community content is available under CC-BY-SA unless otherwise noted.