|
|
| Строка 1: |
Строка 1: |
| <noinclude>{{Documentation}}</noinclude> | | <noinclude>Шаблон архивного песенника.</noinclude><includeonly> |
| <includeonly> | | ''Архивный песенник.'' {{{Title|}}} |
| <div class="songbook">
| |
| <!-- Метаданные -->
| |
| <div class="songbook-meta">
| |
| Владелец: [[User:{{{User}}}|{{{User}}}]]<br>
| |
| Создан: {{{Created}}}<br>
| |
| Обновлен: {{{Updated}}}<br>
| |
| Статус: {{#if:{{{IsPublic}}}|Публичный|Приватный}}
| |
| </div>
| |
|
| |
|
| <!-- Описание -->
| | {{{Description|}}} |
| <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">
| |
| {{#cargo_query:
| |
| tables=SongbookEntries
| |
| |join on=SongbookEntries.SongPage=song._pageName
| |
| |where=SongbookEntries.SongbookID="{{{SongbookID}}}"
| |
| |order by=SortOrder
| |
| |fields=SongbookEntries.SongPage,
| |
| song.Name,
| |
| song.Composer
| |
| |format=ul
| |
| <!-- |template=SongItem-->
| |
| }}
| |
| </div>
| |
| </div>
| |
| </includeonly> | | </includeonly> |
Шаблон архивного песенника.