Template:Documentation/sandbox: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(Create sandbox version of Template:Documentation)
 
(directory of docs changed to the namespace Docs)
Line 6: Line 6:
   {{#if: {{{1|}}}
   {{#if: {{{1|}}}
   | {{{1|}}}
   | {{{1|}}}
   | {{FULLPAGENAME}}/doc
   | Docs:{{PAGENAME}}/doc
   }}
   }}
| doc exist =  
| doc exist =  
Line 12: Line 12:
     {{#if: {{{1|}}}
     {{#if: {{{1|}}}
     | {{{1|}}}  <!--Other docname fed-->
     | {{{1|}}}  <!--Other docname fed-->
     | {{FULLPAGENAME}}/doc
     | Docs:{{PAGENAME}}/doc
     }}
     }}
   | yes
   | yes
   }}
   }}
}}
}}
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{FULLPAGENAME}}/doc|1|0}}
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:Docs:{{PAGENAME}}/doc|1|0}}
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110  
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110  
| 1111 = {{{content|}}}
| 1111 = {{{content|}}}
| 0110 | 0111 = {{ {{{1}}} }}
| 0110 | 0111 = {{ {{{1}}} }}
| 0001 | 0011 = {{ {{FULLPAGENAME}}/doc }}
| 0001 | 0011 = {{ Docs:{{PAGENAME}}/doc }}
| 0000 | 0100 | 0010 | 0101 =  
| 0000 | 0100 | 0010 | 0101 =  
}}{{Documentation/footer
}}{{Documentation/footer
Line 29: Line 29:
   {{#if: {{{1|}}}
   {{#if: {{{1|}}}
   | {{{1|}}}
   | {{{1|}}}
   | {{FULLPAGENAME}}/doc
   | Docs:{{PAGENAME}}/doc
   }}
   }}
| doc exist =  
| doc exist =  
Line 35: Line 35:
     {{#if: {{{1|}}}
     {{#if: {{{1|}}}
     | {{{1|}}}  <!--Other docname fed-->
     | {{{1|}}}  <!--Other docname fed-->
     | {{FULLPAGENAME}}/doc
     | Docs:{{PAGENAME}}/doc
     }}
     }}
   | yes
   | yes

Revision as of 19:58, 19 March 2015

Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.