Template:POV:修订间差异

云云​(留言 | 贡献)
无编辑摘要
云云​(留言 | 贡献)
无编辑摘要
第1行: 第1行:
<noinclude>
== 用法 ==
在条目顶部插入此模板,标记中立性存在争议的页面。
<pre>
{{中立性争议
| lang  = 语言代码(可选,默认 both)
| reason = 争议原因说明(可选)
| date  = 添加标签的日期(可选)
}}
</pre>
=== 参数说明 ===
{| class="wikitable"
! 参数 !! 说明 !! 可选 !! 默认值
|-
| <code>lang</code> || 显示语言。可选值:<code>zh</code>(中文)、<code>en</code>(英文)、<code>es</code>(西班牙文)、<code>fr</code>(法文)、<code>de</code>(德文)、<code>ja</code>(日文)、<code>ko</code>(韩文)、<code>ru</code>(俄文)、<code>ar</code>(阿拉伯文)、<code>pt</code>(葡萄牙文)、<code>it</code>(意大利文)、<code>both</code>(双语) || 是 || <code>both</code>
|-
| <code>reason</code> || 争议的具体原因,会显示在标题下方 || 是 || 无
|-
| <code>date</code> || 添加此标签的日期,格式如 <code>2026-7</code>、<code>2026-07</code>、<code>2026-7-30</code>、<code>2026-07-30</code> 均可 || 是 || 无
|}
=== 示例 ===
'''基础用法(默认双语):'''
<pre>
{{中立性争议}}
</pre>
'''指定中文并说明原因:'''
<pre>
{{中立性争议|lang=zh|reason=内容过度偏向甲方观点}}
</pre>
'''完整参数(带日期):'''
<pre>
{{中立性争议|lang=zh|reason=内容过度偏向甲方观点|date=2026年7月}}
</pre>
'''英文版本:'''
<pre>
{{中立性争议|lang=en|reason=Content heavily favors one side|date=July 2026}}
</pre>
== 注意事项 ==
* 添加此模板后,请同时在条目讨论页说明争议的具体细节,以便其他编辑者参与改进。
* 争议解决后,请及时移除此模板。
* 请勿滥用此模板进行编辑战。
== 分类 ==
添加此模板的页面会自动归入 [[:Category:中立性有争议]]。
== 参见 ==
* [[轻之舟百科:方针|中立性观点方针]]
* [[Template:来源请求]]
* [[Template:需要扩充]]
[[Category:维护模板]]
[[Category:中立性模板]]
<templatedata>
{
"description": "Mark articles with disputed neutrality",
"params": {
"lang": {
"label": "Language",
"description": "Display language",
"type": "string",
"required": false,
"default": "both",
"suggestedvalues": [
"zh",
"en",
"es",
"fr",
"de",
"ja",
"ko",
"ru",
"ar",
"pt",
"it",
"both"
]
},
"reason": {
"label": "Reason",
"description": "Specific reason for the neutrality dispute",
"type": "string",
"required": false,
"default": ""
},
"date": {
"label": "Date",
"description": "Date when the tag was added. Accepts formats like 2026-7, 2026-07, 2026-7-30, 2026-07-30",
"type": "string",
"required": false,
"default": "",
"example": "2026-7"
}
},
"paramOrder": [
"lang",
"reason",
"date"
]
}
</templatedata>
</noinclude>
<div style="background:#fef7f0; border:2px solid #e8a33d; padding:12px 15px; margin:10px 0; border-radius:4px; font-size:90%; line-height:1.6;">
<div style="background:#fef7f0; border:2px solid #e8a33d; padding:12px 15px; margin:10px 0; border-radius:4px; font-size:90%; line-height:1.6;">
{{#switch: {{{lang|both}}}
{{#switch: {{{lang|both}}}
第82行: 第198行:
</div>
</div>
[[Category:中立性有争议]]
[[Category:中立性有争议]]
<noinclude>
== 用法 ==
在条目顶部插入此模板,标记中立性存在争议的页面。
<pre>
{{中立性争议
| lang  = 语言代码(可选,默认 both)
| reason = 争议原因说明(可选)
| date  = 添加标签的日期(可选)
}}
</pre>
=== 参数说明 ===
{| class="wikitable"
! 参数 !! 说明 !! 可选 !! 默认值
|-
| <code>lang</code> || 显示语言。可选值:<code>zh</code>(中文)、<code>en</code>(英文)、<code>es</code>(西班牙文)、<code>fr</code>(法文)、<code>de</code>(德文)、<code>ja</code>(日文)、<code>ko</code>(韩文)、<code>ru</code>(俄文)、<code>ar</code>(阿拉伯文)、<code>pt</code>(葡萄牙文)、<code>it</code>(意大利文)、<code>both</code>(双语) || 是 || <code>both</code>
|-
| <code>reason</code> || 争议的具体原因,会显示在标题下方 || 是 || 无
|-
| <code>date</code> || 添加此标签的日期,格式建议如 <code>2026年7月</code> 或 <code>2026-07-31</code> || 是 || 无
|}
=== 示例 ===
'''基础用法(默认双语):'''
<pre>
{{中立性争议}}
</pre>
'''指定中文并说明原因:'''
<pre>
{{中立性争议|lang=zh|reason=内容过度偏向甲方观点}}
</pre>
'''完整参数(带日期):'''
<pre>
{{中立性争议|lang=zh|reason=内容过度偏向甲方观点|date=2026年7月}}
</pre>
'''英文版本:'''
<pre>
{{中立性争议|lang=en|reason=Content heavily favors one side|date=July 2026}}
</pre>
== 注意事项 ==
* 添加此模板后,请同时在条目讨论页说明争议的具体细节,以便其他编辑者参与改进。
* 争议解决后,请及时移除此模板。
* 请勿滥用此模板进行编辑战。
== 分类 ==
添加此模板的页面会自动归入 [[:Category:中立性有争议]]。
== 参见 ==
* [[轻之舟百科:方针|中立性观点方针]]
* [[Template:来源请求]]
* [[Template:需要扩充]]
[[Category:维护模板]]
[[Category:中立性模板]]
</noinclude>
<templatedata>
{
  "description": "标记条目中立性存在争议的维护模板",
  "params": {
    "lang": {
      "label": "语言",
      "description": "显示语言",
      "type": "string",
      "required": false,
      "default": "both",
      "suggestedvalues": ["zh", "en", "es", "fr", "de", "ja", "ko", "ru", "ar", "pt", "it", "both"]
    },
    "reason": {
      "label": "原因",
      "description": "争议的具体原因说明",
      "type": "string",
      "required": false,
      "default": ""
    },
    "date": {
      "label": "日期",
      "description": "添加此标签的日期",
      "type": "date",
      "required": false,
      "default": "",
      "example": "2026年7月"
    }
  },
  "paramOrder": ["lang", "reason", "date"]
}
</templatedata>