(Add id) |
(sync responsive main page layout) |
||
(13 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | |
||
⚫ | |||
+ | <noinclude>{{message box |
||
− | | <div {{#if: {{{id|}}} | id="{{{id}}}" }} {{#if: {{{class|}}} | 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; margin-bottom:1em;"> |
||
+ | |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> |
||
+ | | |
||
+ | <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><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|}}}">{{ #if: {{{image|}}} |
||
⚫ | |||
+ | }} {{{header}}}</div> |
||
}} |
}} |
||
+ | <div id="{{{contentid|}}}" class="{{{contentclass|}}}" style="margin: 0.5em 0.8em;{{{contentstyle|}}}"> |
||
{{{content}}} |
{{{content}}} |
||
− | </div |
+ | </div> |
+ | </div></includeonly><noinclude> |
||
⚫ | |||
+ | {{documentation|content= |
||
+ | 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 |
||
+ | {{!}}} |
||
+ | }} |
||
⚫ | |||
+ | {{ #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]] |
||
+ | [[Category:Editcopies]] |
||
+ | |||
+ | }}</noinclude> |
Revision as of 21:16, 6 November 2019
To propose changes to this page, please use the editcopy page.
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 |