Відмінності між версіями «Шаблон:Documentation/core»
Матеріал з Аероскан Сервіс
								
												
				м (+category)  | 
				 (Removing most debug reporting, since no serious cases found, I now have a copy of the list, and the {{PAGESIZE:}} call caused strange items in the "Pages transcluded" list in edit pages.)  | 
				||
| Рядок 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=Template:Documentation/preload}} create]]  | + |        [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{  | 
| + |         #ifeq: {{SUBJECTSPACE}} | {{ns:File}}  | ||
| + |         | Template:Documentation/preload-filespace  | ||
| + |         | Template:Documentation/preload  | ||
| + |         }} }} create]]  | ||
     }}</span>  |      }}</span>  | ||
   }} <span style="{{#if: {{{heading-style|}}}  |    }} <span style="{{#if: {{{heading-style|}}}  | ||
| Рядок 47: | Рядок 51: | ||
<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-->  | ||
| Рядок 69: | Рядок 73: | ||
       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] | [{{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] | [{{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}}  | ||
| Рядок 110: | Рядок 114: | ||
   | testcases = strange  |    | testcases = strange  | ||
   }}  |    }}  | ||
| + |   <!--More checks can be added here, just return anything  | ||
| + |       to make the surrounding if-case trigger-->  | ||
| − | + | | <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! -->  | ||
| − | |||
</noinclude>  | </noinclude>  | ||