打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Documentation:修订间差异

来自OGAS数据中枢
imported>弃权者
无编辑摘要
imported>弃权者
无编辑摘要
第1行: 第1行:
{{#invoke:documentation|main}}
<div class="template-documentation" style="background: aliceblue; padding: 1em; border: 1px solid #eee;"><!--
--><div class="template-documentation-header" style="padding-bottom:3px; border-bottom: 1px solid #eee; margin-bottom:1ex"><!--
    --><span style="font-weight: bold; font-size: 125%">{{#switch:{{NAMESPACE}}
    |{{ns:template}}=[[File:Template-info-png.png|50px|link=]] 模板文档
    |{{ns:module}}=[[File:Template-info-png.png|50px|link=]] 模块文档
    |{{ns:widget}}=[[File:Template-info-png.png|50px|link=]] 小工具文档
    |#default=文档
  }}</span>&nbsp;&nbsp;<span class="editsection plainlinks" style="font-size:small;" 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 id="template_doc_page_transcluded" class="dablink plainlinks" style="font-size:84%;"><!--
  -->{{#if:{{{content|}}}|
      <!--内联文档**-->这个[[Wikipedia:zh:Wikipedia:模板文件頁模式|文档]]是内联文档。
      |{{#ifexist: {{{1|{{Documentation/docname}}}}}
        |<!--**/doc存在**-->这个[[Wikipedia:zh:Wikipedia:模板文件頁模式|文档]][[Wikipedia:zh:Wikipedia:嵌入包含|嵌入]]自[[{{{1|{{Documentation/docname}}}}}]]。
      }}
    }}
</div>
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}}
</div>
<noinclude>[[分类:模板]]</noinclude>

2026年1月26日 (一) 23:21的版本

模板文档  [查看] [编辑] [历史] [刷新]

用法

{{Documentation}}<!--嵌入/doc子页面-->

{{Documentation|content=这里写文档内容}}<!--内联文档-->