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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
dNie podano opisu zmian
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 12 wersji utworzonych przez 5 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; font-size: 120%; background-image: {{FileUrl|GrassBackground.png}};{{{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;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</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>
}}
}}
Linia 12: Linia 12:
! Parameter !! Function
! Parameter !! Function
{{!}}-
{{!}}-
{{!}} {{p|id}} {{!!}} set the cell's ID
{{!}} id {{!!}} set the cell's ID
{{!}}-
{{!}}-
{{!}} {{p|class}} {{!!}} set the cell's class
{{!}} class {{!!}} set the cell's class
{{!}}-
{{!}}-
{{!}} {{p|style}} {{!!}} add styling to the cell
{{!}} style {{!!}} add styling to the cell
{{!}}-
{{!}}-
{{!}} {{p|header}} {{!!}} add a header
{{!}} header {{!!}} add a header
{{!}}-
{{!}}-
{{!}} {{p|headerstyle}} {{!!}} add styling to the header
{{!}} headerstyle {{!!}} add styling to the header
{{!}}-
{{!}}-
{{!}} {{p|image}} {{!!}} add an image to the header
{{!}} image {{!!}} add an image to the header
{{!}}-
{{!}}-
{{!}} {{p|link}} {{!!}} add a link to the image
{{!}} link {{!!}} add a link to the image
{{!}}-
{{!}}-
{{!}} {{p|content}} {{!!}} the content in the cell
{{!}} content {{!!}} the content in the cell
{{!}}-
{{!}}-
{{!}} {{p|contentid}} {{!!}} add an id to the content
{{!}} contentid {{!!}} add an id to the content
{{!}}-
{{!}}-
{{!}} {{p|contentclass}} {{!!}} add a class to the content
{{!}} contentclass {{!!}} add a class to the content
{{!}}-
{{!}}-
{{!}} {{p|contentstyle}} {{!!}} add styling 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 live page here -->
 
| <!-- categories and interwikis for the editcopy 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