Шаблон:SongbookView: различия между версиями
Grayenot (обсуждение | вклад) мНет описания правки |
Grayenot (обсуждение | вклад) мНет описания правки |
||
| Строка 1: | Строка 1: | ||
<noinclude>{{Documentation}}</noinclude> | <noinclude>{{Documentation}}</noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="songbook | <div class="songbook"> | ||
< | <!-- Метаданные --> | ||
<div class="songbook-meta"> | |||
Владелец: [[User:{{{User}}}|{{{User}}}]]<br> | |||
Создан: {{{Created}}}<br> | |||
Обновлен: {{{Updated}}}<br> | |||
Статус: {{#if:{{{IsPublic}}}|Публичный|Приватный}} | |||
</div> | </div> | ||
<!-- Описание --> | |||
<div class="songbook-description"> | |||
<h3>Описание</h3> | |||
{{{Description|Нет описания}}} | |||
</div> | |||
<!-- Кнопка добавления --> | |||
<div class="songbook-actions"> | |||
{{#formlink:form=AddSongToBook | |||
|link text=Добавить песню | |||
|link type=button | |||
|query string=SongbookID={{{SongbookID}}} | |||
}} | |||
</div> | |||
<!-- Список песен --> | |||
<div class="song-list"> | <div class="song-list"> | ||
{{#cargo_query: | {{#cargo_query: | ||
| Строка 25: | Строка 31: | ||
|join on=SongbookEntries.SongPage=song._pageName | |join on=SongbookEntries.SongPage=song._pageName | ||
|where=SongbookEntries.SongbookID="{{{SongbookID}}}" | |where=SongbookEntries.SongbookID="{{{SongbookID}}}" | ||
|order by= | |order by=SortOrder | ||
|fields=SongbookEntries.SongPage, | |fields=SongbookEntries.SongPage, | ||
song.Name, | song.Name, | ||
Версия от 19:23, 11 апреля 2025
Документация
создать |
Этому шаблону не хватает документации.