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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
Utworzono nową stronę "<includeonly>| {{#if: {{{id|}}} | id="{{{id}}}" }} {{#if: {{{span|}}} | colspan="{{{span}}}" }} style="background: #FCFCFC; border: 1px solid #CCC; vertical-align: top; ..."
 
d synchronizacja ze stroną główną
 
(Nie pokazano 5 wersji utworzonych przez 4 użytkowników)
Linia 1: Linia 1:
<includeonly>| {{#if: {{{id|}}} | id="{{{id}}}" }} {{#if: {{{span|}}} | colspan="{{{span}}}" }} style="background: #FCFCFC; border: 1px solid #CCC; vertical-align: top; width: 33%; {{{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; font-size: 120%; {{{headerstyle|}}}">{{
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%;{{{headerstyle|}}}">{{ #if: {{{image|}}}
#if: {{{image|}}}
  | <div style="float: right; margin-left: 6px;">[[Plik:{{{image}}}|48px{{ #ifeq: {{{link|}}} | null | {{!}}link= | {{ #if: {{{link|}}} | {{!}}link={{{link}}} }} }}|alt={{ #if: {{{link|}}} | {{{link}}} | {{{image}}} }}]]</div>
| <div style="float: right; margin-left: 6px">[[File:{{{image}}}|48px|{{#if: {{{link|}}} | link={{{link}}} }}]]</div>
  }} {{{header}}}</div>
}} {{{header}}}</div>
}}
}}
<div {{#if: {{{class|}}} | class="{{{class}}}" }} style="margin: 0.5em 0.8em; {{{contentstyle|}}}">
<div id="{{{contentid|}}}" class="{{{contentclass|}}}" style="margin: 0.5em 0.8em;{{{contentstyle|}}}">
{{{content}}}
{{{content}}}
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{|
{{{!}} class="wikitable"
| <code>id</code> || set the cell's ID
! Parameter !! Function
|-
{{!}}-
| <code>span</code> || set the cell's column span
{{!}} id {{!!}} set the cell's ID
|-
{{!}}-
| <code>style</code> || add styling to the cell
{{!}} class {{!!}} set the cell's class
|-
{{!}}-
| <code>header</code> || add a header
{{!}} style {{!!}} add styling to the cell
|-
{{!}}-
| <code>headerstyle</code> || add styling to the header
{{!}} header {{!!}} add a header
|-
{{!}}-
| <code>image<code> || add an image to the header
{{!}} headerstyle {{!!}} add styling to the header
|-
{{!}}-
| <code>link</code> || add a link to the image
{{!}} image {{!!}} add an image to the header
|-
{{!}}-
| <code>content</code> || the content in the cell
{{!}} link {{!!}} add a link to the image
|-
{{!}}-
| <code>class</code> || add a class to the content
{{!}} content {{!!}} the content in the cell
|-
{{!}}-
| <code>contentstyle</code> || add styling to the content
{{!}} contentid {{!!}} add an id to the content
|}
{{!}}-
 
{{!}} contentclass {{!!}} add a class to the content
[[Category:Formatting templates]]
{{!}}-
{{!}} contentstyle {{!!}} add styling to the content
{{!}}}
[[Kategoria:Szablony formatujące]]
{{ #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]]
[[de:Minecraft Wiki/editcopy/style]]
[[fr:Minecraft Wiki/copie de travail/style]]
[[it:Minecraft Wiki/copiapermodifica/style]]
[[ja:Minecraft Wiki/編集コピー/style]]
[[ko:Minecraft Wiki/editcopy/style]]
[[nl:Minecraft Wiki/Bewerk-Kopie/style]]
[[pt:Minecraft Wiki/cópiaparaedição/style]]
[[ru:Заглавная страница/Копия/style]]
</noinclude>

Aktualna wersja na dzień 00:03, 24 sty 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