「テンプレート:Start date and date」の版間の差分
ナビゲーションに移動
検索に移動
細
編集の要約なし
>ReligiousK (ページの作成:「<includeonly>{{#if:{{{4|}}}|{{#expr:{{Gregorian serial date}}-{{Gregorian serial date|year={{{1}}}|month={{{2}}}|day={{{3}}}}}}}日|{{{1}}}年{{{2}}}月{{{3}}}日({{#ex…」) |
>ReligiousK 細編集の要約なし |
||
| 1行目: | 1行目: | ||
<includeonly>{{#if:{{{4|}}}|{{#expr:{{Gregorian serial date}}-{{Gregorian serial date|year={{{1}}}|month={{{2}}}|day={{{3}}}}}}}日|{{{1}}}年{{{2}}}月{{{3}}}日({{#expr:{{Gregorian serial date}}-{{Gregorian serial date|year={{{1}}}|month={{{2}}}|day={{{3}}}}}}}日前)}}</includeonly> | <includeonly>{{#if:{{{4|}}}|{{#expr:{{Gregorian serial date}}-{{Gregorian serial date|year={{{1}}}|month={{{2}}}|day={{{3}}}}}}}日|{{{1}}}年{{{2}}}月{{{3}}}日({{#expr:{{Gregorian serial date}}-{{Gregorian serial date|year={{{1}}}|month={{{2}}}|day={{{3}}}}}}}日前)}}</includeonly><noinclude> | ||
<noinclude> | |||
任意の日付は今日から何日前かを示すテンプレートです。 | 任意の日付は今日から何日前かを示すテンプレートです。 | ||
==概要== | ==概要== | ||
| 10行目: | 9行目: | ||
|- | |- | ||
|例 | |例 | ||
|<pre>{{Start date and date|<!--年-->|<!--月-->|<!--日-->}}</pre> | |||
|〇年〇月〇日(〇日前) | |||
|- | |||
|いつガチ | |||
|<pre>{{Start date and date|2012|3|8}}</pre> | |<pre>{{Start date and date|2012|3|8}}</pre> | ||
|{{Start date and date|2012|3|8}} | |{{Start date and date|2012|3|8}} | ||