「テンプレート:Infobox signal」の版間の差分

羽井出 (トーク | 投稿記録)
テンプレート作成
 
羽井出 (トーク | 投稿記録)
間にInfoboxを組み込めるように変更
 
(同じ利用者による、間の17版が非表示)
1行目: 1行目:
{{Infobox
{{Infobox
| name = Infobox signal
| name = Infobox signal
| title = {{#if: {{{title|}}}}}
| bodystyle = width: 20em;
| above = {{#if: {{{灯器の名称|}}}}}
| titlestyle = font-size:125%;
| subheader = {{#if: {{{subheader|}}}}}
| abovestyle  = background-color:#ccf; font-size:150%; padding:0.2em 0; width: 640px;
| image = {{#if: {{{画像|}}}}}
| headerstyle = background-color:#ccf;
| caption = {{#if: {{{画像の説明|}}}}}


| label2 = 上位分類
| title = {{{title|}}}
| data2 = {{#if: {{{上位分類|}}}}}
| above = {{{灯器の名称}}}
| label3 = 製造期間
| subheader = {{{subheader|}}}
| data3 = {{#if: {{{製造期間|}}}}}
| image = {{{画像|}}}
| label4 = 採用地域
| caption = {{{画像の説明|}}}
| data4 = {{#if: {{{採用地域|}}}}}
| label5 = 設置数
| data5 = {{#if: {{{設置数|}}}}}
| label6 = メーカー
| data6 = {{#if: {{{メーカー|}}}}}
| label7 = 警交仕規
| data7 = {{#if: {{{警交仕規|}}}}}
| label8 = レンズ
| data8 = {{#if: {{{レンズ|}}}}}
| label9 = アーム
| data9 = {{#if: {{{レンズ|}}}}}
| label10 = タイプ
| data10 = {{#if: {{{タイプ|}}}}}


| label11 = {{#if: {{{label11|}}}}}
| data1 = {{{組み込み1|}}}
| data11 = {{#if: {{{data11|}}}}}
| data2 = {{{組み込み2|}}}
| label12 = {{#if: {{{label12|}}}}}
| data3 = {{{組み込み3|}}}
| data12 = {{#if: {{{data12|}}}}}
 
| label13 = {{#if: {{{data13|}}}}}
| label11 = 上位分類
| data13 = {{#if: {{{label13|}}}}}
| data11 = {{{上位分類|}}}
| label14 = {{#if: {{{data14|}}}}}
| data12 = {{{組み込み12|}}}
| data14 = {{#if: {{{label14|}}}}}
| label13 = 製造期間
| data13 = {{{製造期間|}}}
| data14 = {{{組み込み14|}}}
| label15 = 採用地域
| data15 = {{{採用地域|}}}
| data16 = {{{組み込み16|}}}
| label17 = 残存数
| data17 = {{{残存数|}}}
| data18 = {{{組み込み18|}}}
| label19 = メーカー
| data19 = {{{メーカー|}}}
| data20 = {{{組み込み20|}}}
| label21 = {{{仕様書|}}}
| data21 = {{{仕様書番号|}}}
| data22 = {{{組み込み22|}}}
| label23 = レンズ
| data23 = {{{レンズ|}}}
| data24 = {{{組み込み24|}}}
| label25 = ユニット
| data25 = {{{ユニット|}}}
| data26 = {{{組み込み26|}}}
| label27 = アーム
| data27 = {{{アーム|}}}
| data28 = {{{組み込み28|}}}
| label29 = タイプ
| data29 = {{{タイプ|}}}
| data30 = {{{組み込み30|}}}
 
| label41 = {{{追加ラベル1|}}}
| data41 = {{{追加データ1|}}}
| label42 = {{{追加ラベル2|}}}
| data42 = {{{追加データ2|}}}
| label43 = {{{追加ラベル3|}}}
| data43 = {{{追加データ3|}}}
| label44 = {{{追加ラベル4|}}}
| data44 = {{{追加データ4|}}}
| label45 = {{{追加ラベル5|}}}
| data45 = {{{追加データ5|}}}
 
| data52 = {{{組み込み52|}}}
}}
}}


43行目: 68行目:
"description": "タイトル(Infoboxの上に表示)",
"description": "タイトル(Infoboxの上に表示)",
"type": "string",
"type": "string",
"deprecated": true
"deprecated": true,
"label": "title"
},
},
"灯器の名称": {
"灯器の名称": {
49行目: 75行目:
"example": "クチバシ",
"example": "クチバシ",
"type": "string",
"type": "string",
"suggested": true
"label": "灯器の名称",
"aliases": [
"1"
],
"required": true
},
},
"subheader": {
"subheader": {
"description": "サブヘッダー(灯器の説明の下に表示)",
"description": "サブヘッダー(灯器の説明の下に表示)",
"type": "string"
"type": "string",
"label": "subheader"
},
},
"画像": {
"画像": {
"description": "表示させたい画像",
"description": "表示させたい画像",
"type": "string"
"type": "string",
"label": "画像",
"aliases": [
"2"
],
"example": "[[ファイル:Kuchibashi.jpg|300px]]"
},
},
"画像の説明": {
"画像の説明": {
"description": "画像の説明",
"description": "画像の説明",
"example": "清水橋交差点(神奈川県)に設置されていたクチバシ",
"example": "清水橋交差点(神奈川県)に設置されていたクチバシ",
"type": "string"
"type": "string",
"label": "画像の説明",
"aliases": [
"3"
]
},
},
"上位分類": {
"上位分類": {
"description": "上位の分類",
"description": "上位の分類",
"example": "鉄板灯器",
"example": "鉄板灯器",
"type": "string"
"type": "string",
"label": "上位分類"
},
},
"製造期間": {
"製造期間": {
73行目: 114行目:
"example": "昭和53年末〜昭和56年3月",
"example": "昭和53年末〜昭和56年3月",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "製造期間",
"aliases": [
"4"
]
},
},
"採用地域": {
"採用地域": {
79行目: 124行目:
"example": "北海道、東京都、神奈川県、奈良県、大阪府など",
"example": "北海道、東京都、神奈川県、奈良県、大阪府など",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
},
"label": "採用地域"
"設置数": {
"description": "灯器の現在の設置数",
"example": "北海道、神奈川県、奈良県、大阪府などに少数",
"type": "string",
"suggested": true
},
},
"メーカー": {
"メーカー": {
91行目: 131行目:
"example": "京三製作所",
"example": "京三製作所",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
},
"label": "メーカー",
"警交仕規": {
"aliases": [
"description": "警交仕規の番号",
"5"
"example": "第23号",
]
"type": "string"
},
},
"レンズ": {
"レンズ": {
"description": "主に採用されていたレンズ",
"description": "主に採用されていたレンズ",
"example": "スタンレーヤマブキレンズ",
"example": "スタンレーヤマブキレンズ",
"type": "string"
"type": "string",
"label": "レンズ"
},
},
"タイプ": {
"タイプ": {
"description": "灯器をさらに分類したときの型",
"description": "灯器をさらに分類したときの型",
"example": "初期型、中期型、後期型、北海道型、豪雪型",
"example": "初期型、中期型、後期型、北海道型、豪雪型",
"type": "string"
"type": "string",
},
"label": "タイプ"
"label11": {
"description": "予備ラベル"
},
},
"label12": {},
"label13": {},
"label14": {},
"アーム": {
"アーム": {
"description": "主に採用されていたアーム",
"description": "主に採用されていたアーム",
"example": "通常アーム",
"example": "通常アーム",
"type": "string",
"label": "アーム"
},
"仕様書": {
"label": "仕様書",
"description": "仕様書名(警交仕規、警管仕など)",
"example": "警交仕規",
"type": "string",
"suggestedvalues": [
"警交仕規",
"警管仕",
"静交規仕",
"静管仕",
"埼警交仕規",
"大警交仕規",
"京警交仕規"
],
"default": "警交仕規",
"autovalue": "警交仕規"
},
"仕様書番号": {
"label": "仕様書番号",
"description": "準拠する仕様書の番号。",
"example": "[[警交仕規第23号|第23号]]",
"type": "string"
},
"残存数": {
"label": "残存数",
"description": "現在残っている灯器の数",
"example": "北海道、神奈川県、奈良県、大阪府などに少数",
"type": "string",
"suggested": true
},
"ユニット": {
"description": "主に採用されていたLEDユニット",
"example": "日亜面拡散",
"type": "string"
},
"組み込み1": {
"description": "画像キャプションの下にInfobox組み込み(1〜9)",
"type": "wiki-template-name"
},
"組み込み2": {
"type": "wiki-template-name"
},
"組み込み3": {
"type": "wiki-template-name"
},
"組み込み12": {
"description": "項目の間にInfobox組み込み(12〜30)",
"type": "wiki-template-name"
},
"組み込み14": {
"type": "wiki-template-name"
},
"組み込み16": {
"type": "wiki-template-name"
},
"組み込み18": {
"type": "wiki-template-name"
},
"組み込み20": {
"type": "wiki-template-name"
},
"組み込み22": {
"type": "wiki-template-name"
},
"組み込み24": {
"type": "wiki-template-name"
},
"組み込み26": {
"type": "wiki-template-name"
},
"組み込み28": {
"type": "wiki-template-name"
},
"組み込み30": {
"type": "wiki-template-name"
},
"追加ラベル1": {
"description": "予備のラベル欄。",
"type": "string"
"type": "string"
},
},
"data11": {
"追加データ1": {
"description": "予備データ"
"description": "予備のデータ欄。",
"type": "string"
},
},
"data12": {},
"追加ラベル2": {
"data13": {},
"type": "string"
"data14": {}
},
"追加データ2": {
"type": "string"
},
"追加ラベル3": {
"type": "string"
},
"追加データ3": {
"type": "string"
},
"追加ラベル4": {
"type": "string"
},
"追加データ4": {
"type": "string"
},
"追加ラベル5": {
"type": "string"
},
"追加データ5": {
"type": "string"
},
"組み込み52": {
"description": "最下部にInfobox組み込み",
"type": "wiki-template-name"
}
},
},
"description": "灯器の情報を記載するためのテンプレートです。",
"description": "灯器の情報を記載するためのテンプレートです。",
"paramOrder": [
"paramOrder": [
"title",
"灯器の名称",
"灯器の名称",
"subheader",
"subheader",
136行目: 277行目:
"製造期間",
"製造期間",
"採用地域",
"採用地域",
"設置数",
"残存数",
"メーカー",
"メーカー",
"警交仕規",
"仕様書",
"仕様書番号",
"レンズ",
"レンズ",
"ユニット",
"アーム",
"アーム",
"タイプ",
"タイプ",
"label11",
"追加ラベル1",
"data11",
"追加データ1",
"label12",
"追加ラベル2",
"data12",
"追加データ2",
"label13",
"追加ラベル3",
"data13",
"追加データ3",
"label14",
"追加ラベル4",
"data14"
"追加データ4",
"追加ラベル5",
"追加データ5",
"title",
"組み込み1",
"組み込み2",
"組み込み3",
"組み込み12",
"組み込み14",
"組み込み16",
"組み込み18",
"組み込み20",
"組み込み22",
"組み込み24",
"組み込み26",
"組み込み28",
"組み込み30",
"組み込み52"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>