Difference between revisions of "Template:Documentation"
From Game Detectives Wiki
[unchecked revision] | [unchecked revision] |
Line 17: | Line 17: | ||
Start load the /doc content: | Start load the /doc content: | ||
Note: The line break between this comment and the next line is necessary | Note: The line break between this comment and the next line is necessary | ||
− | so an "=== Heading ===" at | + | so an "=== Heading ===" at start of doc subpage is correctly interpreted. |
--> | --> | ||
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{Documentation/docspace}}:{{Documentation/template page}}/doc|1|0}} | {{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{Documentation/docspace}}:{{Documentation/template page}}/doc|1|0}} | ||
Line 27: | Line 27: | ||
End load the /doc content: | End load the /doc content: | ||
Note: The line break between this comment and the next line is necessary | Note: The line break between this comment and the next line is necessary | ||
− | so an "=== Heading ===" at | + | so an "=== Heading ===" at end of doc subpage is correctly interpreted. |
--> | --> | ||
{{Documentation/end box2 | {{Documentation/end box2 |