Відмінності між версіями «Шаблон:Documentation/core»

Матеріал з Аероскан Сервіс
Перейти до: навігація, пошук
(Removed most of the debug check. Silly me, this also reported redirects from the talkpages. Will make a smarter check function.)
(Tweak when and how to show the "Subpages" link. And adding a comment to the "cats and interwikis" text.)
Рядок 82: Рядок 82:
 
       | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
 
       | testcases <small style="font-style: normal">([{{fullurl: {{{testcases| {{FULLPAGENAME}}/testcases }}} | action=edit&preload=Template:Documentation/preload-testcases }} create])</small>
 
       }} pages. <br>
 
       }} pages. <br>
     }}{{#if: {{{content|}}} {{{docname fed|}}}
+
     }}<!--
 +
      Show the cats and interwiki text, but not
 +
      if "content" fed or "docname fed" since then it is
 +
      unclear where to add the cats and interwikis.
 +
-->{{#if: {{{content|}}} {{{docname fed|}}}
 
     |  
 
     |  
 
     | Add categories and interwikis to the /doc subpage.
 
     | Add categories and interwikis to the /doc subpage.
     }} [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].
+
     }}<!--
 +
      Show the "Subpages" link:
 +
-->{{#switch: {{SUBJECTSPACE}}
 +
    | {{ns:File}} =  <!--Don't show it-->
 +
    | {{ns:Template}} =
 +
      [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this template]].
 +
    | #default =
 +
      [[Special:PrefixIndex/{{{template page|{{FULLPAGENAME}}}}}/|Subpages of this page]].
 +
    }}
 
   }}
 
   }}
 
}}<!--
 
}}<!--
 +
 
   Detect and report strange usage:
 
   Detect and report strange usage:
 
-->{{#if:
 
-->{{#if:

Версія за 22:35, 11 лютого 2010

Шаблон:Fmbox

Шаблон:Pp-template