Шаблон:КатегорияDPL: различия между версиями

Нет описания правки
Нет описания правки
Строка 1: Строка 1:
<div style="font-weight: bold;">Разделы</div>
{{#if: {{#tag:DynamicPageList|category={{{1}}}|namespace=Category|mode=none|shownamespace=false|ordermethod=sortkey|order=ascending}}|
{{#tag:DynamicPageList|
  <div style="font-weight: bold;">Разделы</div>
category={{{1}}}
  {{#tag:DynamicPageList|
namespace=Category
    category={{{1}}}
mode=block
    namespace=Category
shownamespace=false
    mode=block
ordermethod=sortkey
    shownamespace=false
order=ascending
    ordermethod=sortkey
    order=ascending
  }}
}}
}}


<div style="font-weight: bold; margin-top: 10px;">Страницы</div>
{{#if: {{#tag:DynamicPageList|category={{{1}}}|namespace=!|mode=none|ordermethod=sortkey|order=ascending}}|
{{#tag:DynamicPageList|
  <div style="font-weight: bold; margin-top: 10px;">Страницы</div>
category={{{1}}}
  {{#tag:DynamicPageList|
namespace=!
    category={{{1}}}
mode=block
    namespace=!
ordermethod=sortkey
    mode=block
order=ascending
    ordermethod=sortkey
    order=ascending
  }}
}}
}}