Minecraft Wiki
m (→‎top: clean up)
m (That added an extra header on Minecraft Wiki/editcopy (i.imgur.com/OTkHEjc.png))
(6 intermediate revisions by 3 users not shown)
Line 10: Line 10:
 
|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><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%; background-image: {{FileUrl|GrassBackground.png}};{{{headerstyle|}}}; background-color: #6c4d34; border-top: 6px solid #81bb5b;">{{ #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>
Line 22: Line 22:
 
</div>
 
</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|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|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 -->
 
 
| <!-- 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]]
 
[[zh:Minecraft Wiki/editcopy/style]]
 
[[Category:Editcopies]]
 
 
}}</noinclude>
 

Revision as of 05:32, 21 November 2020

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.
[view | edit | history | purge]Documentation

Used to create the main content boxes on the main page.

Parameters

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
[view | edit | history | purge]The above documentation is transcluded from Minecraft Wiki/style/doc.