<!-- tpcms-form: {
  "label": "★表",
  "category": "05_表（Table）",
  "fields": [
    { "key": "SCROLL", "type": "select", "label": "横スクロールバーを", "options": [["","出さない"],["scroll","出す"]], "allow_empty":false },
    { "key":"H2", "type":"text", "label":"大見出し" },
    { "key":"H2_TEXT", "type":"textarea", "label":"説明文が必要ならここに入力して下さい。"},
    { "key": "CAPTION", "type": "text", "label": "表専用の見出し" },
    { "key": "TABLE", "type": "table", "label": "2列表",
      "cols": [
        { "key": "HEAD", "label": "列1", "is_th": true },
        { "key": "DESC", "label": "列2",  "is_th": false }
      ],
      "rows": 3,
      "thead": { "top": false, "left": true }
    }
  ]
} -->

<section>

{{#IF_H2}}
<h2>{{H2}}</h2>
{{/IF_H2}}

{{#IF_H2_TEXT}}<p>{{H2_TEXT}}</p>{{/IF_H2_TEXT}}

{{#IF_SCROLL}}<div class="scroll">{{/IF_SCROLL}}

<table class="ta1">
{{#IF_CAPTION}}<caption>{{CAPTION}}</caption>{{/IF_CAPTION}}
{{TABLE_HTML}}
</table>

{{#IF_SCROLL}}</div>{{/IF_SCROLL}}

</section>
