Difference between revisions of "User:Denis0.ru/test"

From Wiki
Jump to navigationJump to search
Line 19: Line 19:
  
  
{{#ifexist: {{#titleparts: {{{1}}} | -5 }} | exist | not exist }}
+
{{#ifexist: {{#titleparts: {{{1}}} | -7 }}
{{#ifexist: {{#titleparts: {{{1}}} | -4 }} | exist | not exist }}
 
 
 
{{#ifeq: {{#titleparts: {{{1}}} | -7 }} | {{#titleparts: {{{1}}} | -6 }} |
 
 
| {{SecTitle|{{#titleparts: {{{1}}} | -5 }} → 
 
| {{SecTitle|{{#titleparts: {{{1}}} | -5 }} → 
  {{SecTitle|{{#titleparts: {{{1}}} | -4 }} → 
 
  {{SecTitle|{{#titleparts: {{{1}}} | -3 }} → 
 
  {{SecTitle|{{#titleparts: {{{1}}} | -2 }} → 
 
  {{SecTitle|{{#titleparts: {{{1}}} | -1 }}
 
 
}}
 
}}
  
{{#ifeq: {{#titleparts: {{{1}}} | -6 }} | {{#titleparts: {{{1}}} | -5 }} |
+
{{#ifexist: {{#titleparts: {{{1}}} | -6 }}
 
| {{SecTitle|{{#titleparts: {{{1}}} | -4 }} → 
 
| {{SecTitle|{{#titleparts: {{{1}}} | -4 }} → 
  {{SecTitle|{{#titleparts: {{{1}}} | -3 }} → 
 
  {{SecTitle|{{#titleparts: {{{1}}} | -2 }} → 
 
  {{SecTitle|{{#titleparts: {{{1}}} | -1 }}
 
 
}}
 
}}
  
{{#ifeq: {{#titleparts: {{{1}}} | -5 }} | {{#titleparts: {{{1}}} | -4 }} |
+
{{#ifexist: {{#titleparts: {{{1}}} | -5 }}
 
| {{SecTitle|{{#titleparts: {{{1}}} | -3 }} → 
 
| {{SecTitle|{{#titleparts: {{{1}}} | -3 }} → 
  {{SecTitle|{{#titleparts: {{{1}}} | -2 }} → 
 
  {{SecTitle|{{#titleparts: {{{1}}} | -1 }}
 
 
}}
 
}}
  
{{#ifeq: {{#titleparts: {{{1}}} | -4 }} | {{#titleparts: {{{1}}} | -3 }} |
+
{{#ifexist: {{#titleparts: {{{1}}} | -4 }}
 
| {{SecTitle|{{#titleparts: {{{1}}} | -2 }} → 
 
| {{SecTitle|{{#titleparts: {{{1}}} | -2 }} → 
  {{SecTitle|{{#titleparts: {{{1}}} | -1 }}
 
 
}}
 
}}
  
{{#ifeq: {{#titleparts: {{{1}}} | -3 }} | {{#titleparts: {{{1}}} | -2 }} |
+
{{#ifexist: {{#titleparts: {{{1}}} | -3 }}
 
| {{SecTitle|{{#titleparts: {{{1}}} | -1 }}
 
| {{SecTitle|{{#titleparts: {{{1}}} | -1 }}
 +
| {{#ifexist: {{#titleparts: {{{1}}} | -2 }}
 +
  | {{SecTitle|{{#titleparts: {{{1}}} | -1 }}
 +
  }}
 
}}
 
}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 13:14, 20 September 2010

Для вставки локализованного меню типа "хлебные крошки".

Параметры: 1 - абсолютный адрес последней страницы в пути. 2 - число шагов назад (по умолчанию 3).

Примеры:



{{#ifexist: | [[ →  |]]

{{#ifexist: | [[RU →  |RU →]]

{{#ifexist: | [[RU/kb →  |RU/kb →]]

{{#ifexist: RU | [[RU/kb/module →  |RU/kb/module →]]

{{#ifexist: RU/kb | {{SecTitle|RU/kb/module/calc | [[RU/kb/module/calc

 |Calc]]




{{#ifexist: | [[ →  |]]

{{#ifexist: | [[ →  |]]

{{#ifexist: | [[RU →  |RU →]]

{{#ifexist: | [[RU/kb →  |RU/kb →]]

{{#ifexist: RU | {{SecTitle|RU/kb/module | [[RU/kb/module

 |Модули OpenOffice.org]]




{{#ifexist: | [[ →  |]]

{{#ifexist: | [[ →  |]]

{{#ifexist: | [[ →  |]]

{{#ifexist: | [[RU →  |RU →]]

{{#ifexist: | {{SecTitle|RU/kb | [[RU/kb

 |База знаний]]




{{#ifexist: | [[ →  |]]

{{#ifexist: | [[ →  |]]

{{#ifexist: | [[ →  |]]

{{#ifexist: | [[ →  |]]

{{#ifexist: | {{SecTitle|RU |