Изменения

Перейти к: навигация, поиск

Шаблон:АТХ код

29 069 байт добавлено, 17:46, 26 ноября 2011
оформление
{{Навигационная таблица2
|{{ #ifeq: {{{1|}}} | child | child | parent }}
|имя = {{{name|{{PAGENAME}}}}}
|navbar = {{#ifeq:{{{1|}}}|child|plain|}}
|state = {{#if:{{{state|}}}|{{{state}}}|{{#ifeq:{{{1|}}}|child|collapsed|{{#if:{{{заголовок3|}}}|{{#if:{{{заголовок5|}}}|collapsed|autocollapse}}|expanded}}}}}}
|стиль_основного_заголовка = {{#ifeq:{{{1|}}}|child|text-align:left; padding-left:30px; border-radius: 2px; box-shadow: inset -1px -1px 2px #ccccff;|}}
|заголовок = {{#ifeq:{{{1|}}}|child|{{АТХ|{{Str left|{{{code1_1|}}}|3}}}} — |}}{{{заголовок|Лекарственные препараты}}}{{#ifeq:{{{1|}}}|child|| — [[Анатомо-терапевтическо-химическая классификация{{!}}АТХ код:]] {{АТХ|{{Str left|{{{code1_1|}}}|3}}}}}}

|стиль_тела =
|стиль_заголовков = {{#ifeq:{{{1|}}}|child|padding-left:60px; |display:none;}} text-align:center; padding-right:6px; min-width: 6em !important; max-width: 6em !important; width: 6em !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);

|стиль_списков = background: #fff; font-size:100% !important; margin: 2px !important; height:100%; min-height: 100% !important;
|стиль_нечетных = background: #fff;
|стиль_четных = background: #fff;
|тема = {{{theme|{{#ifeq:{{{1|}}}|child|lightstandart|standart}}}}}

|стиль_вверху = font-size:x-small; line-height:96%;
|вверху = {{{вверху|}}}
|стиль_внизу = font-size:x-small; line-height:96%;
|внизу = {{{внизу|}}}

<!-- === 1 === -->
|заголовок1 = {{#if:{{{code1_1|}}}|{{АТХ|{{Str left|{{{code1_1}}}|4}}}}|}}
|список1 = {{#if:{{{code1_1|}}}|{{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle =
|groupevenstyle =

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle =
|evenstyle =

|group1 = {{{заголовок1|}}}
|list1 = {{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle =
|groupevenstyle = background: #e8f5ff;

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle = background: #fff;
|evenstyle = background: #eee;

|group1 = {{#if:{{{code1_1|}}}|{{left| {{АТХ|{{Str left|{{{code1_1|}}}|5}}}} }}}} {{{descr1_1|}}}
|list1 = {{{list1_1|}}}

|group2 = {{#if:{{{code1_2|}}}|{{left| {{АТХ|{{Str left|{{{code1_2|}}}|5}}}} }}}} {{{descr1_2|}}}
|list2 = {{{list1_2|}}}

|group3 = {{#if:{{{code1_3|}}}|{{left| {{АТХ|{{Str left|{{{code1_3|}}}|5}}}} }}}} {{{descr1_3|}}}
|list3 = {{{list1_3|}}}

|group4 = {{#if:{{{code1_4|}}}|{{left| {{АТХ|{{Str left|{{{code1_4|}}}|5}}}} }}}} {{{descr1_4|}}}
|list4 = {{{list1_4|}}}

|group5 = {{#if:{{{code1_5|}}}|{{left| {{АТХ|{{Str left|{{{code1_5|}}}|5}}}} }}}} {{{descr1_5|}}}
|list5 = {{{list1_5|}}}

|group6 = {{#if:{{{code1_6|}}}|{{left| {{АТХ|{{Str left|{{{code1_6|}}}|5}}}} }}}} {{{descr1_6|}}}
|list6 = {{{list1_6|}}}

|group7 = {{#if:{{{code1_7|}}}|{{left| {{АТХ|{{Str left|{{{code1_7|}}}|5}}}} }}}} {{{descr1_7|}}}
|list7 = {{{list1_7|}}}

|group8 = {{#if:{{{code1_8|}}}|{{left| {{АТХ|{{Str left|{{{code1_8|}}}|5}}}} }}}} {{{descr1_8|}}}
|list8 = {{{list1_8|}}}

|group9 = {{#if:{{{code1_9|}}}|{{left| {{АТХ|{{Str left|{{{code1_9|}}}|5}}}} }}}} {{{descr1_9|}}}
|list9 = {{{list1_9|}}}

|group10 = {{#if:{{{code1_10|}}}|{{left| {{АТХ|{{Str left|{{{code1_10|}}}|5}}}} }}}} {{{descr1_10|}}}
|list10 = {{{list1_10|}}}

|group11 = {{#if:{{{code1_11|}}}|{{left| {{АТХ|{{Str left|{{{code1_11|}}}|5}}}} }}}} {{{descr1_11|}}}
|list11 = {{{list1_11|}}}

|group12 = {{#if:{{{code1_12|}}}|{{left| {{АТХ|{{Str left|{{{code1_12|}}}|5}}}} }}}} {{{descr1_12|}}}
|list12 = {{{list1_12|}}}
}}
}}|}}

<!-- === 2 === -->

|заголовок2 = {{#if:{{{code2_1|}}}|{{АТХ|{{Str left|{{{code2_1}}}|4}}}}|}}
|список2 = {{#if:{{{code2_1|}}}|{{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle =
|groupevenstyle =

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle =
|evenstyle =

|group1 = {{{заголовок2|}}}
|list1 = {{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle = {{#if:{{{phase2|}}}|background: #e8f5ff;|}}
|groupevenstyle = {{#if:{{{phase2|}}}||background: #e8f5ff;}}

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle = {{#if:{{{phase2|}}}|background: #eee;|background: #fff;}}
|evenstyle = {{#if:{{{phase2|}}}|background: #fff;|background: #eee;}}

|group1 = {{#if:{{{code2_1|}}}|{{left| {{АТХ|{{Str left|{{{code2_1|}}}|5}}}} }}}} {{{descr2_1|}}}
|list1 = {{{list2_1|}}}

|group2 = {{#if:{{{code2_2|}}}|{{left| {{АТХ|{{Str left|{{{code2_2|}}}|5}}}} }}}} {{{descr2_2|}}}
|list2 = {{{list2_2|}}}

|group3 = {{#if:{{{code2_3|}}}|{{left| {{АТХ|{{Str left|{{{code2_3|}}}|5}}}} }}}} {{{descr2_3|}}}
|list3 = {{{list2_3|}}}

|group4 = {{#if:{{{code2_4|}}}|{{left| {{АТХ|{{Str left|{{{code2_4|}}}|5}}}} }}}} {{{descr2_4|}}}
|list4 = {{{list2_4|}}}

|group5 = {{#if:{{{code2_5|}}}|{{left| {{АТХ|{{Str left|{{{code2_5|}}}|5}}}} }}}} {{{descr2_5|}}}
|list5 = {{{list2_5|}}}

|group6 = {{#if:{{{code2_6|}}}|{{left| {{АТХ|{{Str left|{{{code2_6|}}}|5}}}} }}}} {{{descr2_6|}}}
|list6 = {{{list2_6|}}}

|group7 = {{#if:{{{code2_7|}}}|{{left| {{АТХ|{{Str left|{{{code2_7|}}}|5}}}} }}}} {{{descr2_7|}}}
|list7 = {{{list2_7|}}}

|group8 = {{#if:{{{code2_8|}}}|{{left| {{АТХ|{{Str left|{{{code2_8|}}}|5}}}} }}}} {{{descr2_8|}}}
|list8 = {{{list2_8|}}}

|group9 = {{#if:{{{code2_9|}}}|{{left| {{АТХ|{{Str left|{{{code2_9|}}}|5}}}} }}}} {{{descr2_9|}}}
|list9 = {{{list2_9|}}}

|group10 = {{#if:{{{code2_10|}}}|{{left| {{АТХ|{{Str left|{{{code2_10|}}}|5}}}} }}}} {{{descr2_10|}}}
|list10 = {{{list2_10|}}}

|group11 = {{#if:{{{code2_11|}}}|{{left| {{АТХ|{{Str left|{{{code2_11|}}}|5}}}} }}}} {{{descr2_11|}}}
|list11 = {{{list2_11|}}}

|group12 = {{#if:{{{code2_12|}}}|{{left| {{АТХ|{{Str left|{{{code2_12|}}}|5}}}} }}}} {{{descr2_12|}}}
|list12 = {{{list2_12|}}}
}}
}}|}}

<!-- === 3 === -->

|заголовок3 = {{#if:{{{code3_1|}}}|{{АТХ|{{Str left|{{{code3_1}}}|4}}}}|}}
|список3 = {{#if:{{{code3_1|}}}|{{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle =
|groupevenstyle =

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle =
|evenstyle =

|group1 = {{{заголовок3|}}}
|list1 = {{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle = {{#if:{{{phase3|}}}|background: #e8f5ff;|}}
|groupevenstyle = {{#if:{{{phase3|}}}||background: #e8f5ff;}}

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle = {{#if:{{{phase3|}}}|background: #eee;|background: #fff;}}
|evenstyle = {{#if:{{{phase3|}}}|background: #fff;|background: #eee;}}

|group1 = {{#if:{{{code3_1|}}}|{{left| {{АТХ|{{Str left|{{{code3_1|}}}|5}}}} }}}} {{{descr3_1|}}}
|list1 = {{{list3_1|}}}

|group2 = {{#if:{{{code3_2|}}}|{{left| {{АТХ|{{Str left|{{{code3_2|}}}|5}}}} }}}} {{{descr3_2|}}}
|list2 = {{{list3_2|}}}

|group3 = {{#if:{{{code3_3|}}}|{{left| {{АТХ|{{Str left|{{{code3_3|}}}|5}}}} }}}} {{{descr3_3|}}}
|list3 = {{{list3_3|}}}

|group4 = {{#if:{{{code3_4|}}}|{{left| {{АТХ|{{Str left|{{{code3_4|}}}|5}}}} }}}} {{{descr3_4|}}}
|list4 = {{{list3_4|}}}

|group5 = {{#if:{{{code3_5|}}}|{{left| {{АТХ|{{Str left|{{{code3_5|}}}|5}}}} }}}} {{{descr3_5|}}}
|list5 = {{{list3_5|}}}

|group6 = {{#if:{{{code3_6|}}}|{{left| {{АТХ|{{Str left|{{{code3_6|}}}|5}}}} }}}} {{{descr3_6|}}}
|list6 = {{{list3_6|}}}

|group7 = {{#if:{{{code3_7|}}}|{{left| {{АТХ|{{Str left|{{{code3_7|}}}|5}}}} }}}} {{{descr3_7|}}}
|list7 = {{{list3_7|}}}

|group8 = {{#if:{{{code3_8|}}}|{{left| {{АТХ|{{Str left|{{{code3_8|}}}|5}}}} }}}} {{{descr3_8|}}}
|list8 = {{{list3_8|}}}

|group9 = {{#if:{{{code3_9|}}}|{{left| {{АТХ|{{Str left|{{{code3_9|}}}|5}}}} }}}} {{{descr3_9|}}}
|list9 = {{{list3_9|}}}

|group10 = {{#if:{{{code3_10|}}}|{{left| {{АТХ|{{Str left|{{{code3_10|}}}|5}}}} }}}} {{{descr3_10|}}}
|list10 = {{{list3_10|}}}

|group11 = {{#if:{{{code3_11|}}}|{{left| {{АТХ|{{Str left|{{{code3_11|}}}|5}}}} }}}} {{{descr3_11|}}}
|list11 = {{{list1_11|}}}

|group12 = {{#if:{{{code3_12|}}}|{{left| {{АТХ|{{Str left|{{{code3_12|}}}|5}}}} }}}} {{{descr3_12|}}}
|list12 = {{{list3_12|}}}
}}
}}|}}

<!-- === 4 === -->
|заголовок4 = {{#if:{{{code4_1|}}}|{{АТХ|{{Str left|{{{code4_1}}}|4}}}}|}}
|список4 = {{#if:{{{code4_1|}}}|{{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle =
|groupevenstyle =

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle =
|evenstyle =

|group1 = {{{заголовок4|}}}
|list1 = {{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle = {{#if:{{{phase4|}}}|background: #e8f5ff;|}}
|groupevenstyle = {{#if:{{{phase4|}}}||background: #e8f5ff;}}

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle = {{#if:{{{phase4|}}}|background: #eee;|background: #fff;}}
|evenstyle = {{#if:{{{phase4|}}}|background: #fff;|background: #eee;}}

|group1 = {{#if:{{{code4_1|}}}|{{left| {{АТХ|{{Str left|{{{code4_1|}}}|5}}}} }}}} {{{descr4_1|}}}
|list1 = {{{list4_1|}}}

|group2 = {{#if:{{{code4_2|}}}|{{left| {{АТХ|{{Str left|{{{code4_2|}}}|5}}}} }}}} {{{descr4_2|}}}
|list2 = {{{list4_2|}}}

|group3 = {{#if:{{{code4_3|}}}|{{left| {{АТХ|{{Str left|{{{code4_3|}}}|5}}}} }}}} {{{descr4_3|}}}
|list3 = {{{list4_3|}}}

|group4 = {{#if:{{{code4_4|}}}|{{left| {{АТХ|{{Str left|{{{code4_4|}}}|5}}}} }}}} {{{descr4_4|}}}
|list4 = {{{list4_4|}}}

|group5 = {{#if:{{{code4_5|}}}|{{left| {{АТХ|{{Str left|{{{code4_5|}}}|5}}}} }}}} {{{descr4_5|}}}
|list5 = {{{list4_5|}}}

|group6 = {{#if:{{{code4_6|}}}|{{left| {{АТХ|{{Str left|{{{code4_6|}}}|5}}}} }}}} {{{descr4_6|}}}
|list6 = {{{list4_6|}}}

|group7 = {{#if:{{{code4_7|}}}|{{left| {{АТХ|{{Str left|{{{code4_7|}}}|5}}}} }}}} {{{descr4_7|}}}
|list7 = {{{list4_7|}}}

|group8 = {{#if:{{{code4_8|}}}|{{left| {{АТХ|{{Str left|{{{code4_8|}}}|5}}}} }}}} {{{descr4_8|}}}
|list8 = {{{list4_8|}}}

|group9 = {{#if:{{{code4_9|}}}|{{left| {{АТХ|{{Str left|{{{code4_9|}}}|5}}}} }}}} {{{descr4_9|}}}
|list9 = {{{list4_9|}}}

|group10 = {{#if:{{{code4_10|}}}|{{left| {{АТХ|{{Str left|{{{code4_10|}}}|5}}}} }}}} {{{descr4_10|}}}
|list10 = {{{list4_10|}}}

|group11 = {{#if:{{{code4_11|}}}|{{left| {{АТХ|{{Str left|{{{code4_11|}}}|5}}}} }}}} {{{descr4_11|}}}
|list11 = {{{list4_11|}}}

|group12 = {{#if:{{{code4_12|}}}|{{left| {{АТХ|{{Str left|{{{code4_12|}}}|5}}}} }}}} {{{descr4_12|}}}
|list12 = {{{list4_12|}}}
}}
}}|}}

<!-- === 5 === -->
|заголовок5 = {{#if:{{{code5_1|}}}|{{АТХ|{{Str left|{{{code5_1}}}|4}}}}|}}
|список5 = {{#if:{{{code5_1|}}}|{{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle =
|groupevenstyle =

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle =
|evenstyle =

|group1 = {{{заголовок5|}}}
|list1 = {{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle = {{#if:{{{phase5|}}}|background: #e8f5ff;|}}
|groupevenstyle = {{#if:{{{phase5|}}}||background: #e8f5ff;}}

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle = {{#if:{{{phase5|}}}|background: #eee;|background: #fff;}}
|evenstyle = {{#if:{{{phase5|}}}|background: #fff;|background: #eee;}}

|group1 = {{#if:{{{code5_1|}}}|{{left| {{АТХ|{{Str left|{{{code5_1|}}}|5}}}} }}}} {{{descr5_1|}}}
|list1 = {{{list5_1|}}}

|group2 = {{#if:{{{code5_2|}}}|{{left| {{АТХ|{{Str left|{{{code5_2|}}}|5}}}} }}}} {{{descr5_2|}}}
|list2 = {{{list5_2|}}}

|group3 = {{#if:{{{code5_3|}}}|{{left| {{АТХ|{{Str left|{{{code5_3|}}}|5}}}} }}}} {{{descr5_3|}}}
|list3 = {{{list5_3|}}}

|group4 = {{#if:{{{code5_4|}}}|{{left| {{АТХ|{{Str left|{{{code5_4|}}}|5}}}} }}}} {{{descr5_4|}}}
|list4 = {{{list5_4|}}}

|group5 = {{#if:{{{code5_5|}}}|{{left| {{АТХ|{{Str left|{{{code5_5|}}}|5}}}} }}}} {{{descr5_5|}}}
|list5 = {{{list5_5|}}}

|group6 = {{#if:{{{code5_6|}}}|{{left| {{АТХ|{{Str left|{{{code5_6|}}}|5}}}} }}}} {{{descr5_6|}}}
|list6 = {{{list5_6|}}}

|group7 = {{#if:{{{code5_7|}}}|{{left| {{АТХ|{{Str left|{{{code5_7|}}}|5}}}} }}}} {{{descr5_7|}}}
|list7 = {{{list5_7|}}}

|group8 = {{#if:{{{code5_8|}}}|{{left| {{АТХ|{{Str left|{{{code5_8|}}}|5}}}} }}}} {{{descr5_8|}}}
|list8 = {{{list5_8|}}}

|group9 = {{#if:{{{code5_9|}}}|{{left| {{АТХ|{{Str left|{{{code5_9|}}}|5}}}} }}}} {{{descr5_9|}}}
|list9 = {{{list5_9|}}}

|group10 = {{#if:{{{code5_10|}}}|{{left| {{АТХ|{{Str left|{{{code5_10|}}}|5}}}} }}}} {{{descr5_10|}}}
|list10 = {{{list5_10|}}}

|group11 = {{#if:{{{code5_11|}}}|{{left| {{АТХ|{{Str left|{{{code5_11|}}}|5}}}} }}}} {{{descr5_11|}}}
|list11 = {{{list5_11|}}}

|group12 = {{#if:{{{code5_12|}}}|{{left| {{АТХ|{{Str left|{{{code5_12|}}}|5}}}} }}}} {{{descr5_12|}}}
|list12 = {{{list5_12|}}}
}}
}}|}}

<!-- === 6 === -->
|заголовок6 = {{#if:{{{code6_1|}}}|{{АТХ|{{Str left|{{{code6_1}}}|4}}}}|}}
|список6 = {{#if:{{{code6_1|}}}|{{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle =
|groupevenstyle =

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle =
|evenstyle =

|group1 = {{{заголовок6|}}}
|list1 = {{Navbox subgroups
|bodystyle = width: 100%;

|groupstyle = width: 200px !important; max-width:200px !important; min-width:200px !important; padding: 4px; word-wrap: break-word !important; white-space: normal !important; height:100%; min-height: 100% !important; margin: 2px !important; border-radius: 4px; box-shadow: inset 1px 1px 2px #ccccff; background: #e6e6ff; background: -webkit-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -moz-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -o-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: -ms-radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff); background: radial-gradient(50% 50%, circle, #f7f7fc, #e6e6ff, #e6e6ff);
|groupoddstyle = {{#if:{{{phase6|}}}|background: #e8f5ff;|}}
|groupevenstyle = {{#if:{{{phase6|}}}||background: #e8f5ff;}}

|liststyle = width: auto; height:100%; min-height: 100% !important; margin: 2px !important;
|oddstyle = {{#if:{{{phase6|}}}|background: #eee;|background: #fff;}}
|evenstyle = {{#if:{{{phase6|}}}|background: #fff;|background: #eee;}}

|group1 = {{#if:{{{code6_1|}}}|{{left| {{АТХ|{{Str left|{{{code6_1|}}}|5}}}} }}}} {{{descr6_1|}}}
|list1 = {{{list6_1|}}}

|group2 = {{#if:{{{code6_2|}}}|{{left| {{АТХ|{{Str left|{{{code6_2|}}}|5}}}} }}}} {{{descr6_2|}}}
|list2 = {{{list6_2|}}}

|group3 = {{#if:{{{code6_3|}}}|{{left| {{АТХ|{{Str left|{{{code6_3|}}}|5}}}} }}}} {{{descr6_3|}}}
|list3 = {{{list6_3|}}}

|group4 = {{#if:{{{code6_4|}}}|{{left| {{АТХ|{{Str left|{{{code6_4|}}}|5}}}} }}}} {{{descr6_4|}}}
|list4 = {{{list6_4|}}}

|group5 = {{#if:{{{code6_5|}}}|{{left| {{АТХ|{{Str left|{{{code6_5|}}}|5}}}} }}}} {{{descr6_5|}}}
|list5 = {{{list6_5|}}}

|group6 = {{#if:{{{code6_6|}}}|{{left| {{АТХ|{{Str left|{{{code6_6|}}}|5}}}} }}}} {{{descr6_6|}}}
|list6 = {{{list6_6|}}}

|group7 = {{#if:{{{code6_7|}}}|{{left| {{АТХ|{{Str left|{{{code6_7|}}}|5}}}} }}}} {{{descr6_7|}}}
|list7 = {{{list6_7|}}}

|group8 = {{#if:{{{code6_8|}}}|{{left| {{АТХ|{{Str left|{{{code6_8|}}}|5}}}} }}}} {{{descr6_8|}}}
|list8 = {{{list6_8|}}}

|group9 = {{#if:{{{code6_9|}}}|{{left| {{АТХ|{{Str left|{{{code6_9|}}}|5}}}} }}}} {{{descr6_9|}}}
|list9 = {{{list6_9|}}}

|group10 = {{#if:{{{code6_10|}}}|{{left| {{АТХ|{{Str left|{{{code6_10|}}}|5}}}} }}}} {{{descr6_10|}}}
|list10 = {{{list6_10|}}}

|group11 = {{#if:{{{code6_11|}}}|{{left| {{АТХ|{{Str left|{{{code6_11|}}}|5}}}} }}}} {{{descr6_11|}}}
|list11 = {{{list6_11|}}}

|group12 = {{#if:{{{code6_12|}}}|{{left| {{АТХ|{{Str left|{{{code6_12|}}}|5}}}} }}}} {{{descr6_12|}}}
|list12 = {{{list6_12|}}}
}}
}}|}}
}}
<noinclude>
{{doc-inline}}
== Документация ==
{{ambox
|type=info
|text=<div style="background:#ff9900; color:#ddddff; font-weight:800; text-align:center; font-size:135%;">Этот шаблон находится в стадии разработки, поэтому его использование в статьях требует осторожности</div>
|text-small=<div style="background:#ffdd99; text-align:center;">Существует техническая поддержка данного шаблона. В случае, если вы заметили неполадки в работе шаблона, а также если у вас есть предложения или пожелания по его работе и развитию, вы можете обратиться на страницу [[Обсуждение шаблона:АТХ блок|обсуждения шаблона]].</div>
}}
__TOC__

{{#vardefine:code1_1|specifiedvalue}}
{{#var:code1_1}}
== Заготовка для копирования ==

<pre>{{АТХ код
|{{ #ifeq: {{{1|}}} | child | child | parent }}
| name = {{Subst:PAGENAME}}
| state = {{{state|}}}
| заголовок =

|вверху =
|внизу =

|заголовок1 = <!-- Описание группы 4-значный код -->
|descr1_1 = <!-- Описание подгруппы 5-значный код -->
|code1_1 = <!-- 5-значный код АТХ -->
|list1_1 = {{АТХ код/list|brackets=1|small=1
|<!-- Название препарата -->
|<!-- Код препарата -->
}}

|descr1_2 = <!-- Описание подгруппы 5-значный код -->
|code1_2 = <!-- 5-значный код АТХ -->
|list1_2 = {{АТХ код/list|brackets=1|small=1
|
|
}}

|заголовок2 =
|phase2 = <!-- Любое значение инвертирует раскраску рядов -->
|descr2_1 =
|code2_1 =
|list2_1 = {{АТХ код/list|brackets=1|small=1
|
|
}}

|другие =

}}</pre>

== Пример ==

{{АТХ код
|{{ #ifeq: {{{1|}}} | child | child | parent }}
| name =
| заголовок = Противорвотные препараты

|вверху =
|внизу =

|заголовок1 = Противорвотные препараты
|descr1_1 = Антагонисты серотониновых 5HT3-рецепторов
|code1_1 = A04AA
|list1_1 = {{АТХ код/list|brackets=1|small=1
|Ондансетрон
|A04AA01
|Гранисетрон
|A04AA02
}}

|descr1_2 = Другие противорвотные препараты
|code1_2 = A04AD
|list1_2 = {{АТХ код/list|brackets=1|small=1
|Апрепитант
|A04AD12
}}
}}

{{АТХ код
|child
| name =
| заголовок = Противорвотные препараты

|вверху =
|внизу =

|заголовок1 = Противорвотные препараты
|descr1_1 = Антагонисты серотониновых 5HT3-рецепторов
|code1_1 = A04AA
|list1_1 = {{АТХ код/list|brackets=1|small=1
|Ондансетрон
|A04AA01
|Гранисетрон
|A04AA02
}}

|descr1_2 = Другие противорвотные препараты
|code1_2 = A04AD
|list1_2 = {{АТХ код/list|brackets=1|small=1
|Апрепитант
|A04AD12
}}
}}

== TODO ==
# trim
# Проверка длинны кода
# Выравнивание кода в заголовке по выбору
# Отключать ссылки на сайт who
# Преобразование написания препаратов, первая буква заглавная
# Не классифицированный блок
* {{tl|АТХ_код/list}}

== См. также ==

* {{tl|АТХ}}
* {{tl|Nobr*}}
* [[:Категория:Шаблоны:Работа со строками]]

== Ссылки ==

* <!-- http://www.mediawiki.org/wiki/Help:Magic_words-->[[m:Help:Magic_words]]

{{doc-end}}

[[Категория:Шаблоны:Для шаблонов]]
</noinclude>
Анонимный участник

Навигация