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