Strona główna/style: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja przejrzana][wersja przejrzana]
dodano teksty alternatywne do obrazów
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 4 pośrednich wersji utworzonych przez tego samego użytkownika)
Linia 2: Linia 2:
{{ #if: {{{header|}}}
{{ #if: {{{header|}}}
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%;{{{headerstyle|}}}">{{ #if: {{{image|}}}
| <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;">[[Plik:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}|alt={{ #if: {{{link|}}} | {{{link}}} | {{{image}}} }}]]</div>
   | <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>
}}
}}

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