テンプレート:AutoUnsigned
- ショートカット
- Autounsigned
このテンプレートは、モジュール:Unsignedを使用しています。また、このスクリプトはLuaで書かれています。 詳しくは、wp:Luaやmw:Extension:Scribuntoをご覧ください。 |
This template should be added after the last unsigned comment if and only if nobody edited since that comment. Otherwise, use {{unsigned}}
instead.
使用法[ソースを編集]
The template works like {{unsigned}}
, except it automatically adds the username and time stamp from the last revision of the page. This template should always be substituted, and if it isn't, the page will be added to Category:AutoUnsigned template used incorrectly and will display an error.
The parameter {{{date}}}
can be set to 1
or only
to only add the date, or set to 0
or none
to remove the date. If unset, the template returns both the username and the date.
例[ソースを編集]
{{subst:autoUnsigned}}
Would give: ——以上の署名の無いコメントは、5:31, 16 6月 2015 (UTC) に投稿されたものです。~~~~ を追加してください
{{subst:autoUnsigned|date=0}}
Would give: ——以上の署名の無いコメントは、ものです。~~~~ を追加してください
{{subst:autoUnsigned|date=1}}
Would give: ——以上のundatedコメントは、5:31, 16 6月 2015 (UTC) に投稿されたものです。~~~~ を追加してください