Difference between revisions of "Template:Documentation"

From Wazeopedia
Line 4: Line 4:
 
{{#ifexist:{{PAGENAME}}/doc|1|0}}
 
{{#ifexist:{{PAGENAME}}/doc|1|0}}
  
{{#switch: {{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{PAGENAME}}/doc|1|0}}
+
{{#switch: {{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{FULLPAGENAME}}/doc|1|0}}
 
| 000 | 100 | 010 | 101 = <h4>Page not found</h4>
 
| 000 | 100 | 010 | 101 = <h4>Page not found</h4>
| 001 | 011 = {{ {{PAGENAME}}/doc }}
+
| 001 | 011 = {{ {{FULLPAGENAME}}/doc }}
 
| 110 | 111 = {{ {{{1|}}} }}
 
| 110 | 111 = {{ {{{1|}}} }}
 
}}
 
}}

Revision as of 07:36, 3 April 2019