Difference between revisions of "Template:Documentation"
From SVR Wiki
(Refactoring to reduce transclusion depth. Basically, split core2 into (start box2,end box2) and split core into (start box,end box), then move middle up two levels to top level template. See talk...) |
(Try this to reduce the parser nesting depth) |
||
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}} |
− | | | + | | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 |
− | + | | 1111 = {{{content|}}} | |
− | + | | 0110 | 0111 = {{ {{{1}}} }} | |
− | + | | 0001 | 0011 = {{ {{documentation/docspace}}:{{documentation/template page}}/doc }} | |
− | + | | 0000 | 0100 | 0010 | 0101 = | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
<!-- | <!-- |
Revision as of 07:52, 21 November 2010
Template:Template other Template documentation[[{{fullurl:Template:Documentation/docspace:Template:Documentation/template page/doc| action=edit&preload=Template:Documentation/preload }} create]]
Editors can experiment in this template's sandbox ([{{fullurl: Template:Documentation/docspace:Template:Documentation/template page/sandbox | action=edit&preload=Template:Documentation/preload-sandbox }} create] | [{{fullurl: Template:Documentation/docspace:Template:Documentation/template page/sandbox | action=edit&preload=Template%3A%5B%5B%3ATemplate%3ADocumentation%2Ftemplate+page%5D%5D&summary=Create+sandbox+version+of+%5B%5BTemplate%3A%5B%5B%3ATemplate%3ADocumentation%2Ftemplate+page%5D%5D%5D%5D }} mirror]) and testcases ([{{fullurl: Template:Documentation/docspace:Template:Documentation/template page/testcases | action=edit&preload=Template:Documentation/preload-testcases }} create]) pages. Please add categories to the [[Template:Documentation/docspace:Template:Documentation/template page/doc|/doc]] subpage. [[Special:PrefixIndex/Template:Template:Documentation/template page/|Subpages of this template]]. |