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

表单:词条:修订间差异

来自失传媒体中文维基
IDOMOY
IDOMOY留言 | 贡献
IDOMOY
IDOMOY留言 | 贡献
第1行: 第1行:
{{{info|query form at top}}}
{{{info|query form at top}}}


<div class="launcher-box">
<div class="lightblock">
=== 创建新词条 ===
=== 创建新词条 ===


'''输入标题'''
'''输入标题'''
{{{field|target_title|input type=regexp|regexp=/^.+$/|message=标题不能为空}}}
{{{field|title|input type=text|mandatory}}}


'''选择标签'''
'''选择标签'''
第11行: 第11行:
* 状态: {{{field|status|input type=dropdown|values=丢失, 部分发现, 发现, 来源不明, 部分确定, 来源确定, 存在性待定, 不存在}}}
* 状态: {{{field|status|input type=dropdown|values=丢失, 部分发现, 发现, 来源不明, 部分确定, 来源确定, 存在性待定, 不存在}}}


{{{standard input|run query|label=生成创建链接}}}
{{{standard input|run query|label=检查标题并生成链接}}}
</div>
</div>


{{#if:{{#queryparam:target_title}}|
{{#if:{{#queryparam:title}}|
====确认创建 ====
    <div style="margin-top: 15px; padding: 15px; border: 2px solid #36c;">
您即将创建:'''{{#queryparam:target_title}}'''
    ==== 结果确认 ====


[{{fullurl:{{#queryparam:target}}
    {{#ifexist: {{#queryparam:title}}
|action=edit
        | <!-- 情况 A: 标题重复 -->
&preload=Template:Preload_Item
          <span style="color: #d33; font-weight: bold;">⚠️ 提醒:词条 [[:{{#queryparam:title}}]] 已经存在。</span> 
&preloadparams%5B%5D={{urlencode:{{#queryparam:type}}}}
          为了防止覆盖内容,请:[[:{{#queryparam:title}}|点击此处直接访问已有页面]] 或返回上方修改标题。
&preloadparams%5B%5D={{urlencode:{{#queryparam:status}}}}
        | <!-- 情况 B: 标题可用,生成跳转 -->
}} 点击确认:进入标准编辑器]
          您即将创建:'''{{#queryparam:title}}''' 
          所属类型:{{#queryparam:type}} | 状态:{{#queryparam:status}}
 
          [{{fullurl:{{#queryparam:title}}|action=edit&preload=Template:Preload_Item&preloadparams%5B%5D={{urlencode:{{#queryparam:type}}}}&preloadparams%5B%5D={{urlencode:{{#queryparam:status}}}}}} [点击确认:进入标准编辑器完成创建]]
    }}
    </div>
}}
}}

2026年4月25日 (六) 18:17的版本

query form at top

创建新词条

输入标题 title

选择标签

  • 类型: type
  • 状态: status

run query

   ==== 结果确认 ====
   您即将创建:{{#queryparam:title}}  
         所属类型:{{#queryparam:type}}