Шаблон:SongbookView: различия между версиями
Grayenot (обсуждение | вклад) Новая страница: «<noinclude>{{Documentation}}</noinclude> <includeonly> <div class="songbook-container"> <div class="songbook-header"> <h1>{{{Title}}}</h1> <p>{{{Description}}}</p> <div class="songbook-actions"> <button class="add-song">Добавить песню</button> <button class="export-pdf">Экспорт в PDF</button> </div> <div class="song-search" style="display:none"> {{#forminput:form=AddSongToBook|autocomplete on categ...» |
Grayenot (обсуждение | вклад) мНет описания правки |
||
| Строка 1: | Строка 1: | ||
<includeonly> | <includeonly> | ||
<div class="songbook | <div class="songbook"> | ||
{{#cargo_query: | |||
tables=SongbookEntries,Song | |||
|join on=SongbookEntries.SongPage=Song._pageName | |||
|where=SongbookEntries.SongbookID="{{{SongbookID}}}" | |||
|order by=SongbookEntries.SortOrder | |||
|fields=SongbookEntries.EntryID, | |||
Song._pageName, | |||
Song.Name, | |||
Song.Text | |||
|format=template | |||
|template=SongbookItem | |||
}} | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||