コンテンツにスキップ

Template:Dow tooltip/doc

Usage[編集]

Displays the day of the week in a tooltip for dates. For compatibility with current usage, the date displays the date as month and the day by default, but this can be altered by using |df= (short for "date format") with #time parser function syntax (examples below).

Example usage:

  • {{Dow tooltip|2024年7月6日 16:26 (協定世界時)}} displays <span title="エラー: 日時が無効です。" style="border-bottom:1px dotted">エラー: 日時が無効です。
  • {{Dow tooltip|2024年7月6日 16:26 (協定世界時)|df=j F}} displays <span title="エラー: 日時が無効です。" style="border-bottom:1px dotted">エラー: 日時が無効です。
  • {{Dow tooltip|2024年7月6日 16:26 (協定世界時)|df=F j, Y}} displays <span title="エラー: 日時が無効です。" style="border-bottom:1px dotted">エラー: 日時が無効です。
  • {{Dow tooltip|2024年7月6日 16:26 (協定世界時)|df=j F Y}} displays <span title="エラー: 日時が無効です。" style="border-bottom:1px dotted">エラー: 日時が無効です。