[wersja przejrzana] | [wersja przejrzana] |
d (change pt-br to pt) |
TenGoblinek (dyskusja | edycje) dNie podano opisu zmian |
||
(Nie pokazano 1 wersji utworzonej przez jednego użytkownika) | |||
Linia 1: | Linia 1: | ||
+ | <includeonly><div id="{{{id|}}}" class="fp-section {{{class|}}}" style="{{{style|}}}" > |
||
− | {{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style | |
||
⚫ | |||
− | |bgcol = #F9F9F9 |
||
− | |icon = 2 |
||
− | |text = To propose changes to this page, please use the [[Minecraft Wiki/editcopy/style|editcopy page]]. |
||
− | }}</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|}}} |
{{ #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}}; |
+ | | <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> |
| <div style="float: right; margin-left: 6px;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div> |
||
}} {{{header}}}</div> |
}} {{{header}}}</div> |
||
}} |
}} |
||
− | <div {{ |
+ | <div id="{{{contentid|}}}" class="{{{contentclass|}}}" style="margin: 0.5em 0.8em;{{{contentstyle|}}}"> |
{{{content}}} |
{{{content}}} |
||
+ | </div> |
||
</div></includeonly><noinclude> |
</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" |
{{{!}} class="wikitable" |
||
! Parameter !! Function |
! Parameter !! Function |
||
Linia 32: | Linia 15: | ||
{{!}}- |
{{!}}- |
||
{{!}} {{p|class}} {{!!}} set the cell's class |
{{!}} {{p|class}} {{!!}} set the cell's class |
||
⚫ | |||
⚫ | |||
− | {{!}}- |
||
− | {{!}} {{p|width}} {{!!}} adjust the cell's width |
||
{{!}}- |
{{!}}- |
||
{{!}} {{p|style}} {{!!}} add styling to the cell |
{{!}} {{p|style}} {{!!}} add styling to the cell |
||
Linia 48: | Linia 27: | ||
{{!}}- |
{{!}}- |
||
{{!}} {{p|content}} {{!!}} the content in the cell |
{{!}} {{p|content}} {{!!}} the content in the cell |
||
⚫ | |||
⚫ | |||
{{!}}- |
{{!}}- |
||
{{!}} {{p|contentclass}} {{!!}} add a class to the content |
{{!}} {{p|contentclass}} {{!!}} add a class to the content |
||
Linia 53: | Linia 34: | ||
{{!}} {{p|contentstyle}} {{!!}} add styling to the content |
{{!}} {{p|contentstyle}} {{!!}} add styling to the content |
||
{{!}}} |
{{!}}} |
||
+ | [[Kategoria:Szablony formatujące]] |
||
− | }} |
||
− | [[Category:Formatting templates]] |
||
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style |
{{ #ifeq: {{FULLPAGENAME}} | Minecraft Wiki/style |
||
| <!-- categories and interwikis for the live page here --> |
| <!-- categories and interwikis for the live page here --> |
||
Linia 68: | Linia 48: | ||
[[pt:Minecraft Wiki/cópiaparaedição/style]] |
[[pt:Minecraft Wiki/cópiaparaedição/style]] |
||
[[ru:Заглавная страница/Копия/style]] |
[[ru:Заглавная страница/Копия/style]] |
||
⚫ |
Wersja z 20:05, 17 lis 2020
Parameter | Function |
---|---|
Szablon:P | set the cell's ID |
Szablon:P | set the cell's class |
Szablon:P | add styling to the cell |
Szablon:P | add a header |
Szablon:P | add styling to the header |
Szablon:P | add an image to the header |
Szablon:P | add a link to the image |
Szablon:P | the content in the cell |
Szablon:P | add an id to the content |
Szablon:P | add a class to the content |
Szablon:P | add styling to the content |
{{ #ifeq: Strona główna/style | Minecraft Wiki/style
|
|