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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja nieprzejrzana]
Utworzono nową stronę "<includeonly>| {{#if: {{{id|}}} | id="{{{id}}}" }} {{#if: {{{span|}}} | colspan="{{{span}}}" }} style="background: #FCFCFC; border: 1px solid #CCC; vertical-align: top; ..."
 
Aktualizacja
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%; background-image: {{FileUrl|GrassBackground.png}};{{{headerstyle|}}}">{{ #if: {{{image|}}}
#if: {{{image|}}}
  | <div style="float: right; margin-left: 6px;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</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
{{!}} {{p|id}} {{!!}} set the cell's ID
|-
{{!}}-
| <code>style</code> || add styling to the cell
{{!}} {{p|class}} {{!!}} set the cell's class
|-
{{!}}-
| <code>header</code> || add a header
{{!}} {{p|style}} {{!!}} add styling to the cell
|-
{{!}}-
| <code>headerstyle</code> || add styling to the header
{{!}} {{p|header}} {{!!}} add a header
|-
{{!}}-
| <code>image<code> || add an image to the header
{{!}} {{p|headerstyle}} {{!!}} add styling to the header
|-
{{!}}-
| <code>link</code> || add a link to the image
{{!}} {{p|image}} {{!!}} add an image to the header
|-
{{!}}-
| <code>content</code> || the content in the cell
{{!}} {{p|link}} {{!!}} add a link to the image
|-
{{!}}-
| <code>class</code> || add a class to the content
{{!}} {{p|content}} {{!!}} the content in the cell
|-
{{!}}-
| <code>contentstyle</code> || add styling to the content
{{!}} {{p|contentid}} {{!!}} add an id to the content
|}
{{!}}-
{{!}} {{p|contentclass}} {{!!}} add a class to the content
{{!}}-
{{!}} {{p|contentstyle}} {{!!}} add styling to the content
{{!}}}
[[Category:Formatting templates]]
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style
  | <!-- categories and interwikis for the live page here -->


[[Category:Formatting templates]]
  | <!-- 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>

Wersja z 23:32, 3 paź 2019

Parameter Function
Szablon:P set the cell's ID
Szablon:P set the cell's class
Szablon:P add styling to the cell
Szablon:P add a header
Szablon:P add styling to the header
Szablon:P add an image to the header
Szablon:P add a link to the image
Szablon:P the content in the cell
Szablon:P add an id to the content
Szablon:P add a class to the content
Szablon:P add styling to the content

{{ #ifeq: Strona główna/editcopy/style | Minecraft Wiki/style

 | 
 |