Minecraft Wiki
Minecraft Wiki
m (clean up, replaced: File: → Soubor:)
Značka: editor wikitextu 2017
 
Řádek 1: Řádek 1:
 
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style |
 
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style |
 
<noinclude>{{message box
 
<noinclude>{{message box
|bgcol = #F9F9F9
 
 
|icon = 2
 
|icon = 2
 
|text = To propose changes to this page, please use the [[Minecraft Wiki/editcopy/style|editcopy page]].
 
|text = To propose changes to this page, please use the [[Minecraft Wiki/editcopy/style|editcopy page]].
Řádek 7: Řádek 6:
 
|
 
|
 
<noinclude>{{message box
 
<noinclude>{{message box
|bgcol = #F9F9F9
 
 
|icon = 2
 
|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.
 
|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>
+
<div style="line-height: 100%; text-align: right; font-size: 85%;">[{{fullurl:Special:ComparePages|page1={{urlencode:Minecraft Wiki/style}}&page2={{urlencode:Minecraft Wiki/style/editcopy}}}} Diff with live page]</div>
 
}}</noinclude>
 
}}</noinclude>
}}<includeonly>| id="{{{id|}}}" class="{{{class|}}}" colspan="{{{span|}}}" rowspan="{{{rowspan|}}}" style="background-color: #FCFCFC; border: 1px solid #ccc; vertical-align: top; width: {{{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; 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%; background-image: {{FileUrl|GrassBackground.png}};{{{headerstyle|}}}; background-color: #6c4d34; border-top: 6px solid #81bb5b;">{{ #if: {{{image|}}}
| <div style="float: right; margin-left: 6px;">[[Soubor:{{{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: {{{contentclass|}}} | class="{{{contentclass}}}" }} 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>
{{documentation|content=
+
{{documentation|page=Minecraft Wiki/style/doc}}</noinclude>
Used to create the main content boxes on the {{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | [[Minecraft Wiki|main page]] | [[Minecraft Wiki/editcopy|editcopy page]] }}.
 
 
== 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
 
{{!}}}
 
}}
 
[[Kategorie:Formatting templates]]
 
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style
 
| <!-- categories and interwikis for the live page here -->
 
 
| <!-- categories and interwikis for the editcopy page here -->
 
[[de:Minecraft Wiki/editcopy/style]]
 
[[fr:Minecraft Wiki/copie de travail/style]]
 
[[hu:Minecraft Wiki/editcopy/style]]
 
[[it:Minecraft Wiki/copiapermodifica/style]]
 
[[ja:Minecraft Wiki/編集コピー/style]]
 
[[ko:Minecraft Wiki/editcopy/style]]
 
[[nl:Minecraft Wiki/Bewerk-Kopie/style]]
 
[[pl:Strona główna/editcopy/style]]
 
[[pt:Minecraft Wiki/cópiaparaedição/style]]
 
[[ru:Заглавная страница/Копия/style]]
 
[[Kategorie:Editcopies]]
 
 
}}</noinclude>
 

Aktuální verze z 20. 9. 2021, 20:35

To propose changes to this page, please use the editcopy page.
[create | history | purge]Documentation
This template has no documentation. If you know how to use this template, please create it.