Szablon:Team/Table/Styles: Różnice pomiędzy wersjami
| [wersja przejrzana] | [wersja przejrzana] |
| Linia 1: | Linia 1: | ||
<includeonly>{{#ifeq:{{{el}}} | table | | <includeonly>{{#ifeq:{{{el}}} | table | | ||
| − | width: 100%; border-right: 1px solid {{Tabela/Border}}; border-bottom: 1px solid {{Tabela/Border}}; border-left: 1px solid {{Tabela/Border}}; border-spacing: 0; border-collapse: collapse; line-height: 1.75em; text-align: center; {{#ifeq: {{{1}}} | fixed | table-layout: fixed; }} margin-bottom: 20px; | + | width: 100%; border-right: 1px solid {{Tabela/Border}}; border-bottom: 1px solid {{Tabela/Border}}; border-left: 1px solid {{Tabela/Border}}; border-spacing: 0; border-collapse: collapse; line-height: 1.75em; text-align: center; {{#ifeq: {{{1}}} | non-fixed | | table-layout: fixed; }} margin-bottom: 20px; |
}}{{#ifeq:{{{el}}} | caption | | }}{{#ifeq:{{{el}}} | caption | | ||
border-top: 1px solid {{Tabela/Border}}; border-right: 1px solid {{Tabela/Border}}; border-left: 1px solid {{Tabela/Border}}; text-align: left; background-color: #5c3317; color: #f0d9a2; font-weight: bold; padding: 2px 6px; | border-top: 1px solid {{Tabela/Border}}; border-right: 1px solid {{Tabela/Border}}; border-left: 1px solid {{Tabela/Border}}; text-align: left; background-color: #5c3317; color: #f0d9a2; font-weight: bold; padding: 2px 6px; | ||
Aktualna wersja na dzień 18:13, 28 mar 2020
Zastosowanie
Szablon służy do generowania styli tabelek teamlerów.
Przykład użycia
| Funkcja | Użycie |
|---|---|
| Style tabeli | {{Team/Table/Styles|el=table}}
|
| Style nazwy tabeli | {{Team/Table/Styles|el=caption}}
|
| Style nagłówka | {{Team/Table/Styles|el=th}}
|