Difference between revisions of "Template:Documentation"

From FamilyTree
Jump to navigation Jump to search
(Created page with "<!-- Automatically add {{template sandbox notice}} when on a /sandbox page. -->{{#ifeq: {{SUBPAGENAME}} | sandbox | <div style="clear: both;"></div>...")
 
 
Line 1: Line 1:
&lt;!--
+
<!--
 
   Automatically add {{template sandbox notice}} when on a /sandbox page.
 
   Automatically add {{template sandbox notice}} when on a /sandbox page.
--&gt;{{#ifeq: {{SUBPAGENAME}} | sandbox
+
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
| &lt;div style=&quot;clear: both;&quot;&gt;&lt;/div&gt;{{template sandbox notice}}
+
| <div style="clear: both;"></div>{{template sandbox notice}}
}}&lt;!--
+
}}<!--
 
   Automatically add {{pp-template}} to protected templates.
 
   Automatically add {{pp-template}} to protected templates.
--&gt;{{template other
+
-->{{template other
 
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
 
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
 
   | {{pp-template}}
 
   | {{pp-template}}
 
   | {{#if: {{PROTECTIONLEVEL:edit}}
 
   | {{#if: {{PROTECTIONLEVEL:edit}}
 
     | {{pp-template}}
 
     | {{pp-template}}
     | &lt;!--Not protected, or only semi-move-protected--&gt;
+
     | <!--Not protected, or only semi-move-protected-->
 
     }}
 
     }}
 
   }}
 
   }}
}}&lt;!--
+
}}<!--
 
   Start of green doc box.
 
   Start of green doc box.
--&gt;{{documentation/core2
+
-->{{documentation/core2
| heading = {{{heading|¬}}}  &lt;!--Empty but defined means no header--&gt;
+
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading-style = {{{heading-style|}}}
 
| heading-style = {{{heading-style|}}}
 
| content = {{{content|}}}
 
| content = {{{content|}}}
| link box = {{{link box|}}}  &lt;!--So &quot;link box=off&quot; works--&gt;
+
| link box = {{{link box|}}}  <!--So "link box=off" works-->
  
&lt;!--Some namespaces must have the /doc, /sandbox and /testcases  
+
<!--Some namespaces must have the /doc, /sandbox and /testcases  
     in talk space--&gt;
+
     in talk space-->
 
| docspace =
 
| docspace =
 
   {{#switch: {{SUBJECTSPACE}}
 
   {{#switch: {{SUBJECTSPACE}}
Line 32: Line 32:
 
   }}
 
   }}
  
| 1 = {{{1|}}}  &lt;!--Other docname, if fed--&gt;
+
| 1 = {{{1|}}}  <!--Other docname, if fed-->
  
&lt;!--The namespace is added in /core2--&gt;
+
<!--The namespace is added in /core2-->
 
| template page =  
 
| template page =  
 
   {{#switch: {{SUBPAGENAME}}
 
   {{#switch: {{SUBPAGENAME}}
Line 42: Line 42:
 
   }}
 
   }}
  
}}&lt;!--End of green doc box--&gt;&lt;noinclude&gt;
+
}}<!--End of green doc box--><noinclude>
  
&lt;!-- Add categories and interwikis to the /doc subpage, not here! --&gt;
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
&lt;/noinclude&gt;
+
</noinclude>

Latest revision as of 16:04, 10 October 2010

[create] 50px Template documentation