- This is a personal developmental wiki, it may often be in an unstable or experimental state and the lack of meaningful content on a page is often intentional; however, you can participate. Please: 1) create an account, 2) confirm your e-mail, 3) send Deirdre and e-mail telling her who you are and why you are interested. Thanks, --Deirdre(talk contribs)

Difference between revisions of "Transwiki:Documentation"

From DeeDeeswiki
Jump to: navigation, search
(copy over preload feature as per edit request on talk page)
(Reducing transclusion depth per discussion on talk page)
Line 15: Line 15:
 
}}<!--
 
}}<!--
 
   Start of green doc box.
 
   Start of green doc box.
-->{{documentation/core2
+
-->{{documentation/core
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| preload = {{{preload|}}}  <!--Allow custom preloads-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
Line 22: Line 22:
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
 
| link box = {{{link box|}}}  <!--So "link box=off" works-->
  
<!--Some namespaces must have the /doc, /sandbox and /testcases
+
| docpage =
    in talk space-->
+
  {{#if: {{{1|}}}
| docspace =
+
  | {{{1|}}}
   {{#switch: {{SUBJECTSPACE}}
+
   | {{#switch: {{SUBJECTSPACE}}
 
   | {{ns:0}}
 
   | {{ns:0}}
 
   | {{ns:File}}
 
   | {{ns:File}}
Line 31: Line 31:
 
   | {{ns:Category}} = {{TALKSPACE}}
 
   | {{ns:Category}} = {{TALKSPACE}}
 
   | #default = {{SUBJECTSPACE}}
 
   | #default = {{SUBJECTSPACE}}
 +
  }}:{{#switch: {{SUBPAGENAME}}
 +
  | sandbox
 +
  | testcases = {{BASEPAGENAME}}
 +
  | #default = {{PAGENAME}}
 +
  }}/doc
 +
  }}
 +
| doc exist =
 +
  {{#ifexist:
 +
    {{#if: {{{1|}}}
 +
    | {{{1|}}}  <!--Other docname fed-->
 +
    | {{#switch: {{SUBJECTSPACE}}
 +
  | {{ns:0}}
 +
  | {{ns:File}}
 +
  | {{ns:MediaWiki}}
 +
  | {{ns:Category}} = {{TALKSPACE}}
 +
  | #default = {{SUBJECTSPACE}}
 +
  }}:{{#switch: {{SUBPAGENAME}}
 +
  | sandbox
 +
  | testcases = {{BASEPAGENAME}}
 +
  | #default = {{PAGENAME}}
 +
  }}/doc
 +
    }}
 +
  | yes
 +
  }}
 +
| docname fed =
 +
  {{#if: {{{1|}}}
 +
  | yes
 
   }}
 
   }}
  
| 1 = {{{1|}}}  <!--Other docname, if fed-->
+
| sandbox =  
 +
  {{#switch: {{SUBJECTSPACE}}
 +
  | {{ns:0}}
 +
  | {{ns:File}}
 +
   | {{ns:MediaWiki}}
 +
  | {{ns:Category}} = {{TALKSPACE}}
 +
  | #default = {{SUBJECTSPACE}}
 +
  }}:{{#switch: {{SUBPAGENAME}}
 +
  | sandbox
 +
  | testcases = {{BASEPAGENAME}}
 +
  | #default = {{PAGENAME}}
 +
  }}/sandbox
 +
| testcases =
 +
  {{#switch: {{SUBJECTSPACE}}
 +
  | {{ns:0}}
 +
  | {{ns:File}}
 +
  | {{ns:MediaWiki}}
 +
  | {{ns:Category}} = {{TALKSPACE}}
 +
  | #default = {{SUBJECTSPACE}}
 +
  }}:{{#switch: {{SUBPAGENAME}}
 +
  | sandbox
 +
  | testcases = {{BASEPAGENAME}}
 +
  | #default = {{PAGENAME}}
 +
  }}/testcases
  
<!--The namespace is added in /core2-->
 
 
| template page =  
 
| template page =  
   {{#switch: {{SUBPAGENAME}}
+
   {{NAMESPACE}}:{{#switch: {{SUBPAGENAME}}
 
   | sandbox
 
   | sandbox
 
   | testcases = {{BASEPAGENAME}}
 
   | testcases = {{BASEPAGENAME}}

Revision as of 21:40, 12 October 2010

Template:Template otherTemplate:Documentation/core