Шаблон:Подвал: различия между версиями
Admin (обсуждение | вклад) мНет описания правки Метки: ручная отмена отменено |
Исправление общего вывода песен: жанры, теги и исполнения берутся из включённой песни |
||
| (не показаны 2 промежуточные версии 2 участников) | |||
| Строка 1: | Строка 1: | ||
{{#iferror: {{#cargo_query: tables=song | {{#iferror: {{#cargo_query: tables=song | ||
|fields=song.Genre, song.Tag, song.Date, song.CV, song.Movie, song.Authorized | |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 | ||
| Строка 17: | Строка 17: | ||
tables=song | tables=song | ||
|fields=song.Name | |fields=song.Name | ||
|where=song._pageID={{ | |where=song._pageID={{#bard_song_page_id:}} | ||
|format=template | |format=template | ||
|template=ChordsVault | |template=ChordsVault | ||
}}}} | }}}} | ||
<vote | <vote /> | ||
<!--{{#iferror: {{#cargo_query: tables=song | <!--{{#iferror: {{#cargo_query: tables=song | ||
|fields=song.Genre, song.Tag, song.Date, song.Video, song.Audio, song.CV, song.Movie, song.Authorized | |fields=song.Genre, song.Tag, song.Date, song.Video, song.Audio, song.CV, song.Movie, song.Authorized | ||
|where=song._pageID={{ | |where=song._pageID={{#bard_song_page_id:}} | ||
|format=template | |format=template | ||
|template=BottomSong | |template=BottomSong | ||
|named args=yes | |named args=yes | ||
}}}}--> | }}}}--> | ||