Шаблон:Userboxtop: відмінності між версіями

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку
[перевірена версія][очікує на перевірку]
Вилучено вміст Додано вміст
DixonDBot (обговорення | внесок)
м Перенесення інтервік на підсторінку документації
м переклад значення за замовчуванням
 
Рядок 1: Рядок 1:
{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}" align="{{{2|{{{align|right}}}}}}"
{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}" align="{{{2|{{{align|right}}}}}}"
!<big>{{{1|{{{toptext|[[Вікіпедія:Юзербокси|Userbox]]}}}}}}</big>
!<big>{{{1|{{{toptext|[[Вікіпедія:Юзербокси|Юзербокси]]}}}}}}</big>
|- align="center"
|- align="center"
|<noinclude>
|<noinclude>

Поточна версія на 08:04, 28 квітня 2021

Юзербокси
{{i}} Документація шаблону[перегляд] [редагувати] [історія] [очистити кеш]

Використання

[ред. код]
{{userboxtop
| align = 
| backgroundcolor = 
| bordercolor = 
| extra-css =
| textcolor = 
| toptext = 
}}

[userboxes]

{{userboxbottom}}

Customizing

[ред. код]

Detailed explanations of the parameters are below.

Parameter Valid values
align left, center, or right (default)
backgroundcolor Any HTML color (name or #XXXXXX hex format). Defaults to #FFFFFF.
bordercolor Any HTML color (name or #XXXXXX hex format). Defaults to #99B3FF.
extra-css Allows you to provide additional CSS style information.
textcolor Any HTML color (name or #XXXXXX hex format). Defaults to #000000.
toptext Overrides the standard Userbox text and link. Can include wiki-markup.

You may also insert breaks by using {{userboxbreak}}. See that template for details.

Hiding userboxes

[ред. код]

You can hide userboxes which utilize this (as well as a few other) forms of template-based userbox organization. Simply edit your userspace CSS override (for example, monobook.css for the Monobook skin) and add the following-

#userboxes { display: none; }

Див. також

[ред. код]