Template:Doc: Difference between revisions

From Elwiki
m (Boxsnake moved page Template:Documentation to Template:Doc without leaving a redirect)
m (Text replacement - "=" " to "="")
Line 23: Line 23:
   Start load the /doc content:
   Start load the /doc content:
   Note: The line breaks between this comment and the next line are necessary
   Note: The line breaks between this comment and the next line are necessary
   so  "=== Headings ===" at the start and end of docs are interpreted.
   so  "=== Headings ==="at the start and end of docs are 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 35: Line 35:
   End load the /doc content:
   End load the /doc content:
   Note: The line breaks between this comment and the previous line are necessary
   Note: The line breaks between this comment and the previous line are necessary
   so  "=== Headings ===" at the start and end of docs are interpreted.
   so  "=== Headings ==="at the start and end of docs are interpreted.
-->{{documentation/end box2
-->{{documentation/end box2
| preload = {{{preload|}}}  <!--Allow custom preloads-->
| preload = {{{preload|}}}  <!--Allow custom preloads-->

Revision as of 12:01, 29 May 2015