Шаблон:Userbox — различия между версиями


Материал из Энциклопедия Нижнего Новгорода

Перейти к: навигация, поиск
 
(не показано 5 промежуточных версий этого же участника)
Строка 1: Строка 1:
Для разработки
+
<div style="float:right; clear:right;  border-radius: 5px; border:solid {{{1|{{{border-c|{{{id-c|#999999}}}}}}}}} 1px; margin:1px;">
{{Userbox
+
{| cellspacing="0" style="width:200px; background:{{{2|{{{info-c|#eeeeee}}}}}};"
|id        =
 
|id-c      =
 
|id-fc      = 
 
|id-s      =
 
|id-style  =
 
|info      =
 
|info-c    =
 
|info-fc    =   
 
|info-s    = 
 
|info-style =   
 
|border-c  =
 
}}
 
Пример
 
{{Userbox|id = foo |id-s = 20 |id-c = lightgreen |info = ''foo bar'' |info-c = yellow |info-s = 12 |border-c = green }}
 
 
 
<div style="float:right; clear:right; border:solid {{{1|{{{border-c|{{{id-c|#999999}}}}}}}}} 1px; margin:1px;">
 
{| cellspacing="0" style="width:238px; background:{{{2|{{{info-c|#eeeeee}}}}}};"
 
 
| style="width:45px; height:45px; background:{{{1|{{{id-c|#dddddd}}}}}}; text-align:center; font-size:{{{5|{{{id-s|14}}}}}}pt; font-weight:bold; color:{{{id-fc|#000000}}}; {{{id-style|}}}" | {{{3|{{{id|id}}}}}}
 
| style="width:45px; height:45px; background:{{{1|{{{id-c|#dddddd}}}}}}; text-align:center; font-size:{{{5|{{{id-s|14}}}}}}pt; font-weight:bold; color:{{{id-fc|#000000}}}; {{{id-style|}}}" | {{{3|{{{id|id}}}}}}
| style="font-size:{{{info-s|8}}}pt; padding:4pt; line-height:1.25em; color:{{{info-fc|#000000}}}; {{{info-style|}}}" | {{{4|{{{info|''info''}}}}}}
+
| style="font-size:{{{info-s|5}}}pt; padding:4pt; line-height:1.25em; color:{{{info-fc|#000000}}}; {{{info-style|}}}" | {{{4|{{{info|''info''}}}}}}
 
|}</div><noinclude>
 
|}</div><noinclude>

Текущая версия на 13:10, 24 марта 2015

id info