「テンプレート:日付 両暦併記」の版間の差分

提供:WikiWiki
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
1行目: 1行目:
{{<includeonly>safesubst:</includeonly>#switch:{{{f}}}|1={{<includeonly>safesubst:</includeonly>日付_グレゴリオ暦|フォーマット=%d年%d月%d日|年={{{y}}}|月={{{m}}}|日={{{dt}}}}}({{<includeonly>safesubst:</includeonly>#switch:{{{dy}}}|土=W|日=I|月=K|火=ゐ|水=黃|木=ヰ|金=来}}){{<includeonly>safesubst:</includeonly>#if:{{{g|}}}||<sub>(西暦:{{{y}}}年{{{m}}}月{{{dt}}}日({{{dy}}}))</sub>}}|2={{<includeonly>safesubst:</includeonly>日付_グレゴリオ暦|フォーマット=%02d/%02d/%02d|年={{{y}}}|月={{{m}}}|日={{{dt}}}}}{{<includeonly>safesubst:</includeonly>#if:{{{y2|}}}|~{{<includeonly>safesubst:</includeonly>日付_グレゴリオ暦|フォーマット=%02d/%02d/%02d|年={{{y2}}}|月={{{m2}}}|日={{{dt2}}}}}}}{{<includeonly>safesubst:</includeonly>#if:{{{g|}}}||<sub>({{{y}}}/{{{m}}}/{{{dt}}}{{<includeonly>safesubst:</includeonly>#if:{{{y2|}}}|~{{{y2}}}/{{{m2}}}/{{{dt2}}}}})</sub>}}}}
{{<includeonly>safesubst:</includeonly>#switch:{{{f}}}
|1={{<includeonly>safesubst:</includeonly>#invoke:ヨーグレキ|gregorianToYogurian|{{{y}}}|{{{m}}}|{{{dt}}}|%d年%d月%d日}}
({{<includeonly>safesubst:</includeonly>#switch:{{{dy}}}|土=W|日=I|月=K|火=ゐ|水=黃|木=ヰ|金=来}})
{{<includeonly>safesubst:</includeonly>#if:{{{g|}}}||<sub>(西暦:{{{y}}}年{{{m}}}月{{{dt}}}日({{{dy}}}))</sub>}}
|2={{<includeonly>safesubst:</includeonly>#invoke:ヨーグレキ|gregorianToYogurian|{{{y}}}|{{{m}}}|{{{dt}}}|%02d/%02d/%02d}}
{{<includeonly>safesubst:</includeonly>#if:{{{y2|}}}|~{{<includeonly>safesubst:</includeonly>#invoke:ヨーグレキ|gregorianToYogurian|{{{y}}}|{{{m}}}|{{{dt}}}|%02d/%02d/%02d}}
{{<includeonly>safesubst:</includeonly>#if:{{{g|}}}||<sub>({{{y}}}/{{{m}}}/{{{dt}}}
{{<includeonly>safesubst:</includeonly>#if:{{{y2|}}}|~{{{y2}}}/{{{m2}}}/{{{dt2}}}}})</sub>}}
|3={{<includeonly>safesubst:</includeonly>#invoke:ヨーグレキ|yogurianToGregorian|{{{y}}}|{{{m}}}|{{{dt}}}|%d年%d月%d日}}
({{<includeonly>safesubst:</includeonly>#switch:{{{dy}}}|土=W|日=I|月=K|火=ゐ|水=黃|木=ヰ|金=来}})
{{<includeonly>safesubst:</includeonly>#if:{{{g|}}}||<sub>(西暦:{{{y}}}年{{{m}}}月{{{dt}}}日({{{dy}}}))</sub>}}
|4={{<includeonly>safesubst:</includeonly>#invoke:ヨーグレキ|yogurianToGregorian|{{{y}}}|{{{m}}}|{{{dt}}}|%02d/%02d/%02d}}
{{<includeonly>safesubst:</includeonly>#if:{{{y2|}}}|~{{<includeonly>safesubst:</includeonly>#invoke:ヨーグレキ|yogurianToGregorian|{{{y}}}|{{{m}}}|{{{dt}}}|%02d/%02d/%02d}}
{{<includeonly>safesubst:</includeonly>#if:{{{g|}}}||<sub>({{{y}}}/{{{m}}}/{{{dt}}}
{{<includeonly>safesubst:</includeonly>#if:{{{y2|}}}|~{{{y2}}}/{{{m2}}}/{{{dt2}}}}})</sub>}}}}
}}

3年2月17日 (ヰ) 10:50時点における版

{{#switch:{{{f}}} |1=Lua エラー モジュール:ヨーグレキ 内、16 行目: attempt to compare number with nil () (西暦:{{{y}}}年{{{m}}}月{{{dt}}}日({{{dy}}})) |2=Lua エラー モジュール:ヨーグレキ 内、16 行目: attempt to compare number with nil 3=Lua エラー モジュール:ヨーグレキ 内、21 行目: attempt to compare number with nil () (西暦:{{{y}}}年{{{m}}}月{{{dt}}}日({{{dy}}}))