「テンプレート:Boxmenu grid」の版間の差分
表示
Boxmenu用グリッドレイアウト |
細編集の要約なし |
||
17行目: | 17行目: | ||
{ | { | ||
"params": { | "params": { | ||
" | "Boxmenu": { | ||
"description": "並べたい全てのBoxmenu要素", | |||
"example": "{{Boxmenu|画像=疑似点灯例.JPG|ヘッダー=[[:カテゴリ:灯器|灯器]]|説明=信号灯器に関するカテゴリです。}} {{Boxmenu...", | |||
"type": "unknown", | |||
"aliases": [ | |||
"1" | |||
] | |||
}, | |||
"Desktop-columns": { | |||
"aliases": [ | |||
"2" | |||
], | |||
"description": "列の数だけスペース区切りで\"fr1\"を並べる(デスクトップ版のみ適用)。省略時は3列", | "description": "列の数だけスペース区切りで\"fr1\"を並べる(デスクトップ版のみ適用)。省略時は3列", | ||
"example": "fr1 fr1 fr1", | "example": "fr1 fr1 fr1", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "Mobile-columns": { | ||
" | "aliases": [ | ||
"3" | |||
], | |||
"description": "列の数だけスペース区切りで\"fr1\"を並べる(モバイル版のみ適用)。省略時は2列", | "description": "列の数だけスペース区切りで\"fr1\"を並べる(モバイル版のみ適用)。省略時は2列", | ||
"example": "fr1 fr1", | "example": "fr1 fr1", | ||
36行目: | 45行目: | ||
"paramOrder": [ | "paramOrder": [ | ||
"Boxmenu", | "Boxmenu", | ||
" | "Desktop-columns", | ||
" | "Mobile-columns" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
2025年3月29日 (土) 14:33時点における版
Boxmenuをグリッドレイアウトで並べるテンプレート
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
Boxmenu | Boxmenu 1 | 並べたい全てのBoxmenu要素
| 不明 | 省略可能 |
Desktop-columns | Desktop-columns 2 | 列の数だけスペース区切りで"fr1"を並べる(デスクトップ版のみ適用)。省略時は3列
| 文字列 | 省略可能 |
Mobile-columns | Mobile-columns 3 | 列の数だけスペース区切りで"fr1"を並べる(モバイル版のみ適用)。省略時は2列
| 文字列 | 省略可能 |