Template:Abctune: Difference between revisions

Find traditional instrumental music
No edit summary
No edit summary
 
(383 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|f_aka=
|f_aka=
|f_genre=
|f_genre=
|f_style=
|f_rhythm=
|f_country=
|f_country=
|f_country_specific=
|f_key=
|f_key=
|f_accidental=
|f_mode=
|f_time_signature=
|f_history=
|f_structure=
|f_structure=
|f_score=
|f_collector=
|f_collector=
|f_book_title=
|f_book_title=
|f_page=
|f_year=
|f_year=
|f_annotations=
|f_theme_code_index=
|f_pdf_score=
|f_player=
|f_label=
|f_recording_date=
|f_album=
|f_media=
|f_score=
|f_number_of_pages
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
<includeonly>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
<div class="noprint">
<div class="mw-collapsible" data-expandtext="Show TuneInfoBox" data-collapsetext="Hide TuneInfoBox">
{{#seo:
|type=article
|author=https://www.tunearch.org/wiki/User:{{REVISIONUSER}}
|published_time={{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}
|description=The Internet Archive of traditional Irish, Scottish, British and North American tunes with annotations and free sheet music in pdf
|keywords=fiddle tune finder, irish traditional music, tune name finder, tunes in abc format, english country dance, old-time music
|image=TUC-160x120.png
|image_alt=tune name finder
}}
 
{|style="width: 100%; font-size: 100.1%; border: 1px solid #aaaaaa; color: black; margin-bottom: 1em; margin-left: 0em; padding: 0.2em; text-align:left;"
! style="text-align: center; vertical-align: top; border: 1px solid #aaaaaa; background-color:#efefef;" colspan="2" | {{font|text='''{{#formredlink:target=Annotation:{{PAGENAMEE}}|form=TuneAnnotation|link text={{PAGENAME}}}}'''|font=sans-serif|size=17px}}&nbsp; {{#info:Click on the tune title to see or modify {{PAGENAME}}'s annotations. If the link is red you can create them using the form provided.  |note}}{{#info:Browse Properties {{break}}[[Special:Browse/{{NAMESPACE}}:{{PAGENAME}}]]}}[[File:HSContribs.svg.png|35px|link=Special:RunQuery/TuneQuery|right|alt=Query the Archive|Query the Archive]]
|-
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Theme code Index'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%;"|&nbsp;&nbsp;{{font|text=[[Theme_code_index::{{{f_theme_code_index|}}}]]|font=sans-serif|size=13px|color=#7f5620}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Also known as'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_aka|}}}|,|x|{{#set:Is also known as=x}}{{#formredlink:target=x|form=Abc_tune}}}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Composer/Core Source'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_composer|}}}|,|x|{{#set:Was composed by=Biography:x}}{{#formredlink:target=Biography:x|form=People_form}}}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Region'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_country|}}}|,|x|[[It comes from::x]]}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Genre/Style'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_genre|}}}|,|x|[[Has genre::x]]}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Meter/Rhythm'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_rhythm|}}}|,|x|[[Has rhythm::x]]}}|font=sans-serif|size=13px}}
|-
|-
! Tune title
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Key/Tonic of'''|font=sans-serif|size=13px}}&nbsp;
| {{{f_tune_title|}}}
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_key|}}}|,|x|[[Is in the key of::x]]}}|font=sans-serif|size=13px}}
|-
|-
! Also known as and see
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Accidental'''|font=sans-serif|size=13px}}&nbsp;
| [[{{#arraymap:{{{f_aka|}}}|,|x|[[Is also known as::x]]}}]]
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_accidental|}}}|,|x|[[Accidental::x]]}}|font=sans-serif|size=13px}}
|-
|-
! Composer
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Mode'''|font=sans-serif|size=13px}}&nbsp;
| [[Was composed by::{{{f_composer|}}}]]
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_mode|}}}|,|x|[[Has mode::x]]}}|font=sans-serif|size=13px}}
|-
|-
! Genre
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Time signature'''|font=sans-serif|size=13px}}&nbsp;
| {{#arraymap:{{{f_genre|}}}|,|x|[[Has genre::x]]}}
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_time_signature|}}}|,|x|[[Has time signature::x]]}}|font=sans-serif|size=13px}}
|-
|-
! Style
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''History'''|font=sans-serif|size=13px}}&nbsp;
| {{#arraymap:{{{f_style|}}}|,|x|[[Has style::x]]}}
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_history|}}}|,|x|[[Has historical geographical allegiances::x]]}}|font=sans-serif|size=13px}}
|-
|-
! Country
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Structure'''|font=sans-serif|size=13px}}&nbsp;
| {{#arraymap:{{{f_country|}}}|,|x|[[Has historical geographical allegiances::x]]}} : {{{f_country_specific|}}}
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_structure|}}}|,|x|[[Has structure::x]]}}|font=sans-serif|size=13px}}
|-
|-
! Key
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Editor/Compiler'''|font=sans-serif|size=13px}}&nbsp;
| [[Is in the key of::{{{f_key|}}}]]
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_collector|}}}|,|x|{{#set:Was collected by=Biography:x}}{{#formredlink:target=Biography:x|form=People_form}}}}|font=sans-serif|size=13px}}
|-
|-
! Structure
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Book/Manuscript title'''|font=sans-serif|size=13px}}&nbsp;
| {{#arraymap:{{{f_structure|}}}|,|x|[[Has structure::x]]}}
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_book_title|}}}|,|x|{{#set:Appears in=Book:x}}{{#formredlink:target=Book:x|form=Book}}}}|font=sans-serif|size=13px}}
|-
|-
! Collector
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Tune and/or Page number'''|font=sans-serif|size=13px}}&nbsp;
| {{#arraymap:{{{f_collector|}}}|,|x|[[Was collected by::x]]}}
|style="width:70%;"| &nbsp;&nbsp;{{font|text=[[Has_tune_page_number::{{{f_page|}}}]]|font=sans-serif|size=13px}}
|-
|-
! Book title
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Year of publication/Date of MS'''|font=sans-serif|size=13px}}&nbsp;
| [[Has title::{{{f_book_title|}}}]]
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text=[[Was published in year::{{{f_year|}}}]]|font=sans-serif|size=13px}}
|-
|-
! Year of publication
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Artist'''|font=sans-serif|size=13px}}&nbsp;
| [[Was published in year::{{{f_year|}}}]]
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_player|}}}|,|x|{{#set:Was played by=Biography:x}}{{#formredlink:target=Biography:x|form=People_form}}}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Title of recording'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_album|}}}|,|x|[[Appears in the Album::x]]}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Record label/Catalogue nr.'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{#arraymap:{{{f_label|}}}|,|x|[[Has record label::x]]}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Year recorded'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%; background:#F5F5F5;"| &nbsp;&nbsp;{{font|text=[[Was recorded on::{{{f_recording_date|}}}]]|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"| &nbsp;{{font|text='''Media'''|font=sans-serif|size=13px}}&nbsp;
|style="width:70%;"| &nbsp;&nbsp;{{font|text={{{f_media|}}}|font=sans-serif|size=13px}}
|-
|style="width:30%; background:#E6E6FA; text-align:left;"|&nbsp;{{font|text='''Score'''|font=sans-serif|size=13px}} &nbsp;&nbsp;{{#ifeq: {{{f_score|}}|1|({{font|text=[[Has Score::{{{f_score|}}}]]|font=sans-serif|size=13px}})|({{font|text=[[Has Score::{{{f_score|}}}]]|font=sans-serif|size=13px}})}}
|style="width:70%; background:#F5F5F5;"|&nbsp;&nbsp;{{{f_pdf_score|}}}
|}
|}
[[Category:Tune]]
</div>
</div>
<div class="noprint">
<div class="mw-collapsible mw-collapsed" data-expandtext="Show Tune Graph" data-collapsetext="Hide Tune Graph">


[[Category:Tune]]
{{#network:{{PAGENAME}}
|exclude = TTA ; Featured Tunes Music Library ; Featured content
|labelMaxLength = 0
| options=
{
    "autoResize": true,
    "nodes": {
        "color": {
          border: '#2B7CE9',
          background: '#97C2FC',
          highlight: {
            border: '#2B7CE9',
            background: '#D2E5FF'
          },
          hover: {
            border: '#2B7CE9',
            background: '#D2E5FF'
          }
        },
        "shape": "ellipse",
        "borderWidth": 1,
        "font": { "color": "red", "size": 15 }
    }
}
}}
</div>
</div>
</includeonly>
</includeonly>
__NOEDITSECTION__
__NOTITLE__

Latest revision as of 15:17, 15 June 2024

This is the 'Abctune' template. It should be called in the following format:

{{Abctune
|f_tune_title=
|f_composer=
|f_aka=
|f_genre=
|f_rhythm=
|f_country=
|f_key=
|f_accidental=
|f_mode=
|f_time_signature=
|f_history=
|f_structure=
|f_collector=
|f_book_title=
|f_page=
|f_year=
|f_annotations=
|f_theme_code_index=
|f_pdf_score=
|f_player=
|f_label=
|f_recording_date=
|f_album=
|f_media=
|f_score=
|f_number_of_pages
}}

Edit the page to see the template text.