Template:Abctune: Difference between revisions
No edit summary |
No edit summary |
||
(37 intermediate revisions by the same user not shown) | |||
Line 36: | Line 36: | ||
<includeonly> | <includeonly> | ||
<div class="noprint"> | <div class="noprint"> | ||
<div class="mw-collapsible" data-expandtext=" | <div class="mw-collapsible" data-expandtext="Show TuneInfoBox" data-collapsetext="Hide TuneInfoBox"> | ||
{{#seo: | {{#seo: | ||
|type=article | |type=article | ||
Line 47: | Line 47: | ||
}} | }} | ||
{| style="width: 100 | {|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}} {{#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}}]]}} | ! 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}} {{#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;"| {{font|text='''Theme code Index'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Theme code Index'''|font=sans-serif|size=13px}} | ||
|style="width:70%;"| {{font|text=[[Theme_code_index::{{{f_theme_code_index|}}}]] | |style="width:70%;"| {{font|text=[[Theme_code_index::{{{f_theme_code_index|}}}]]|font=sans-serif|size=13px|color=#7f5620}} | ||
|- | |- | ||
|style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Also known as'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Also known as'''|font=sans-serif|size=13px}} | ||
Line 57: | Line 57: | ||
|- | |- | ||
|style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Composer/Core Source'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Composer/Core Source'''|font=sans-serif|size=13px}} | ||
|style="width:70%;"| {{font|text={{#arraymap:{{{f_composer|}}}|,|x| | |style="width:70%;"| {{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;"| {{font|text='''Region'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Region'''|font=sans-serif|size=13px}} | ||
Line 87: | Line 87: | ||
|- | |- | ||
|style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Editor/Compiler'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Editor/Compiler'''|font=sans-serif|size=13px}} | ||
|style="width:70%;"| {{font|text={{#arraymap:{{{f_collector|}}}|,|x| | |style="width:70%;"| {{font|text={{#arraymap:{{{f_collector|}}}|,|x|{{#set:Was collected by=Biography:x}}{{#formredlink:target=Biography:x|form=People_form}}}}|font=sans-serif|size=13px}} | ||
|- | |- | ||
|style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Book/Manuscript title'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Book/Manuscript title'''|font=sans-serif|size=13px}} | ||
|style="width:70%; background:#F5F5F5;"| {{font|text={{#arraymap:{{{f_book_title|}}}|,|x| | |style="width:70%; background:#F5F5F5;"| {{font|text={{#arraymap:{{{f_book_title|}}}|,|x|{{#set:Appears in=Book:x}}{{#formredlink:target=Book:x|form=Book}}}}|font=sans-serif|size=13px}} | ||
|- | |- | ||
|style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Tune and/or Page number'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Tune and/or Page number'''|font=sans-serif|size=13px}} | ||
Line 99: | Line 99: | ||
|- | |- | ||
|style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Artist'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Artist'''|font=sans-serif|size=13px}} | ||
|style="width:70%;"| {{font|text={{#arraymap:{{{f_player|}}}|,|x| | |style="width:70%;"| {{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;"| {{font|text='''Title of recording'''|font=sans-serif|size=13px}} | |style="width:30%; background:#E6E6FA; text-align:left;"| {{font|text='''Title of recording'''|font=sans-serif|size=13px}} | ||
Line 117: | Line 117: | ||
|} | |} | ||
[[Category:Tune]] | [[Category:Tune]] | ||
</div> | |||
</div> | |||
<div class="noprint"> | |||
<div class="mw-collapsible mw-collapsed" data-expandtext="Show Tune Graph" data-collapsetext="Hide Tune Graph"> | |||
{{#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> | ||
</div> | </div> |
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.