0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

rex0220 印刷屋プラグイン テーブル+カード表示

Last updated at Posted at 2025-02-27

rex0220 印刷屋プラグインで、テーブル+カード表示を行ってみます。

概要

rex0220 印刷屋プラグイン テーブル複数ページに、カード形式を入れてみます。

TABLE_HTML 関数でテーブル形式、
FIELDS_HTML 関数で項目を並べるとカード形式になります。

2025-02-28_00h01_59.png

  • プレビュー画面 1-2

2025-02-28_00h06_37.png

印刷屋プラグイン設定

2025-02-28_00h08_59.png

2025-02-28_00h10_14.png

.pcraft-card-item {
    border-bottom: 1px solid #ccc;
}
.card-image {
    text-align: center;
}
.card-image img {
  width:150px;
}

FIELDS_HTML 関数で、項目を並べるとカード形式になります。

TABLE_HTML(テーブル,
  OPT("title","時計","pagination","Y"),
  OPT("perPage","5"),
  ARRAY("概要",FIELDS_HTML(
    名称,添付ファイル
  )),
  ARRAY("画像",IMGSRC(添付ファイル,,"img"),"card-image")
)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?