Minecraft Wiki
Ffbot (обговорення | внесок)
м (change pt-br to pt)
мНемає опису редагування
(Не показано 3 проміжні версії 2 користувачів)
Рядок 9: Рядок 9:
 
|bgcol = #F9F9F9
 
|bgcol = #F9F9F9
 
|icon = 2
 
|icon = 2
|text = '''Примітка:''' Це копія [[Головна сторінка|головної сторінки]]. Головна сторінка приваблива мета для вандалізму, але ми хочемо, щоб кожен користувач мав можливість внести свій внесок у вікі.
+
|text = '''Примітка:''' Це копія [[Головна сторінка/style|головної сторінки/style]]. Головна сторінка приваблива мета для вандалізму, але ми хочемо, щоб кожен користувач мав можливість внести свій внесок у вікі.
<div style="line-height: 100%; text-align: right; font-size: 85%;">Див. також копії шаблонів [[Головна сторінка/копія/edition|/edition]] й [[Головна сторінка/копія/style|/style]] • [{{fullurl:Special:ComparePages|page1={{urlencode:Головна сторінка}}&page2={{urlencode:Головна сторінка/копія}}}} Переглянути відмінності від головної сторінки]</div>
+
<div style="line-height: 100%; text-align: right; font-size: 85%;">[{{fullurl:Special:ComparePages|page1={{urlencode:Головна сторінка}}&page2={{urlencode:Головна сторінка/копія}}}} Переглянути відмінності від головної сторінки]</div>
 
}}</noinclude>
 
}}</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|}}};" |
+
}}<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|Фон заголовків заголовної.jpg}}; {{{headerstyle|}}};">{{ #if: {{{image|}}}
+
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%; background-image: {{FileUrl|Фон заголовків заголовної.jpg}};{{{headerstyle|}}}">{{ #if: {{{image|}}}
 
| <div style="float: right; margin-left: 6px;">[[Файл:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div>
 
| <div style="float: right; margin-left: 6px;">[[Файл:{{{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=
+
{{Документація|content=
 
Used to create the main content boxes on the {{ #ifeq: {{FULLPAGENAME}} | Головна сторінка/style | [[Головна сторінка|main page]] | [[Головна сторінка/копія|editcopy page]] }}.
 
Used to create the main content boxes on the {{ #ifeq: {{FULLPAGENAME}} | Головна сторінка/style | [[Головна сторінка|main page]] | [[Головна сторінка/копія|editcopy page]] }}.
   
Рядок 32: Рядок 33:
 
{{!}}-
 
{{!}}-
 
{{!}} {{p|class}} {{!!}} set the cell's class
 
{{!}} {{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|style}} {{!!}} add styling to the cell
Рядок 48: Рядок 45:
 
{{!}}-
 
{{!}}-
 
{{!}} {{p|content}} {{!!}} the content in the cell
 
{{!}} {{p|content}} {{!!}} the content in the cell
 
{{!}}-
 
{{!}} {{p|contentid}} {{!!}} add an id to the content
 
{{!}}-
 
{{!}}-
 
{{!}} {{p|contentclass}} {{!!}} add a class to the content
 
{{!}} {{p|contentclass}} {{!!}} add a class to the content
Рядок 55: Рядок 54:
 
}}
 
}}
 
[[Категорія:Шаблони форматування]]
 
[[Категорія:Шаблони форматування]]
{{ #ifeq: {{FULLPAGENAME}} | Головна стогрінка/style
+
{{ #ifeq: {{FULLPAGENAME}} | Головна сторінка/style
 
| <!-- categories and interwikis for the live page here -->
 
| <!-- categories and interwikis for the live page here -->
   
 
| <!-- categories and interwikis for the editcopy page here -->
 
| <!-- categories and interwikis for the editcopy page here -->
 
[[de:Minecraft Wiki/editcopy/style]]
 
[[de:Minecraft Wiki/editcopy/style]]
[[en:Minecraft Wiki/editcopy/stule]]
+
[[en:Minecraft Wiki/editcopy/style]]
 
[[fr:Minecraft Wiki/copie de travail/style]]
 
[[fr:Minecraft Wiki/copie de travail/style]]
  +
[[hu:Minecraft Wiki/editcopy/style]]
 
[[it:Minecraft Wiki/copiapermodifica/style]]
 
[[it:Minecraft Wiki/copiapermodifica/style]]
 
[[ja:Minecraft Wiki/編集コピー/style]]
 
[[ja:Minecraft Wiki/編集コピー/style]]
Рядок 69: Рядок 69:
 
[[pt:Minecraft Wiki/cópiaparaedição/style]]
 
[[pt:Minecraft Wiki/cópiaparaedição/style]]
 
[[ru:Заглавная страница/Копия/style]]
 
[[ru:Заглавная страница/Копия/style]]
  +
[[Категорія:Копії]]
   
 
}}</noinclude>
 
}}</noinclude>

Версія за 13:09, 6 січня 2020

Щоб запропонувати зміни на цю сторінку, будь ласка, використовуйте сторінку копію.

Використовується для створення основних блоків вмісту на головній сторінці.

Параметри

Параметр Функція
|id= установити ID комірки
|class= установити клас комірки
|style= додати стиль в комірку
|header= додати заголовок
|headerstyle= додати стиль до заголовка
|image= додати зображення до заголовка
|link= додати зображення до заголовка
|content= вміст у комірці
|contentid= додати id до вмісту
|contentclass= додати клас до вмісту
|contentstyle= додати стиль до вмісту