Template:Documentation: Difference between revisions

    No edit summary
    No edit summary
    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 the start of doc subpage is interpreted.
       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 the start of doc box trailer is interpreted.
       so an "=== Heading ===" at end of doc subpage is correctly interpreted.
    -->
    -->
    {{Documentation/end box2
    {{Documentation/end box2