Шаблон:Подвал: различия между версиями
Grayenot (обсуждение | вклад) мНет описания правки |
Исправление общего вывода песен: жанры, теги и исполнения берутся из включённой песни |
||
| (не показано 13 промежуточных версий 2 участников) | |||
| Строка 1: | Строка 1: | ||
{{#iferror: {{#cargo_query: tables=song | {{#iferror: {{#cargo_query: tables=song | ||
|fields=song.Genre, song.Tag, song.Date | |fields=song.Genre, song.Tag, song.Date, song.CV, song.Movie__full=Movie, song.Authorized | ||
|where=song._pageID={{ | |where=song._pageID={{#bard_song_page_id:}} | ||
|format=template | |format=template | ||
|template=BottomSong | |template=BottomSong | ||
| Строка 9: | Строка 9: | ||
tables=Performance|intro=<big>'''Исполнение'''</big>|default= | tables=Performance|intro=<big>'''Исполнение'''</big>|default= | ||
|fields=Performance.type=Видео/аудио, Performance.performer=Исполнитель, CONCAT('[', Performance.link, ' Link]') =Ссылка, Performance.comm=Комментарий | |fields=Performance.type=Видео/аудио, Performance.performer=Исполнитель, CONCAT('[', Performance.link, ' Link]') =Ссылка, Performance.comm=Комментарий | ||
|where=Performance._pageID={{ | |where=Performance._pageID={{#bard_song_page_id:}} | ||
|order by=Performance.type ASC, Performance.performer ASC | |order by=Performance.type ASC, Performance.performer ASC | ||
|format=table | |format=table | ||
}}}}</small><vote type=1 />{{#seo:description=На этой странице размещен текст песни}} | }}}}</small><!--<vote type=1 />-->{{#seo:description=На этой странице размещен текст песни}} | ||
<noinclude>[[Категория:Шаблоны бард-вики]]</noinclude> | <noinclude>[[Категория:Шаблоны бард-вики]]</noinclude> | ||
{{#iferror: {{#cargo_query: | |||
tables=song | |||
|fields=song.Name | |||
|where=song._pageID={{#bard_song_page_id:}} | |||
|format=template | |||
|template=ChordsVault | |||
}}}} | |||
<vote /> | |||
<!--{{#iferror: {{#cargo_query: tables=song | |||
|fields=song.Genre, song.Tag, song.Date, song.Video, song.Audio, song.CV, song.Movie, song.Authorized | |||
|where=song._pageID={{#bard_song_page_id:}} | |||
|format=template | |||
|template=BottomSong | |||
|named args=yes | |||
}}}}--> | |||