Песочница/Pok/3: различия между версиями

мНет описания правки
Нет описания правки
 
(не показано 79 промежуточных версий 3 участников)
Строка 1: Строка 1:
{| class="table-grid sortable"
<dpl>
! Сортировка
  categoriesminmax = 1,
|-
  category        = Предметы
{{#invoke:Песочница/Pok|table}}
  format          = ,,{{LinkCard|горизонт_стиль=1|изображение=[[Файл:{{#invoke:Entity Lookup|getidbyname|%PAGE%}}.png]]|название=%PAGE%|ссылка=%PAGE%}}\n,
|}
</dpl>
{{#css:
.table-grid {
    width: 100%;
}
 
.table-grid tbody {
    display: grid;
    gap: 8px 6px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
 
.table-grid thead tr:first-child {
    grid-column: 1 / -1;
}
 
.table-grid > tr > th,
.table-grid > tr > td,
.table-grid > * > tr > th,
.table-grid > * > tr > td {
    display: block;
    height: 100%;
    box-sizing: border-box;
}
}}