Szablon:Team/Table/Styles: Różnice pomiędzy wersjami
[wersja przejrzana] | [wersja przejrzana] |
(Utworzono nową stronę "<onlyinclude>{{#ifeq:{{{el|caption}}} | caption | border-top: 1px solid {{Tabela/Border}}; border-right: 1px solid {{Tabela/Border}}; border-left: 1px solid {{Tabela/Bor...") |
|||
(Nie pokazano 13 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 1: | Linia 1: | ||
− | < | + | <includeonly>{{#ifeq:{{{el}}} | table | |
− | border-top: 1px solid {{Tabela/Border}}; border-right: 1px solid {{Tabela/Border}}; border-left: 1px solid {{Tabela/Border}}; | + | 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 | |
+ | 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; | ||
+ | }}{{#ifeq:{{{el}}} | th | | ||
+ | border-bottom: 2px solid #928a79; | ||
+ | }}</includeonly><noinclude> | ||
+ | = Zastosowanie = | ||
+ | |||
+ | Szablon służy do generowania styli tabelek teamlerów. | ||
+ | |||
+ | = Przykład użycia = | ||
+ | |||
+ | {| width="100%" class="wikitable" | ||
+ | ! Funkcja | ||
+ | ! Użycie | ||
+ | |- | ||
+ | | Style tabeli | ||
+ | | <pre>{{Team/Table/Styles|el=table}}</pre> | ||
+ | |- | ||
+ | | Style nazwy tabeli | ||
+ | | <pre>{{Team/Table/Styles|el=caption}}</pre> | ||
+ | |- | ||
+ | | Style nagłówka | ||
+ | | <pre>{{Team/Table/Styles|el=th}}</pre> | ||
+ | |} | ||
+ | |||
+ | [[Kategoria:Szablony]] | ||
+ | </noinclude> |
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}} |