Шаблон:SongbookView: различия между версиями
Grayenot (обсуждение | вклад) мНет описания правки |
Grayenot (обсуждение | вклад) мНет описания правки |
||
| Строка 4: | Строка 4: | ||
<div class="songbook-header"> | <div class="songbook-header"> | ||
<h1>{{{Title}}}</h1> | <h1>{{{Title}}}</h1> | ||
< | <div class="songbook-meta"> | ||
[[Участник:{{{User}}}|{{{User}}}]] • | |||
Создан: {{#time:d.m.Y H:i|{{{Created}}}}} • | |||
Обновлен: {{#time:d.m.Y H:i|{{{Updated}}}}} • | |||
{{#if:{{{IsPublic}}}|Публичный|Приватный}} | |||
</div> | |||
<div class="songbook-actions"> | <div class="songbook-actions"> | ||
{{#formlink:form=AddSongToBook | |||
|link text=Добавить песню | |||
|link type=button | |||
|query string=SongbookID={{{SongbookID}}} | |||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
<div class="song | <div class="song-list"> | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=SongbookEntries | tables=SongbookEntries | ||
| Строка 20: | Строка 26: | ||
|where=SongbookEntries.SongbookID="{{{SongbookID}}}" | |where=SongbookEntries.SongbookID="{{{SongbookID}}}" | ||
|order by=SongbookEntries.SortOrder | |order by=SongbookEntries.SortOrder | ||
|fields=SongbookEntries. | |fields=SongbookEntries.SongPage, | ||
song.Name, | |||
|format= | song.Composer | ||
|template= | |format=ul | ||
|template=SongItem | |||
}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Версия от 18:37, 11 апреля 2025
Документация
создать |
Этому шаблону не хватает документации.