No edit summary |
m (That added an extra header on Minecraft Wiki/editcopy (i.imgur.com/OTkHEjc.png)) |
||
(36 intermediate revisions by 20 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | |
||
⚫ | |||
+ | <noinclude>{{message box |
||
− | | <div class="{{{class|}}}" style="position: relative; width: 600px; margin: 0 auto; background-color: #fcfcfc; border: 1px solid #ccc; border-bottom: 5px groove #999; border-right:5px groove #999; text-align: center; padding: 0.4em;"> |
||
+ | |bgcol = #F9F9F9 |
||
− | | {{!}} colspan="{{{span|1}}}" style="background: #fcfcfc; border: 1px solid #ccc; vertical-align: top; {{{css|width: 33%;}}}" {{!}} |
||
+ | |icon = 2 |
||
⚫ | |||
+ | |text = To propose changes to this page, please use the [[Minecraft Wiki/editcopy/style|editcopy page]]. |
||
− | <div class="{{{class|}}}" style="padding: 0em 1em;"> |
||
⚫ | |||
+ | | |
||
+ | <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/style/editcopy}}}} Diff with live page]</div> |
||
+ | }}</noinclude> |
||
+ | }}<includeonly><div id="{{{id|}}}" class="fp-section {{{class|}}}" style="{{{style|}}}"> |
||
⚫ | |||
+ | | <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|}}} |
||
⚫ | |||
+ | }} {{{header}}}</div> |
||
}} |
}} |
||
+ | <div id="{{{contentid|}}}" class="{{{contentclass|}}}" style="margin: 0.5em 0.8em;{{{contentstyle|}}}"> |
||
{{{content}}} |
{{{content}}} |
||
+ | </div> |
||
− | </div>{{ #if: {{{title|}}} | <br> }}<noinclude> |
||
+ | </div></includeonly><noinclude> |
||
− | [[fr:Main Page/copie de travail/style]] |
||
+ | {{documentation|page=Minecraft Wiki/style/doc}}</noinclude> |
||
− | [[nl:Hoofdpagina/Bewerk-Kopie/style]] |
||
⚫ |
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.
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.