Difference between revisions of "Template:Documentation subpage"

From FamilyTree
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}} | <!-- doc page --> </includeonly>{{ #ifeq: {{{doc-notice|show}}} | show | {{mbox ...")
 
 
Line 1: Line 1:
&lt;includeonly&gt;{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
+
<includeonly>{{#ifeq: {{lc:{{SUBPAGENAME}}}} | {{{override|doc}}}
   | &lt;!-- doc page --&gt;
+
   | <!-- doc page -->
&lt;/includeonly&gt;{{
+
</includeonly>{{
 
     #ifeq: {{{doc-notice|show}}} | show
 
     #ifeq: {{{doc-notice|show}}} | show
 
     | {{mbox
 
     | {{mbox
Line 7: Line 7:
 
       | image = [[File:Edit-copy green.svg|40px]]
 
       | image = [[File:Edit-copy green.svg|40px]]
 
       | text =  
 
       | text =  
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' &lt;small&gt;(see that page for the {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template | {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }}}}}} itself)&lt;/small&gt;.&lt;br /&gt;It contains usage information, [[Wikipedia:Categorization|categories]], [[Help:Interlanguage links|interlanguage links]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
+
'''This is a [[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpages|subpage]] for {{{1|[[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}}''' <small>(see that page for the {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template | {{ #if: {{SUBJECTSPACE}} | {{lc:{{SUBJECTSPACE}}}} | article }}}}}} itself)</small>.<br />It contains usage information, [[Wikipedia:Categorization|categories]], [[Help:Interlanguage links|interlanguage links]] and other content that is not part of the original {{ #if: {{{text2|}}} | {{{text2}}} | {{ #if: {{{text1|}}} | {{{text1}}} | {{ #ifeq: {{SUBJECTSPACE}} | {{ns:User}} | {{lc:{{SUBJECTSPACE}}}} template page | {{ #if: {{SUBJECTSPACE}} |{{lc:{{SUBJECTSPACE}}}} page|article}}}}}}}}.  
 
       }}
 
       }}
 
     }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
 
     }}{{DEFAULTSORT:{{{defaultsort|{{PAGENAME}}}}}}}{{
 
     #if: {{{inhibit|}}}
 
     #if: {{{inhibit|}}}
     | &lt;!-- skip --&gt;
+
     | <!-- skip -->
 
     | [[Category:{{
 
     | [[Category:{{
 
       #if: {{SUBJECTSPACE}}
 
       #if: {{SUBJECTSPACE}}
 
       | {{SUBJECTSPACE}}
 
       | {{SUBJECTSPACE}}
 
       | Article
 
       | Article
     }} documentation&lt;noinclude&gt;| &lt;/noinclude&gt;]]
+
     }} documentation<noinclude>| </noinclude>]]
   }}&lt;includeonly&gt;
+
   }}<includeonly>
| &lt;!-- if not on a /doc subpage, do nothing --&gt;
+
| <!-- if not on a /doc subpage, do nothing -->
}}&lt;/includeonly&gt;&lt;noinclude&gt;
+
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
&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

Template:Mbox

[create] 50px Template documentation