Шаблон:OpmlFile: различия между версиями
Перейти к навигации
Перейти к поиску
Строка 1: | Строка 1: | ||
<noinclude> | <noinclude> | ||
− | #userparam - 'author' (not default, | + | #userparam - 'author' (not default, lists for author, less grouping) |
+ | 'author4Catalog' (urls got from [[template:Opml]]) | ||
1 - страница списка | 1 - страница списка | ||
Строка 11: | Строка 12: | ||
{{OpmlIntro}} | {{OpmlIntro}} | ||
<outline text="Authors"> | <outline text="Authors"> | ||
− | {{#ifeq: {{{#userparam}}}|author | + | {{#ifeq: {{#pos: {{{#userparam}}}|author}} |
| | | | ||
<outline text="{{#dpl: title={{{1}}} | include={FriendsList}:1}}"> | <outline text="{{#dpl: title={{{1}}} | include={FriendsList}:1}}"> | ||
<outline text="{{{1}}}"> | <outline text="{{{1}}}"> | ||
+ | {{#ifeq: {{{#userparam}}}|author| | ||
{{#arraymap: | {{#arraymap: | ||
{{#dpl: title=:{{{1}}}|uses=Template:Sort | {{#dpl: title=:{{{1}}}|uses=Template:Sort | ||
Строка 21: | Строка 23: | ||
}} | }} | ||
|$|x|{{OpmlElements|x}}|}} | |$|x|{{OpmlElements|x}}|}} | ||
+ | |{{Opml|{{{1}}}}} | ||
+ | }} | ||
</outline> </outline> | </outline> </outline> | ||
|{{#arraymap: | |{{#arraymap: |
Версия 17:37, 12 ноября 2018
#userparam - 'author' (not default, lists for author, less grouping) 'author4Catalog' (urls got from template:Opml) 1 - страница списка
{{Шаблон:OpmlFile|Список Сибведа|#userparam=author}
<opml version="1.0"> <head>
<title></title>
</head> <body> <outline text="Authors">
</outline>
</body> </opml>
{{Шаблон:OpmlFile|Список Сибведа}