跳至內容

「Template:@」:修訂間差異

出自锑星百科
Xtmfd1移动页面Template:PingTemplate:@
無編輯摘要
 
第1行: 第1行:
{{#if:{{{1|<noinclude>$</noinclude>}}}
{{<includeonly>safesubst:</includeonly>#invoke:Reply to|replyto|template=Template:Reply to|max=50|@={{{@|@}}}|p={{{p|}}}|c={{{c|、}}}|c2={{{c2|{{{c|、}}}}}}<noinclude>|example=Example</noinclude>}}<noinclude>{{documentation}}</noinclude>
|@-{[[User:{{{1|Example}}}|{{{1|Example}}}]]{{#if:{{{2|}}}
  |、[[User:{{{2}}}|{{{2}}}]]{{#if:{{{3|}}}
  |、[[User:{{{3}}}|{{{3}}}]]{{#if:{{{4|}}}
    |、[[User:{{{4}}}|{{{4}}}]]{{#if:{{{5|}}}
    |、[[User:{{{5}}}|{{{5}}}]]{{#if:{{{6|}}}
      |、[[User:{{{6}}}|{{{6}}}]]{{#if:{{{7|}}}
      |、[[User:{{{7}}}|{{{7}}}]]{{#if:{{{8|}}}
        |、[[User:{{{8}}}|{{{8}}}]]{{#if:{{{9|}}}
        |、[[User:{{{9}}}|{{{9}}}]]{{#if:{{{10|}}}
          |、[[User:{{{10}}}|{{{10}}}]]
        }}
        }}
      }}
      }}
    }}
    }}
  }}
  }}
}}}-{{{p|:}}}
|{{error|使用回覆模板時出現錯誤:並無提供-{zh:使用者名稱;zh-tw:使用者名稱;zh-cn:用户名;}-。模板用法見於[[Template:Reply to]]。}}
}}{{#if:{{{11|}}}|{{error|回复模板最多支持10个-{zh-hant:用戶;zh-tw:使用者;zh-hans:用户;}-。如果需要超过10个,必须使用多个模板。模板用法見於[[Template:Reply to]]。}}|}}<noinclude>
{{documentation}}
</noinclude>

於 2023年12月27日 (三) 15:16 的最新修訂

@Example

Documentation icon 模板文件[檢視] [編輯] [頁面歷史] [清除]

Template:Documentation subpage Template:Template shortcut Template:High-use

用途[編輯]

本模板可利用新的用戶提及通知功能來ping你想要在討論頁回覆的用戶(不用Template:Tlx模板)。可以用在任意的討論頁或維基百科命名空間。

本模版對不連貫的討論很有用,可以用來在回覆他人時標註自己回覆的人是誰。如果你認為本模板在討論中沒有用,你還可以用 Template:Tlx 模板來在用戶的討論頁標示你想要回覆的話題。

注意如果你已經從你的回覆中鏈接他的用戶名不需要使用本模板去ping(提示)用戶。

請不要濫用「提及」功能,以免對其他用戶構成騷擾。濫用功能者可能被加入黑名單或招致封禁

Template:注意:對IP用戶使用本模板是無效的,IP用戶無法接收到本模板的提及。

一人接收[編輯]

使用時只需按如下方式發表言論:

{{reply to|User1}}消息。--~~~~

例如:「{{reply to|Example}}訊息。」會顯示:

Template:Reply to訊息。

使用此模板時,必須同時在章節內簽名(~~~~)才能生效。這即是說,您要在留言中追加或修改接收用戶,也需要重新留波浪線簽名。

如果你沒有填寫用戶名稱,直接寫{{reply to}},就會變成:
Template:Reply to

多人接收[編輯]

你可以一次性回覆10人:

{{reply to|User1|UserII|UserC}} Message text. ~~~~

如果ping 12人,必須使用ping 2次,1次ping 10人,還有1次ping 2人。

如果超過10人,就會變成:

{{reply to|Example|Example2|Example3|Example4|Example5|Example6|Example7|Example8|Example9|Example10|Example11}}

Template:Reply to

自定標點[編輯]

本模板默認在用戶名之後加入一個冒號。你可以通過參數Template:Para指定需要的符號,例如:

重定向[編輯]

變體[編輯]

  • Template:Tlx - 不含「:」。
  • Template:Tlx - 在ping人的時候不顯示任何東西,討論行文更加流暢。且可以ping高達50人。
  • Template:Tlx – 鏈接到一個用戶頁面,不包括「@」和「:」

Template:Sandbox other

模板參數[編輯]

<templatedata> { "params": { "1": { "label": "用戶", "description": "您想要標註的用戶", "example": "Example", "type": "wiki-user-name", "required": true }, "2": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "3": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "4": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "5": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "6": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "7": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "8": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "9": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "10": { "label": "用戶", "description": "您想要標註的用戶", "type": "wiki-user-name", "example": "Example" }, "p": { "label": "符號", "description": "指定需要的符號以取代冒號", "example": "---", "type": "string" } }, "description": "利用新的用戶提及通知功能來ping想要回覆的用戶。使用此模板時,必須同時在章節內簽名才能生效。", "format": "inline" } </templatedata>

Cookies 幫助我們給予服務內容。依您有使用我們的服務,代表您同意我們使用 cookies。