Шаблон:Documentation/core — различия между версиями
Материал из Аэроскан Сервис
м (14 revisions from w:Template:Documentation/core: For History of Hong Kong) |
(back to previous) |
||
| Строка 1: | Строка 1: | ||
<!-- | <!-- | ||
Start of green doc box | Start of green doc box | ||
| − | --><div id="template-documentation" class="template-documentation | + | --><div id="template-documentation" class="template-documentation"><!-- |
Add the heading at the top of the doc box: | Add the heading at the top of the doc box: | ||
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | -->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | ||
| Строка 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]] |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
}}</span> | }}</span> | ||
}} <span style="{{#if: {{{heading-style|}}} | }} <span style="{{#if: {{{heading-style|}}} | ||
| Строка 29: | Строка 25: | ||
<!--"heading" not defined in this or previous level--> | <!--"heading" not defined in this or previous level--> | ||
{{#switch: {{SUBJECTSPACE}} | {{#switch: {{SUBJECTSPACE}} | ||
| − | | {{ns:Template}} = [[ | + | | {{ns:Template}} = [[File:Template-info.svg|50px|link=]] Template documentation |
| {{ns:File}} = Summary | | {{ns:File}} = Summary | ||
| #default = Documentation | | #default = Documentation | ||
| Строка 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. | |
-->{{#if: | -->{{#if: | ||
| − | <!--Check if we should show the | + | <!--Check if we should show the small box--> |
{{#ifeq: {{{link box|}}} | off | {{#ifeq: {{{link box|}}} | off | ||
| | | | ||
| Строка 69: | Строка 65: | ||
| textstyle = font-style: italic; | | textstyle = font-style: italic; | ||
| text = | | text = | ||
| − | + | {{#if: {{{doc exist|yes}}} | |
| − | + | | <!--/doc exists, link to it--> | |
| − | + | The above [[w:Wikipedia:Template documentation|documentation]] is [[w: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 /> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
}} | }} | ||
}} | }} | ||
| − | }} | + | }} |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||