テンプレート:日本の城郭概要表/doc

提供: miniwiki
移動先:案内検索

使い方

以下のタグをコピーし、城郭の記事の冒頭にペーストして利用してください。 = に続けて必要な情報を記入します。

{{日本の城郭概要表
|name = <!-- 城郭名 -->
|pref = <!-- 都道府県 -->
|img = <!-- 写真 -->
|img_capt = <!-- 写真の説明 -->
|img_width= <!-- 写真幅 -->
|ar_called = <!-- 別名 -->
|struct = <!-- 城郭構造 -->
|tower_struct = <!-- 天守構造 -->
|builders = <!-- 築城主 -->
|build_y = <!-- 築城年 -->
|revamp = <!-- 主な改修者 -->
|rulers = <!-- 主な城主 -->
|reject_y = <!-- 廃城年 -->
|remains = <!-- 遺構 -->
|cultural asset = <!-- 指定文化財 -->
|registered cultural asset = <!-- 登録文化財 -->
|remains number = <!-- 埋蔵文化財包蔵地番号 -->
|rebuilding things = <!-- 再建造物 -->
| latd  =  |latm  =  |lats  = <!-- 緯度 -->
| longd =  |longm =  |longs = <!-- 経度 -->
|map = <!-- 地図 -->
|map_mark = <!-- アイコン -->
|map_label = <!-- ラベル -->
|map_label_position = <!-- ラベル位置 -->
}}

使用例

  • ソース
{{日本の城郭概要表
|name = 姫路城
|pref = 兵庫県
|img =ファイル:Himeji Castle The Keep Towers.jpg
|img_capt =姫路城天守。南西方面(西の丸)より
|img_width=275px
|ar_called = 白鷺城
|struct = 梯郭式[[平山城]]
|tower_struct = [[天守#縄張り|連立式]]望楼型<br/>5重6階地下1階
|builders = [[赤松貞範]]
|build_y = [[1346年]](南朝:正平元年、北朝:貞和2年)
|revamp = [[黒田孝高]],[[池田輝政]]
|rulers = [[池田氏]],本多氏,酒井氏
|reject_y = [[1871年]](明治4年)
|remains = [[現存天守]]・櫓・門・塀<br/>石垣、堀、土塁、庭園
|cultural asset = [[国宝]](大小天守・渡櫓等8棟)<br/>ユネスコ[[世界遺産]]
|registered cultural asset = なし
|remains number = <!-- 埋蔵文化財包蔵地番号 -->
|rebuilding things = <!-- 再建造物 -->
| latd  = 34  |latm  = 50 |lats  = 21.76 <!-- 緯度 -->
| longd = 134 |longm = 41 |longs = 38.75 <!-- 経度 -->
|map = Japan Hyogo <!-- 地図 -->
|map_mark = 日本の城跡 <!-- アイコン -->
|map_label = 姫路城 <!-- ラベル -->
|map_label_position = bottom <!-- ラベル位置 -->
}}
  • プレビュー
姫路城
兵庫県
別名 白鷺城
城郭構造 梯郭式平山城
天守構造 連立式望楼型
5重6階地下1階
築城主 赤松貞範
築城年 1346年(南朝:正平元年、北朝:貞和2年)
主な改修者 黒田孝高,池田輝政
主な城主 池田氏,本多氏,酒井氏
廃城年 1871年(明治4年)
遺構 現存天守・櫓・門・塀
石垣、堀、土塁、庭園
指定文化財 国宝(大小天守・渡櫓等8棟)
ユネスコ世界遺産
登録文化財 なし
位置
地図
姫路城の位置
姫路城

引数

#テンプレートデータを参照してください。

カテゴリ

このテンプレートが貼り付けられたページに適用するカテゴリはありません

テンプレートデータ

これは新しいビジュアルエディターにより使用されるテンプレートのためのTemplateData文書です。

日本の城郭概要表

<templatedata> { "description": "これは、日本の城郭概要表です。", "params": { "name": { "label": "城郭名", "type": "string", "required": true, "description": "城郭の名称。", "autovalue": "{{subst:PAGENAME}}", "example": "姫路城" }, "pref": { "label": "都道府県", "type": "string", "required": true, "description": "城郭のある都道府県名。", "example": "兵庫県" }, "img": { "label": "写真", "type": "wiki-file-name", "required": false, "description": "城郭の写真のファイル名。", "example": "ファイル:Himeji Castle The Keep Towers.jpg" }, "img_width": { "label": "写真幅", "type": "string", "required": false, "description": "城郭の写真幅。", "example": "275px" }, "img_capt": { "label": "写真の説明", "type": "string", "required": false, "description": "城郭の写真の説明。", "example": "姫路城天守。南西方面(西の丸)より" }, "ar_called": { "label": "別名", "type": "string", "required": false, "description": "城郭の別称。複数ある場合は、並べて表記。", "example": "白鷺城" }, "struct": { "label": "城郭構造", "type": "string", "required": false, "description": "城郭の構造。山城、平山城など。", "example": "梯郭式平山城" }, "tower_struct": { "label": "天守構造", "type": "string", "required": false, "description": "天守がある場合、天守の構造。", "example": "連立式望楼型
5重6階地下1階" }, "builders": { "label": "築城主", "type": "string", "required": false, "description": "城郭の築城主。", "example": "赤松貞範" }, "build_y": { "label": "築城年", "type": "string", "required": false, "description": "城郭の築城年。和暦を併記。", "example": "1346年(南朝:正平元年、北朝:貞和2年)" }, "revamp": { "label": "主な改修者", "type": "string", "required": false, "description": "改修があった場合の改修者名。", "example": "黒田孝高,池田輝政" }, "rulers": { "label": "主な城主", "type": "string", "required": false, "description": "主な城郭の城主。", "example": "池田氏,本多氏,酒井氏" }, "reject_y": { "label": "廃城年", "type": "string", "required": false, "description": "城郭が廃城した年。和暦を併記。", "example": "1871年(明治4年)" }, "remains": { "label": "遺構", "type": "string", "required": false, "description": "城郭の遺構箇所。", "example": "現存天守・櫓・門・塀
石垣、堀、土塁、庭園" }, "rebuilding things": { "label": "再建造物", "type": "string", "required": false, "description": "近年に建築された構造物。" }, "cultural asset": { "label": "指定文化財", "type": "string", "required": false, "default": "なし", "description": "城郭にある指定文化財。", "example": "国宝(大小天守・渡櫓等8棟)
ユネスコ世界遺産" }, "registered cultural asset": { "label": "登録文化財", "type": "string", "required": false, "description": "城郭にある登録文化財。" }, "remains number": { "label": "埋蔵文化財包蔵地番号", "type": "string", "required": false, "description": "埋蔵文化財包蔵地としての番号。" }, "location": { "label": "座標", "type": "string", "deprecated": true, "required": false, "description": "城郭の座標。" }, "latd": { "label": "緯度(時)", "type": "number", "required": false, "description": "城郭の緯度(時)。", "aliases":["緯度度"], "example": "34" }, "latm": { "label": "緯度(分)", "type": "number", "required": false, "description": "城郭の緯度(分)。", "aliases":["緯度分"], "example": "50" }, "lats": { "label": "緯度(秒)", "type": "number", "required": false, "description": "城郭の緯度(秒)。", "aliases":["緯度秒"], "example": "21.76" }, "longd": { "label": "経度(時)", "type": "number", "required": false, "description": "城郭の経度(時)。", "aliases":["経度度"], "example": "134" }, "longm": { "label": "経度(分)", "type": "number", "required": false, "description": "城郭の経度(分)。", "aliases":["経度分"], "example": "41" }, "longs": { "label": "経度(秒)", "type": "number", "required": false, "description": "城郭の経度(秒)。", "aliases":["経度秒"], "example": "38.75" }, "map": { "label": "地図", "type": "string", "required": false, "description": "表示する地図。", "aliases":["地図"], "example": "Japan Hyogo" }, "map_mark": { "label": "地図アイコン", "type": "wiki-file-name", "required": false, "description": "城の位置を示すアイコン。", "aliases":["アイコン"], "autovalue": "日本の城跡", "example": "日本の城跡" }, "map_label": { "label": "地図アイコンのラベル", "type": "string", "required": false, "description": "地図上のラベル。", "default": "日本の城郭概要表/doc", "aliases":["ラベル"], "autovalue": "日本の城郭概要表/doc", "example": "姫路城" }, "map_label_position": { "label": "地図アイコンのラベル位置", "type": "wiki-file-name", "required": false, "description": "ラベル位置を設定。top,right,left,bottomを入力。", "aliases":["ラベル位置"], "autovalue": "top", "example": "bottom" } }, "sets": [ { "label": "緯度", "params": ["latd", "latm", "lats"] }, { "label": "経度", "params": ["longd", "longm", "longs"] }, { "label": "地図", "params": ["map", "map_mark", "map_label", "map_label_position"] } ] } </templatedata>