Template:Documentation:zh-cn/start box: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (Created page with "<noinclude>{{lang|Template:Documentation/start box}}</noinclude><!-- Start of gray doc box --><div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-...") |
1416006136 (talk | contribs) m (1416006136 moved page Template:Documentation/start box:zh-cn to Template:Documentation:zh-cn/start box) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{lang|Template:Documentation/start box}}</noinclude><!-- | <noinclude>{{lang|Template:Documentation/start box}}</noinclude><!-- | ||
灰色文本框的开头 | |||
--><div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #323232; padding: 1em"><!-- | --><div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #323232; padding: 1em"><!-- | ||
在文档框顶部添加标题: | |||
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | -->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | ||
| <!--"heading=", | | <!--"heading=", 不做任何事情 --> | ||
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><span style="{{#if: {{{heading-style|}}} | | <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><span style="{{#if: {{{heading-style|}}} | ||
| {{{heading-style|}}} | | {{{heading-style|}}} | ||
Line 13: | Line 13: | ||
}}">{{#switch: {{{heading|¬}}} | }}">{{#switch: {{{heading|¬}}} | ||
| ¬ = | | ¬ = | ||
<!--"heading" | <!--"heading" 未在此级别或先前级别中定义--> | ||
{{#switch: {{SUBJECTSPACE}} | {{#switch: {{SUBJECTSPACE}} | ||
| {{ns:Template}} = [[File:Curly_brackets_white.png|44px|link=|alt=Template icon]] {{{Documentation alt text|模板文档}}} | | {{ns:Template}} = [[File:Curly_brackets_white.png|44px|link=|alt=Template icon]] {{{Documentation alt text|模板文档}}} | ||
| {{ns:File}} = | | {{ns:File}} = 摘要 | ||
| #default = | | #default = 文档 | ||
}} | }} | ||
| #default = | | #default = | ||
<!--"heading" | <!--"heading" 有数据或为空但已定义--> | ||
{{{heading|}}} | {{{heading|}}} | ||
}}</span>{{ | }}</span>{{ | ||
#if: {{{content|}}} | #if: {{{content|}}} | ||
| | | | ||
| <!-- | | <!--添加 [view][edit][history][purge] 或 [create] 链接--> | ||
<span class="mw-editsection plainlinks" id="doc_editlinks">{{ | <span class="mw-editsection plainlinks" id="doc_editlinks">{{ | ||
#if: {{{doc exist|yes}}} | #if: {{{doc exist|yes}}} | ||
| [[[{{{docpage|{{FULLPAGENAME}}/doc}}}|查看]]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 编辑]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} 历史记录]] [{{purge| | | [[[{{{docpage|{{FULLPAGENAME}}/doc}}}|查看]]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=edit}} 编辑]] [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}|action=history}} 历史记录]] [{{purge|清除缓存(刷新页面)}}] | ||
| <!--/doc doesn't exist--> | | <!--/doc doesn't exist--> | ||
[[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{ | [[{{fullurl:{{{docpage|{{FULLPAGENAME}}/doc}}}| action=edit&preload={{ | ||
Line 34: | Line 34: | ||
| {{urlencode:{{{preload}}}}} | | {{urlencode:{{{preload}}}}} | ||
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}} | | {{#ifeq: {{SUBJECTSPACE}} | {{ns:File}} | ||
| Template:Documentation/preload-filespace | | Template:Documentation:zh-cn/preload-filespace | ||
| Template:Documentation/preload | | Template:Documentation:zh-cn/preload | ||
}} }} }} 创建]] | }} }} }} 创建]] | ||
}}</span> | }}</span> | ||
}}</div> | }}</div> | ||
}}<noinclude><!-- close the div --></div></noinclude> | }}<noinclude><!-- close the div --></div></noinclude> |