Шаблон:Подвал: различия между версиями
Admin (обсуждение | вклад) мНет описания правки |
Исправление общего вывода песен: жанры, теги и исполнения берутся из включённой песни |
||
| (не показана 21 промежуточная версия 3 участников) | |||
| Строка 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 | ||
| Строка 7: | Строка 7: | ||
}}}}<small> | }}}}<small> | ||
{{#iferror: {{#cargo_query: | {{#iferror: {{#cargo_query: | ||
tables=Performance | tables=Performance|intro=<big>'''Исполнение'''</big>|default= | ||
|fields=Performance.type=Видео/аудио, Performance.performer=Исполнитель, Performance.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> | }}}}</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 | |||
}}}}--> | |||