Шаблон:Documentation/core — различия между версиями

Материал из Аэроскан Сервис
Перейти к: навигация, поиск
(Using a special preload page for /doc pages in File space.)
м (+category)
Строка 13: Строка 13:
 
     | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}]  
 
     | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit]] [{{purge|purge}}]  
 
     | <!--/doc doesn't exist-->
 
     | <!--/doc doesn't exist-->
       [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{
+
       [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload=Template:Documentation/preload}} create]]
        #ifeq: {{SUBJECTSPACE}} | {{ns:File}}
+
        | Template:Documentation/preload-filespace
+
        | Template:Documentation/preload
+
        }} }} create]]
+
 
     }}</span>
 
     }}</span>
 
   }} <span style="{{#if: {{{heading-style|}}}
 
   }} <span style="{{#if: {{{heading-style|}}}
Строка 51: Строка 47:
 
<div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
 
<div style="clear: both;"></div><!--So right or left floating items don't stick out of the doc box.-->
 
</div><!--End of green doc box--><!--
 
</div><!--End of green doc box--><!--
   Small box below for the doc meta-data:
+
   Small box below for the doc meta-data.
 
-->{{#if:  
 
-->{{#if:  
 
   <!--Check if we should show the small box-->
 
   <!--Check if we should show the small box-->
Строка 73: Строка 69:
 
       The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br>
 
       The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{{docpage|{{FULLPAGENAME}}/doc}}}]]. <small style="font-style: normal">([{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} edit] &#124; [{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} history])</small> <br>
 
     }}<!--  
 
     }}<!--  
       Add links to /sandbox and /testcases when appropriate:
+
       Add links to /sandbox and /testcases when appropriate  
 
  -->{{#switch: {{SUBJECTSPACE}}
 
  -->{{#switch: {{SUBJECTSPACE}}
 
     | {{ns:User}}
 
     | {{ns:User}}
Строка 134: Строка 130:
  
 
   | #default =  
 
   | #default =  
 +
 
     <!--Check if there are /sandbox and /testcases  
 
     <!--Check if there are /sandbox and /testcases  
 
         in talk space that are too large to be redirects,  
 
         in talk space that are too large to be redirects,  
         when the subpages should be in subject space-->
+
         when the subpages should be in talk space-->
 
     {{#ifexpr:  
 
     {{#ifexpr:  
 
       {{PAGESIZE:
 
       {{PAGESIZE:
Строка 151: Строка 148:
 
   }}
 
   }}
  
| <includeonly>[[Category:Wikipedia pages with strange ((documentation)) usage|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --></includeonly>
+
|
 
}}<noinclude>
 
}}<noinclude>
  
 
{{pp-template}}
 
{{pp-template}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
[[Category:Template subpages|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Версия 14:54, 12 февраля 2010

Шаблон:Fmbox

Шаблон:Pp-template