「Template:Comment withdraw」:修訂間差異

模板頁面
(创建页面,内容为“<div style="clear: both; margin: 1em auto; border: #999 solid 1px; padding: 0.2em; color: #333; font-size: 80%;">註:<includeonly>{{{{{|safesubst:}}}ifsubst |</includeonly>{{{{{|safesubst:}}}#switch:{{{Type|{{{type|{{{t|1}}}}}}}}} |1=此留言已被原作者(<noinclude>Example</noinclude><includeonly>[[User:{{{{{|safesubst:}}}REVISIONUSER}}]]</includeonly>)移除。{{{{{|safesubst:}}}#if:{{{User|{{{user|{{{u|}}}}}}}}}|{{error|<span style=…”)
 
(// Edit via Wikiplus)
 
(未顯示由 1 位使用者於中間所作的 1 次修訂)
第1行: 第1行:
<div style="clear: both; margin: 1em auto; border: #999 solid 1px; padding: 0.2em; color: #333; font-size: 80%;">:<includeonly>{{{{{|safesubst:}}}ifsubst
<div style="clear: both; margin: 1em auto; border: #999 solid 1px; padding: 0.2em; color: #333; font-size: 80%;">:<includeonly>{{{{{|safesubst:}}}ifsubst
|</includeonly>{{{{{|safesubst:}}}#switch:{{{Type|{{{type|{{{t|1}}}}}}}}}
|</includeonly>{{{{{|safesubst:}}}#switch:{{{Type|{{{type|{{{t|1}}}}}}}}}
|1=此留言已被原作者(<noinclude>[[User:Example|Example]]</noinclude><includeonly>[[User:{{{{{|safesubst:}}}REVISIONUSER}}]]</includeonly>)移除。{{{{{|safesubst:}}}#if:{{{User|{{{user|{{{u|}}}}}}}}}|{{error|<span style="font-size:115%">模板[[Template:Comment withdraw]]错误:</span>您的模板参数设置有误(指定了type的值为1,但指定了user,请参考[[Template:Comment_withdraw]]进行修复)}}
|1=此留言已被原作者(<noinclude>[[User:Example|Example]]</noinclude><includeonly>[[User:{{{{{|safesubst:}}}REVISIONUSER}}]]</includeonly>)移除。{{{{{|safesubst:}}}#if:{{{User|{{{user|{{{u|}}}}}}}}}|{{error|<span style="font-size:115%">模板[[Template:Comment withdraw]]错误:</span>您的模板参数设置有误(指定了type的值为1,但指定了user,请参考[[Template:Comment_withdraw]]进行修复)}}
第8行: 第8行:
}}
}}
|#default={{error|<span style="font-size:115%">模板[[Template:Comment withdraw]]错误:</span>您的模板参数设置有误(必须'''正确'''设置Type和/或User参数,请参考[[Template:Comment_withdraw]]进行修复)}}
|#default={{error|<span style="font-size:115%">模板[[Template:Comment withdraw]]错误:</span>您的模板参数设置有误(必须'''正确'''设置Type和/或User参数,请参考[[Template:Comment_withdraw]]进行修复)}}
}}<includeonly>|{{error|<span style="font-size:115%">模板[[Template:Comment withdraw]]错误:</span>此模板必须替换引用!!!)}}
}}
<includeonly>|{{error|<span style="font-size:115%">模板[[Template:Comment withdraw]]错误:</span>此模板必须替换引用!!!)}}
}}</includeonly><span style="font-size:85%">{{{{{|safesubst:}}}5~}}</span></div><noinclude>
}}</includeonly><span style="font-size:85%">{{{{{|safesubst:}}}5~}}</span></div><noinclude>
{{Documentation}}
{{Documentation}}

於 2023年9月18日 (一) 22:52 的最新修訂

註:此留言已被原作者(Example)移除。~~~~~
文檔圖示 模板文件[檢視] [編輯] [查看歷史] [清除快取]

用途

基於LIB:文明的理念所創作。

模板設計來源於HELP:討論頁中的Placeholder。

用於維基人收回自己的意見或評論。

用法

{{subst:Comment withdraw|type=<type>|user=<user>}}

  • <type>:
    • <type>=1:當您是該評論的原作者,請使用這個參數。type參數可以省略, 這時則自動設置為1.
    • <type>=2:當您對他人的評論進行後續評論,但對方已經刪除評論,並已經致以歉意時,請使用這個參數。
  • <user>:用於您使用了<type>=2參數時,指定您所評論的對象。
  • user和type可以用t和u代替。

例子

{{subst:Comment withdraw}}

{{subst:Comment withdraw|type=1}}

顯示為:

此留言已被原作者(User:Example)移除。~~~~~

{{subst:Comment withdraw|type=2|user=Example}} 
顯示為:
對原作者(User:Example)的回應留言已被回應者(User:Example2)移除。~~~~~

注意

本模板僅支持替換引用

使用本模板時,您不需要簽名。模板會自動將您的名字寫上。

請注意:如果模板檢測到您的參數輸入不正確,將不會輸出正確的模板消息,取而代之的是錯誤信息。這時請重新編輯,刪除引用部分後,再次用替換引用使用本模板。

重定向

請注意:以下模板同樣需要使用替換引用!

另見

上述文檔內容嵌入自Template:Comment withdraw/doc編輯 | 歷史
編者可以在本模板的沙盒創建 | 鏡像和測試樣例創建頁面進行實驗。
請將模板自身所屬的分類添加在文檔中。本模板的子頁面