Template:Documentation:修订间差异
模板页面
更多语言
更多操作
imported>弃权者 创建页面,内容为“{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}” |
无编辑摘要 |
||
| (未显示2个用户的8个中间版本) | |||
| 第1行: | 第1行: | ||
{{# | <div class="template-documentation-header" style="padding: 8px 1em 6px 1em; background-color: var(--background-color-base); border-top-left-radius: 8px; border-top-right-radius: 8px; display:flex; align-items: center; justify-content: space-between;"><!-- | ||
--><span style="font-weight: 500; font-size: 16px; display: flex; letter-spacing: 1px; text-transform: uppercase;">{{#switch:{{NAMESPACE}} | |||
|{{ns:template}}=[[File:Template-info-png.png|50px|link=]] 模板文档 TEMPLATE DOCUMENTATION | |||
|{{ns:module}}=[[File:Template-info-png.png|50px|link=]] 模块文档 TEMPLATE DOCUMENTATION | |||
|{{ns:widget}}=[[File:Template-info-png.png|50px|link=]] 小工具文档 WIDGET DOCUMENTATION | |||
|#default=文档 | |||
}}</span> | |||
<span class="editsection plainlinks" style="font-size:small; float: right" id="doc_editlinks">{{#if:{{{content|}}}| | |||
<!--内联文档-->[[{{fullurl:{{FULLPAGENAME}}|action=edit}} 编辑]] | |||
|{{#ifexist: {{{1|{{Documentation/docname}}}}} | |||
|<!--**/doc 存在 **-->[[{{fullurl:{{{1|{{Documentation/docname}}}}}}} 查看]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=edit}} 编辑]] [[{{fullurl:{{{1|{{Documentation/docname}}}}}|action=history}} 历史]] | |||
|<!--**/doc 不存在**-->[[{{fullurl:{{{1|{{Documentation/docname }}}}}|action=edit}} 创建]] | |||
}} [[{{fullurl:{{FULLPAGENAME}}|action=purge}} 刷新]] | |||
}}</span></div> | |||
<div class="template-documentation" style="background: var(--background-color-base); padding: 1em; border: 1px solid var(--border-color-base); border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;"><!-- | |||
--><div id="template_doc_page_transcluded" class="dablink plainlinks" style="font-size:84%;"><!-- | |||
-->{{#if:{{{content|}}}| | |||
<!--内联文档**-->这个[[Wikipedia:zh:模板文件頁模式|文档]]是内联文档。 | |||
|{{#ifexist: {{{1|{{Documentation/docname}}}}} | |||
|<!--**/doc存在**-->这个文档嵌入自[[{{{1|{{Documentation/docname}}}}}]]。 | |||
}} | |||
}} | |||
</div> | |||
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | |||
</div> | |||
<noinclude>[[Category:模板页的模板]]</noinclude> | |||
2026年5月3日 (日) 17:39的最新版本
这个文档嵌入自Template:Documentation/doc。
用法
{{Documentation}}<!--嵌入/doc子页面-->
{{Documentation|content=这里写文档内容}}<!--内联文档-->