Template:Documentation: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
imported>Davidgothberg
Added a div with style="clear: both;" to the bottom of the green box, so (right) floating boxes in the /doc doesn't flow outside the green box.
PhiLiP (talk | contribs)
m 机器人: 将Image名字空间修改为File
Line 1:
<div class="template-documentation"><!--
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY赋空值**-->
 
|<!--**NOTHING**-->
These are the literal class definitions in common.css:
/* For template documentation */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa;
background-color: #ecfcf4;
padding: 5px;
}
 
 
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**-->
|<!--**NOTHING**-->
|<div style="padding-bottom:3px; border-bottom: 1px solid #aaa; margin-bottom:1ex">{{#ifeq:{{{content|μ}}}|μ
|<span class="editsection plainlinks" id="doc_editlinks">{{#ifexist: {{{1|{{Documentation/docname}}}}}
|<!--** /doc EXISTS存在** -->[[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit編輯]]
|<!--**/doc DOESN'T EXIST不存在**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit&preload={{{preload|Template:Documentation/preload}}}}} create創建]]
}}</span>
}} <span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 125%|font-size: 150%}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[ImageFile:Template-info.svg|50px]] Template documentation模板文档|Documentation文档}}}}</span></div>
}}<!--
 
--><div id="template_doc_page_transcluded" class="dablink plainlinks"><!--
-->{{#ifexist: {{{1|{{Documentation/docname}}}}}
|<!--**/doc EXISTS存在**-->This 这个[[Wikipedia:Template documentation模板文档頁模式|documentation說明]] is 來自於本頁[[Wikipedia:Transclusion嵌入包含|transcluded包含]] from [[{{{1|{{Documentation/docname}}}}}]]. <smallspan style="font-size:smaller;font-style: normal;">([{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} edit編輯] &#124; [{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} history歷史])</smallspan><br />
}}<!--
 
-->{{#switch: {{SUBPAGENAME}}
|sandbox|testcases=<!--**DO NOT SHOW THESE LINKS ON THE SANDBOX/TESTCASES PAGES页面下不要显示这些链接(注:中文没有)**-->
|#default=
{{#switch: {{SUBJECTSPACE}}
Line 35 ⟶ 22:
|{{ns:user}}=
{{#ifexist: {{FULLPAGENAME}}/sandbox
|This template has a 这个模板有[[/sandbox|sandbox沙盒]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit編輯])</small> <!--
-->{{#ifexist: {{FULLPAGENAME}}/testcases
|and [[/testcases|testcases測試案例]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit編輯])</small>}} for editors to experiment.
|{{#ifexist: {{FULLPAGENAME}}/testcases
|This template has 这个模板有[[/testcases|testcases測試案例]] <small style="font-style: normal">([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit編輯])</small> for editors to experiment.供编辑者試驗。}}
}}}}}}
</div>
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
</div>
<div style="clear: both;"></div>
</div><noinclude>
 
{{pp-template|small=yes}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 14:42, 16 December 2008

[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} 創建]] 模板文档