Template:Ifsandbox/doc

The template becomes useful when special actions, as e.g. the, should occur differently from the original or the sandbox page. Because there is no namespace for sandboxes, an analyzing of the pagename is necessry.

Code
With the code  always the original pagename is shown, independent whether it is from the original or the sandbox page.

Documentation
With always the original docu is shown, independent whether it is from the original or the sandbox page.

Parameter
With an  greater than the default value , more titleparts can be removed, e.g. for xxxx/sandbox/en.

Parameter
With this parameter the variable "" can be prefixed; the value is case-insensitive.