跳转到内容

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

来自获嘉一中Wiki
StarNguyen1留言 | 贡献
无编辑摘要
StarNguyen移动页面模板:页面未完善模板:页面待完善,不留重定向:​标题有错别字
 
(未显示2个用户的5个中间版本)
第1行: 第1行:
<includeonly>
<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>
     <div style="color: #2196f3; font-size: 24px; line-height: 1; padding-top: 2px;">⚒️</div>
   
    <!-- 文字内容 -->
     <div style="flex: 1;">
     <div style="flex: 1;">
       <div style="font-size: 15px; font-weight: 500; color: #2d3748; margin-bottom: 4px;">页面待完善</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="font-size: 14px; color: #4a5568; line-height: 1.5;">此页面的信息有待补充和完善。如果您有相关知识或资料,欢迎[[Special:Edit/{{PAGENAME}}|编辑本页面]]共同改进!</div></div></div></div></includeonly>
        此页面的信息有待补充和完善。如果您有相关知识或资料,欢迎<a href="{{fullurl:{{PAGENAME}}|action=edit}}" style="color: #2196f3; text-decoration: underline;">编辑本页面</a>共同改进!
      </div>
     
      <!-- 可选:显示未完成原因(仅当填写原因参数时显示) -->
      {{#if: {{{原因|}}} |
        <div style="margin-top: 8px; padding-top: 8px; border-top: 1px dashed #dee2e6; font-size: 13px; color: #718096;">
          <strong>补充说明:</strong> {{{原因}}}
        </div>
      |}}
    </div>
  </div>
</div>
</includeonly>


<noinclude>
<noinclude>
== 模板说明 ==
== 模板说明 ==
用于标注内容未完成、需要补充完善的页面(兼容MediaWiki默认环境,无需任何扩展)。
纯原生适配版!链接用Wiki语法,布局仅保留必要HTML,零解析异常。


=== 使用方法 ===
=== 使用方法 ===
* 基础用法(默认显示提示+自动分类):
直接在页面插入:
<code><nowiki>{{未完成}}</nowiki></code>
<code><nowiki>{{页面未完善}}</nowiki></code>
 
* 带补充说明(标注具体未完成原因):
<code><nowiki>{{未完成|原因=缺少历史背景介绍和最新数据}}</nowiki></code>


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


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

2025年11月27日 (四) 23:38的最新版本


模板说明

纯原生适配版!链接用Wiki语法,布局仅保留必要HTML,零解析异常。

使用方法

直接在页面插入: {{页面未完善}}