模板:Confusing/doc

維基百科,自由的百科全書
跳至導覽 跳至搜尋

用法[編輯]

  • 該模板將標記的文章分類為:Category:需要澄清文字的條目.
  • 通過在模板名稱後添加代碼 `|article` 或 `|section`,您可以指定該模板應用於文章(默認)還是章節。 此外,Template:Confusing section 模板專門用於章節。
  • 建議使用 `reason` 參數解釋令人困惑的地方。 例如:
{{Confusing|date=6月 2026|reason=Wangler 以复数形式出现,但图中只显示了一个}}
  • 當進行討論頁討論時,可以通過 |talk= 參數添加指向該討論的直接連結。 例如:
{{Confusing|date=6月 2026|talk=Template talk:Confusing#Talk 参数必需!}}
  • 不要在 reason 參數的末尾添加句號,因為模板會自動添加句號。
  • 請不要 subst:(替換引用)此模板。

{{Confusing|small=left}} 生成:

{{Confusing|small=left|reason=the tensing of the article is ambiguous}} 生成:

模板結構[編輯]

以下是該模板的模板資料,適用於視覺化編輯器等工具。

Confusing模板資料

<templatedata> { "description": "This template is used to mark an article or section as confusing and in need of clarification.", "params": { "1": { "label": "Article or section?", "type": "string", "description": "Set to 'section' to specify that you are referring to the section", "default": "article" }, "talk": { "label": "Discussion location", "description": "The location at which the discussion on the issue is being held. Should be full page name, followed by #, followed by section name. Please do not enclose between and . The link will be automatically formatted using the section sign (§).", "example": "Template talk:Confusing#Talk parameter please!", "type": "wiki-page-name", "suggested": true }, "reason": { "label": "What is confusing?", "type": "string", "description": "Explain what part of the text needs to be clarified." }, "date": { "label": "Date", "type": "date", "description": "The date this template was added, in the format [full month name] [full year].", "example": "January 2015", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "required": true }, "small": { "type": "string", "description": "Set to 'left' if a small version should be shown instead of the default", "label": "Small?" } }, "paramOrder": [ "1", "talk", "reason", "date", "small" ], "format": "inline" } </templatedata>

參見[編輯]