Template:SandboxDocumentation: Difference between revisions
Template page
More actions
{{{protected}}} |
sandbox_doc |
||
| (27 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
'' | {{SandboxDocumentation/core | ||
|template ={{#if: {{{template|}}} | |||
| {{{template|}}} | |||
| {{#ifeq: {{#titleparts:{{PAGENAME}} | 1 | -1 }} | doc <!-- means 'if ends with /doc' --> | |||
| {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -2 }} | sandbox<!-- means 'if ends with /sandbox/doc' --> | |||
| {{#titleparts: {{PAGENAME}} | -2 }}<!-- PAGENAME without ending /sandbox/doc --> | |||
| {{#titleparts: {{PAGENAME}} | -1 }}<!-- PAGENAME without ending /doc --> | |||
}} | |||
| {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -1 }} | sandbox <!-- means 'if ends with /sandbox' --> | |||
| {{#titleparts: {{PAGENAME}} | -1 }}<!-- PAGENAME without ending /sandbox --> | |||
| {{PAGENAME}} | |||
}} | |||
}} | |||
}} | |||
|template type={{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -1 }} | sandbox <!-- means 'if ends with /sandbox' --> | |||
| sandbox | |||
| {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -2 }} | sandbox <!-- means 'if ends with /sandbox/doc' --> | sandbox_doc }} | |||
}} | |||
|protected={{{protected|}}} | |||
|domain={{{domain|}}} | |||
}}<noinclude> | |||
{{documentation}} | |||
</noinclude> | |||