Strona główna/style: Różnice pomiędzy wersjami
Przejdź do nawigacji
Przejdź do wyszukiwania
| [wersja nieprzejrzana] | [wersja przejrzana] |
d Zabezpieczył „Strona główna/style”: Ważny szablon ([edytowanie=Zezwól na edycję tylko redaktorom] (na czas nieokreślony) [przenoszenie=Zezwól na edycję tylko redaktorom] (na czas nieokreślony)) |
|||
| (Nie pokazano 9 wersji utworzonych przez 3 użytkowników) | |||
| Linia 1: | Linia 1: | ||
<includeonly><div id="{{{id|}}}" class="fp-section {{{class|}}}" style="{{{style|}}}" > | <includeonly><div id="{{{id|}}}" class="fp-section {{{class|}}}" style="{{{style|}}}" > | ||
{{ #if: {{{header|}}} | {{ #if: {{{header|}}} | ||
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white | | <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%;{{{headerstyle|}}}">{{ #if: {{{image|}}} | ||
| <div style="float: right; margin-left: 6px;">[[ | | <div style="float: right; margin-left: 6px;">[[Plik:{{{image}}}|48px{{ #ifeq: {{{link|}}} | null | {{!}}link= | {{ #if: {{{link|}}} | {{!}}link={{{link}}} }} }}|alt={{ #if: {{{link|}}} | {{{link}}} | {{{image}}} }}]]</div> | ||
}} {{{header}}}</div> | }} {{{header}}}</div> | ||
}} | }} | ||
| Linia 12: | Linia 12: | ||
! Parameter !! Function | ! Parameter !! Function | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} id {{!!}} set the cell's ID | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} class {{!!}} set the cell's class | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} style {{!!}} add styling to the cell | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} header {{!!}} add a header | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} headerstyle {{!!}} add styling to the header | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} image {{!!}} add an image to the header | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} link {{!!}} add a link to the image | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} content {{!!}} the content in the cell | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} contentid {{!!}} add an id to the content | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} contentclass {{!!}} add a class to the content | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} contentstyle {{!!}} add styling to the content | ||
{{!}}} | {{!}}} | ||
[[Kategoria:Szablony formatujące]] | [[Kategoria:Szablony formatujące]] | ||
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | {{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | ||
| <!-- categories and interwikis for the live page here --> | |||
| <!-- categories and interwikis for the editcopy page here --> | |||
}} | |||
[[en:Minecraft Wiki/style]] | [[en:Minecraft Wiki/style]] | ||
[[de:Minecraft Wiki/editcopy/style]] | [[de:Minecraft Wiki/editcopy/style]] | ||
Aktualna wersja na dzień 18:17, 24 lip 2025
| Parameter | Function |
|---|---|
| id | set the cell's ID |
| class | set the cell's class |
| style | add styling to the cell |
| header | add a header |
| headerstyle | add styling to the header |
| image | add an image to the header |
| link | add a link to the image |
| content | the content in the cell |
| contentid | add an id to the content |
| contentclass | add a class to the content |
| contentstyle | add styling to the content |