「テンプレート:User current age/months」の版間の差分


Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /home/lfg/itchan.official.jp/public_html/wiki/includes/parser/Preprocessor_DOM.php on line 845
提供: iTchan Wiki
移動先: 案内、 検索
(Template:User current ageの部分)
 
細 (1版)
 
(相違点なし)

2014年4月1日 (火) 19:38時点における最新版

{{#ifexpr:10-{{{month}}}<0

|{{#expr:12-(3<{{{day}}})+10-{{{month}}}}}
|{{#ifexpr:{{{day}}}<=3
 |{{#expr:10-{{{month}}}}}
 |{{#ifexpr:10-{{{month}}}-1<0
  |{{#ifexpr:10={{{month}}}
   |11
   |0
  }}
  |{{#expr:10-{{{month}}}-1}}
 }}
}}

}}