跳转到内容

模板:页面待完善:修订间差异

来自获嘉一中Wiki
StarNguyen1留言 | 贡献
创建页面,内容为“<includeonly>{{#ifeq: {{{ nocat }}} | true | | Category:未完成页面}} <div style="background-color: #f8f9fa; border: 1px solid #e3f2fd; border-left: 4px solid #2196f3; border-radius: 4px; padding: 16px; margin: 16px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05);"> <div style="display: flex; align-items: flex-start; gap: 12px;"> <!-- 图标部分 --> <div style="color: #2196f3; font-size: 24px; line-height: 1; padding-top: 2px;"> {{#if: {{#extensionexists: F…”
 
StarNguyen1留言 | 贡献
无编辑摘要
第1行: 第1行:
<includeonly>{{#ifeq: {{{ nocat }}} | true | | [[Category:未完成页面]]}}
<includeonly>
<!-- 自动分类:默认加入未完成页面分类(如需关闭,添加|nocat=1参数) -->
{{#if: {{{nocat|}}} | | [[Category:未完成页面]]}}
 
<!-- 提示框主体(简化HTML结构,避免嵌套问题) -->
<div style="background-color: #f8f9fa; border: 1px solid #e3f2fd; border-left: 4px solid #2196f3; border-radius: 4px; padding: 16px; margin: 16px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05);">
<div style="background-color: #f8f9fa; border: 1px solid #e3f2fd; border-left: 4px solid #2196f3; border-radius: 4px; padding: 16px; margin: 16px 0; box-shadow: 0 1px 3px rgba(0,0,0,0.05);">
<div style="display: flex; align-items: flex-start; gap: 12px;">
  <div style="display: flex; align-items: flex-start; gap: 12px;">
<!-- 图标部分 -->
    <!-- 图标(直接使用原生表情,无需扩展) -->
<div style="color: #2196f3; font-size: 24px; line-height: 1; padding-top: 2px;">
    <div style="color: #2196f3; font-size: 24px; line-height: 1; padding-top: 2px;">⚒️</div>
{{#if: {{#extensionexists: FontAwesome}} |
   
<i class="fas fa-pencil-alt"></i> |
    <!-- 文字内容 -->
⚒️}}
    <div style="flex: 1;">
</div>
      <div style="font-size: 15px; font-weight: 500; color: #2d3748; margin-bottom: 4px;">页面待完善</div>
<!-- 文字部分 -->
      <div style="font-size: 14px; color: #4a5568; line-height: 1.5;">
<div style="flex: 1;">
        此页面的信息有待补充和完善。如果您有相关知识或资料,欢迎<a href="{{fullurl:{{PAGENAME}}|action=edit}}" style="color: #2196f3; text-decoration: underline;">编辑本页面</a>共同改进!
<div style="font-size: 15px; font-weight: 500; color: #2d3748; margin-bottom: 4px;">页面待完善</div>
      </div>
<div style="font-size: 14px; color: #4a5568; line-height: 1.5;">
     
此页面的信息有待补充和完善。如果您有相关知识或资料,欢迎<span style="color: #2196f3; text-decoration: underline; cursor: pointer;">编辑本页面</span>共同改进!
      <!-- 可选:显示未完成原因(仅当填写原因参数时显示) -->
</div>
      {{#if: {{{原因|}}} |
{{#if: {{{ 原因 | }}} |  
        <div style="margin-top: 8px; padding-top: 8px; border-top: 1px dashed #dee2e6; font-size: 13px; color: #718096;">
<div style="margin-top: 8px; padding-top: 8px; border-top: 1px dashed #dee2e6; font-size: 13px; color: #718096;">
          <strong>补充说明:</strong> {{{原因}}}
<strong>补充说明:</strong> {{{ 原因 }}}
        </div>
</div> | }}
      |}}
</div>
    </div>
  </div>
</div>
</div>
</includeonly>
</includeonly>
第24行: 第29行:
<noinclude>
<noinclude>
== 模板说明 ==
== 模板说明 ==
用于标注内容未完成、需要补充完善的页面,自动将页面归类到「未完成页面」分类(可关闭)。
用于标注内容未完成、需要补充完善的页面(兼容MediaWiki默认环境,无需任何扩展)。


=== 使用方法 ===
=== 使用方法 ===
* 基础用法(仅显示默认提示):
* 基础用法(默认显示提示+自动分类):
<code><nowiki>{{未完成}}</nowiki></code>
<code><nowiki>{{未完成}}</nowiki></code>


* 带补充说明(说明未完成的具体原因):
* 带补充说明(标注具体未完成原因):
<code><nowiki>{{未完成|原因=缺少历史背景介绍和最新数据}}</nowiki></code>
<code><nowiki>{{未完成|原因=缺少历史背景介绍和最新数据}}</nowiki></code>


* 不自动归类(仅显示提示,不加入分类):
* 不自动归类(仅显示提示,不加入分类):
<code><nowiki>{{未完成|nocat=true}}</nowiki></code>
<code><nowiki>{{未完成|nocat=1}}</nowiki></code>


=== 参数说明 ===
=== 参数说明 ===
第40行: 第45行:
! 参数名 !! 可选/必选 !! 说明 !! 默认值
! 参数名 !! 可选/必选 !! 说明 !! 默认值
|-
|-
| 原因 || 可选 || 补充说明未完成的具体内容或需要补充的方向 || 无
| 原因 || 可选 || 未完成的具体内容或需要补充的方向 || 无
|-
|-
| nocat || 可选 || 是否关闭自动分类(true/false) || false
| nocat || 可选 || 填写任意值(如1、true)即可关闭自动分类 || 无(默认自动分类)
|}
|}
</noinclude>
</noinclude>

2025年11月27日 (四) 18:22的版本


模板说明

用于标注内容未完成、需要补充完善的页面(兼容MediaWiki默认环境,无需任何扩展)。

使用方法

  • 基础用法(默认显示提示+自动分类):

{{未完成}}

  • 带补充说明(标注具体未完成原因):

{{未完成|原因=缺少历史背景介绍和最新数据}}

  • 不自动归类(仅显示提示,不加入分类):

{{未完成|nocat=1}}

参数说明

参数名 可选/必选 说明 默认值
原因 可选 未完成的具体内容或需要补充的方向
nocat 可选 填写任意值(如1、true)即可关闭自动分类 无(默认自动分类)