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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja nieprzejrzana]
d test?
Eduaddad (dyskusja | edycje)
Nie podano opisu zmian
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|}}}" |
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style |
{{#if: {{{header|}}}
<noinclude>{{message box
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%; background-image: {{FileUrl|GrassBackground.png}} {{{headerstyle|}}}">{{
|bgcol = #F9F9F9
#if: {{{image|}}}
|icon  = 2
| <div style="float: right; margin-left: 6px">[[File:{{{image}}}|48px|{{#if: {{{link|}}} | link={{{link}}} }}]]</div>
|text  = To propose changes to this page, please use the [[Minecraft Wiki/editcopy/style|editcopy page]].
}} {{{header}}}</div>
}}</noinclude>
|
<noinclude>{{message box
|bgcol = #F9F9F9
|icon  = 2
|text  = '''Note:''' This page is for users to propose changes for [[Minecraft Wiki/style]]. The main page is an attractive target for vandalism, but we want every user to be able to contribute to the wiki.
<div style="line-height: 100%; text-align: right; font-size: 85%;">[{{fullurl:Special:ComparePages|page1={{urlencode:Minecraft Wiki/style}}&page2={{urlencode:Minecraft Wiki/editcopy/style}}}} Diff with live page]</div>
}}</noinclude>
}}<includeonly>| {{ #if: {{{id|}}} | id="{{{id}}}" }} {{ #if: {{{class|}}} | class="{{{class}}}" }} {{ #if: {{{span|}}} | colspan="{{{span}}}" }} style="background-color: #FCFCFC; border: 1px solid #CCC; vertical-align: top; width: {{{width|33%}}}; {{{style|}}};" |
{{ #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 style="float: right; margin-left: 6px;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div>
  }} {{{header}}}</div>
}}
}}
<div {{#if: {{{class|}}} | class="{{{class}}}" }} style="margin: 0.5em 0.8em; {{{contentstyle|}}}">
<div {{ #if: {{{contentclass|}}} | class="{{{contentclass}}}" }} style="margin: 0.5em 0.8em; {{{contentstyle|}}};">
{{{content}}}
{{{content}}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{|
{{documentation|content=
| <code>id</code> || set the cell's ID
Used to create the main content boxes on the {{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | [[Minecraft Wiki|main page]] | [[Minecraft Wiki/editcopy|editcopy page]] }}.
|-
| <code>span</code> || set the cell's column span
|-
| <code>style</code> || add styling to the cell
|-
| <code>header</code> || add a header
|-
| <code>headerstyle</code> || add styling to the header
|-
| <code>image<code> || add an image to the header
|-
| <code>link</code> || add a link to the image
|-
| <code>content</code> || the content in the cell
|-
| <code>class</code> || add a class to the content
|-
| <code>contentstyle</code> || add styling to the content
|}


[[Category:Formatting templates]]
== Parameters ==
 
{{{!}} class="wikitable"
! Parameter !! Function
{{!}}-
{{!}} {{p|id}} {{!!}} set the cell's ID
{{!}}-
{{!}} {{p|class}} {{!!}} set the cell's class
{{!}}-
{{!}} {{p|span}} {{!!}} set the cell's column span
{{!}}-
{{!}} {{p|width}} {{!!}} adjust the cell's width
{{!}}-
{{!}} {{p|style}} {{!!}} add styling to the cell
{{!}}-
{{!}} {{p|header}} {{!!}} add a header
{{!}}-
{{!}} {{p|headerstyle}} {{!!}} add styling to the header
{{!}}-
{{!}} {{p|image}} {{!!}} add an image to the header
{{!}}-
{{!}} {{p|link}} {{!!}} add a link to the image
{{!}}-
{{!}} {{p|content}} {{!!}} the content in the cell
{{!}}-
{{!}} {{p|contentclass}} {{!!}} add a class to the content
{{!}}-
{{!}} {{p|contentstyle}} {{!!}} add styling to the content
{{!}}}
}}
[[Catégorie:Modèle de formatage]]
{{ #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-br:Minecraft Wiki/cópiaparaedição/style]]
[[ru:Заглавная страница/Копия/style]]

Wersja z 22:16, 18 lip 2018

Szablon:Message box Szablon:Documentation Catégorie:Modèle de formatage {{ #ifeq: Strona główna/style | Minecraft Wiki/style

 | 
 |