« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>Plastikspork (Refactoring to reduce transclusion depth. Basically, split core2 into (start box2,end box2) and split core into (start box,end box), then move middle up two levels to top level template. See talk...) |
test0>Plastikspork (Try this to reduce the parser nesting depth) |
||
Ligne 35 : | Ligne 35 : | ||
so "=== Headings ===" at the start and end of docs are interpreted. | so "=== Headings ===" at the start and end of docs are interpreted. | ||
--> | --> | ||
{{#if: {{{content|}}} | {{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{documentation/docspace}}:{{documentation/template page}}/doc|1|0}} | ||
| | | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | ||
| 1111 = {{{content|}}} | |||
| 0110 | 0111 = {{ {{{1}}} }} | |||
| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }} | |||
| 0000 | 0100 | 0010 | 0101 = | |||
}} | }} | ||
<!-- | <!-- |
Version du 21 novembre 2010 à 08:52
{{#ifeq: Documentation | sandbox
|
Modèle:Template sandbox notice
}}Modèle:Template otherModèle:Documentation/start box2 {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:Modèle:Documentation/docspace:Modèle:Documentation/template page/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ Modèle:Documentation/docspace:Modèle:Documentation/template page/doc }} | 0000 | 0100 | 0010 | 0101 = }} Modèle:Documentation/end box2