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

ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
編集の要約なし
 
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>}}|3={{<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>}}|4={{<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>日付_グレゴリオ暦|フォーマット=%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>}}|3={{<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>}}|4={{<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>}}}}<noinclude>
<templatedata>
{
"params": {
"f": {
"description": "形式を選べ! 1は西暦→グレキ、2は西暦→グレキ(簡易版&&範囲のやつも可能)、3は1のグレキ→西暦版、4は2のグレキ→西暦版",
"example": "1",
"type": "number",
"required": true
},
"y": {
"description": "年を入れろ",
"example": "1",
"type": "number",
"required": true
},
"m": {
"description": "月を入れろ",
"example": "1",
"type": "number",
"required": true
},
"dt": {
"description": "日を入れろ",
"example": "1",
"type": "number",
"required": true
},
"dy": {
"description": "曜日を入れろ(グレキ・西暦どっちにしろこっちに入れろ)",
"example": "月",
"type": "string",
"required": true
},
"g": {
"description": "変換前の日付を変換後の日付と併記するか否か選べ",
"example": "dじゃんdjsんdじゃんfk",
"required": true
},
"y2": {
"description": "f=2,4のとき使えるyの二個目のやつ",
"example": "2",
"type": "number",
"required": true
},
"m2": {
"description": "f=2,4のとき使えるmの二個目のやつ",
"example": "2",
"type": "number",
"required": true
},
"dt2": {
"description": "f=2,4のとき使えるdtの二個目のやつ",
"example": "2",
"type": "number",
"required": true
}
},
"description": "グレキ→西暦、西暦→グレキができるよ!!!!!!!!!!!"
}
</templatedata></noinclude>
8,864

回編集

案内メニュー