Difference between revisions of "Template:Documentation"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 35: Line 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}}
| {{{content|}}}
+
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110
| {{#if: {{#ifexist:
+
| 1111 = {{{content|}}}
    {{#if: {{{1|}}}
+
| 0110 | 0111 = {{ {{{1}}} }}
    | {{{1|}}}  <!--Other docname fed-->
+
| 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }}
    | {{documentation/docspace}}:{{documentation/template page}}/doc
+
| 0000 | 0100 | 0010 | 0101 =
    }}
 
  | yes
 
  }}
 
  | {{ {{#if: {{{1|}}}
 
  | {{{1|}}}
 
  | {{documentation/docspace}}:{{documentation/template page}}/doc
 
  }} }}
 
  }}
 
 
}}
 
}}
 
<!--
 
<!--

Latest revision as of 17:56, 25 December 2010

[create] Template documentation