Difference between revisions of "Template:Infobox anthem/doc"
imported>Kpalion m |
imported>Izno (→Parameters: div col) |
||
| (75 intermediate revisions by 40 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
| − | == | + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Unsubst-infobox|Module:Check for unknown parameters}} |
| + | {{Uses TemplateStyles|Template:Infobox anthem/styles.css}} | ||
| + | |||
| + | == Blank syntax == | ||
| + | |||
<pre> | <pre> | ||
{{Infobox anthem | {{Infobox anthem | ||
| − | + | | title = | |
| − | + | | transcription = | |
| − | | | + | | english_title = |
| − | + | | image = | |
| − | + | | image_size = | |
| − | + | | alt = | |
| − | + | | caption = | |
| − | + | | prefix = | |
| − | + | | type = | |
| − | + | | country = | |
| − | + | | alt_title = | |
| − | + | | en_alt_title = | |
| − | + | | alt_title_2 = | |
| − | + | | en_alt_title_2 = | |
| − | + | | author = | |
| − | + | | lyrics_date = | |
| − | + | | composer = | |
| − | + | | music_date = | |
| − | + | | published = | |
| − | + | | adopted = | |
| + | | readopted = | ||
| + | | until = | ||
| + | | successor = | ||
| + | | predecessor = | ||
| + | | sound = | ||
| + | | sound_title = | ||
}} | }} | ||
</pre> | </pre> | ||
| − | == | + | == Parameters == |
| + | |||
All parameters are optional. | All parameters are optional. | ||
| + | {{div col}} | ||
; title : Title of the anthem in the native language; defaults to page title | ; title : Title of the anthem in the native language; defaults to page title | ||
; transcription : Transcription of the title (if the native language uses a non-Latin alphabet) | ; transcription : Transcription of the title (if the native language uses a non-Latin alphabet) | ||
| Line 34: | Line 46: | ||
; alt_title : Alternative title in the native language | ; alt_title : Alternative title in the native language | ||
; en_alt_title : Meaning of the alternative title in English | ; en_alt_title : Meaning of the alternative title in English | ||
| − | ; alt_title_2 : Second alternative title in the native language | + | ; alt_title_2 : Second alternative title in the native language |
; en_alt_title_2 : Meaning of the second alternative title in English | ; en_alt_title_2 : Meaning of the second alternative title in English | ||
; image : Name of an image file (e.g. a lyrics sheet or sheet music) | ; image : Name of an image file (e.g. a lyrics sheet or sheet music) | ||
; image_size : Image width (not greater than 220px); plain integer, no "px" | ; image_size : Image width (not greater than 220px); plain integer, no "px" | ||
| + | ; alt : Description of image for those who cannot see it ([[WP:ALT|alt text]]) | ||
; caption : Image caption | ; caption : Image caption | ||
| − | ; prefix : Additional description of the anthem, such as "National" or "Royal" | + | ; prefix : Additional description of the anthem, such as "National" or "Royal". Defaults to "National" if parameter not used. |
| + | ; type : Type of composition (anthem, march, song, etc.). Defaults to "anthem" if parameter not used. | ||
; country : Country or other entity which uses the anthem | ; country : Country or other entity which uses the anthem | ||
; author : Author of the lyrics | ; author : Author of the lyrics | ||
| Line 45: | Line 59: | ||
; composer : Composer of the music | ; composer : Composer of the music | ||
; music_date : Date when the music was written | ; music_date : Date when the music was written | ||
| + | ; published : Date when published, if not adopted | ||
; adopted : Date when the song was adopted as an anthem | ; adopted : Date when the song was adopted as an anthem | ||
| + | ; readopted : Date readopted if previously relinquished | ||
; until : Date when the song ceased to be an anthem | ; until : Date when the song ceased to be an anthem | ||
| + | ; predecessor : Song that preceded it, if applicable | ||
| + | ; successor : If no longer in use, the song that succeeded it, if applicable | ||
; sound : Name of a sound file | ; sound : Name of a sound file | ||
; sound_title : Title of the sound; required if parameter '''sound''' is given | ; sound_title : Title of the sound; required if parameter '''sound''' is given | ||
| + | {{div col end}} | ||
== Examples == | == Examples == | ||
| − | <pre> | + | {{{{PAGENAMETDOC}} |
| + | | title = God Save the Queen | ||
| + | | image = gstk.png | ||
| + | | image_size = | ||
| + | | alt = | ||
| + | | caption = Publication of an early version in ''[[The Gentleman's Magazine]]'', 15 October 1745. The title, on the Contents page, is given as "God save our lord the king: A new song set for two voices". | ||
| + | | prefix = National and Royal | ||
| + | | country = <br>[[Australia]] (royal)<br>[[Canada]] (royal)<br>[[Jamaica]] (royal)<br>[[New Zealand]] (national and royal)<br>[[United Kingdom]] (national and royal) | ||
| + | | alt_title = God Save the King | ||
| + | | author = Author unknown | ||
| + | | lyrics_date = | ||
| + | | composer = Composer unknown | ||
| + | | music_date = | ||
| + | | adopted = | ||
| + | | until = | ||
| + | | sound = United States Navy Band - God Save the Queen.ogg | ||
| + | | sound_title = "God Save the Queen" (instrumental) | ||
| + | }} | ||
| + | <pre style="font-size: 95%; overflow: auto;"> | ||
{{Infobox anthem | {{Infobox anthem | ||
| − | + | | title = God Save the Queen | |
| − | + | | image = gstk.png | |
| − | | | + | | image_size = |
| − | + | | alt = | |
| − | + | | caption = Publication of an early version in ''[[The Gentleman's Magazine]]'', 15 October 1745. The title, on the Contents page, is given as "God save our lord the king: A new song set for two voices". | |
| − | + | | prefix = National and Royal | |
| − | + | | country = <br>[[Australia]] (royal)<br>[[Canada]] (royal)<br>[[Jamaica]] (royal)<br>[[New Zealand]] (national and royal)<br>[[United Kingdom]] (national and royal) | |
| − | + | | alt_title = God Save the King | |
| − | | sound | + | | author = Author unknown |
| − | + | | lyrics_date = | |
| + | | composer = Composer unknown | ||
| + | | music_date = | ||
| + | | adopted = | ||
| + | | until = | ||
| + | | sound = United States Navy Band - God Save the Queen.ogg | ||
| + | | sound_title = ''God Save the Queen'' (instrumental) | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
| − | {{ | + | {{{{PAGENAMETDOC}} |
| − | + | | title = Mazurek Dąbrowskiego | |
| − | + | | english_title = Dąbrowski's Mazurka | |
| − | + | | image = Pieśń Legionów 1.jpg | |
| − | + | | image_size = 180 | |
| − | + | | alt = | |
| − | + | | caption = One of a series of postcards, designed by [[Juliusz Kossak]], illustrating the lyrics of ''Mazurek Dąbrowskiego''. | |
| − | + | | prefix = National | |
| − | + | | country = [[Poland]] | |
| − | + | | alt_title = Pieśń Legionów Polskich we Włoszech | |
| − | + | | en_alt_title = Song of the Polish Legions in Italy | |
| − | + | | alt_title_2 = Jeszcze Polska nie zginęła | |
| − | + | | en_alt_title_2 = Poland Is Not Yet Lost | |
| − | + | | author = [[Józef Wybicki]] | |
| − | + | | lyrics_date = 1797 | |
| − | + | | composer = Composer unknown | |
| − | + | | music_date = | |
| + | | adopted = 1926 | ||
| + | | until = | ||
| + | | sound = Mazurek Dabrowskiego.ogg | ||
| + | | sound_title = "Mazurek Dąbrowskiego" (instrumental) | ||
}} | }} | ||
| − | + | <pre style="font-size:95%; overflow:auto;"> | |
| − | < | ||
| − | |||
{{Infobox anthem | {{Infobox anthem | ||
| − | + | | title = Mazurek Dąbrowskiego | |
| − | + | | english_title = Dąbrowski's Mazurka | |
| − | + | | image = Pieśń Legionów 1.jpg | |
| − | + | | image_size = 180 | |
| − | + | | alt = | |
| − | + | | caption = One of a series of postcards, designed by [[Juliusz Kossak]], illustrating the lyrics of ''Mazurek Dąbrowskiego''. | |
| − | + | | prefix = National | |
| − | + | | country = [[Poland]] | |
| − | + | | alt_title = Pieśń Legionów Polskich we Włoszech | |
| − | + | | en_alt_title = Song of the Polish Legions in Italy | |
| − | + | | alt_title_2 = Jeszcze Polska nie zginęła | |
| − | + | | en_alt_title_2 = Poland Is Not Yet Lost | |
| − | + | | author = [[Józef Wybicki]] | |
| − | + | | lyrics_date = 1797 | |
| − | + | | composer = Composer unknown | |
| − | + | | music_date = | |
| − | + | | adopted = 1926 | |
| + | | until = | ||
| + | | sound = Mazurek Dabrowskiego.ogg | ||
| + | | sound_title ="Mazurek Dąbrowskiego" (instrumental) | ||
}} | }} | ||
</pre> | </pre> | ||
| + | {{clear}} | ||
| − | {{ | + | {{{{PAGENAMETDOC}} |
| − | + | | title = Мы, беларусы | |
| − | + | | transcription = My, belarusy | |
| − | + | | english_title = We, Belarussians | |
| − | + | | image = | |
| − | + | | image_size = | |
| − | + | | alt = | |
| − | + | | caption = | |
| − | + | | prefix = National | |
| − | + | | country = [[Belarus]] | |
| − | + | | alt_title = Dzyarzhawny himn Respubliki Belarus' | |
| − | + | | en_alt_title = National Anthem of the Republic of Belarus | |
| − | + | | author = [[Michael Klimovich]] | |
| − | + | | lyrics_date = 1944 | |
| − | + | | composer = [[Nestar Sakalowski]] | |
| − | + | | music_date = 1944 | |
| − | + | | adopted = 1955 | |
| − | + | | until = | |
}} | }} | ||
| − | + | <pre style="font-size: 95%; overflow: auto;"> | |
| − | < | ||
| − | |||
{{Infobox anthem | {{Infobox anthem | ||
| − | + | | title = Мы, беларусы | |
| − | + | | transcription = My, belarusy | |
| − | + | | english_title = We, Belarussians | |
| − | + | | image = | |
| − | + | | image_size = | |
| − | + | | alt = | |
| − | + | | caption = | |
| − | + | | prefix = National | |
| − | + | | country = [[Belarus]] | |
| − | + | | alt_title = Dzyarzhawny himn Respubliki Belarus' | |
| − | + | | en_alt_title = National Anthem of the Republic of Belarus | |
| − | + | | author = [[Michael Klimovich]] | |
| + | | lyrics_date = 1944 | ||
| + | | composer = [[Nestar Sakalowski]] | ||
| + | | music_date = 1944 | ||
| + | | adopted = 1955 | ||
| + | | until = | ||
}} | }} | ||
</pre> | </pre> | ||
| − | + | == Tracking category == | |
| − | + | * {{clc|Pages using infobox anthem with unknown parameters}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | [[ | + | <includeonly>{{sandbox other|| |
| − | </includeonly> | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
| + | [[Category:Music infobox templates|Anthem]] | ||
| + | [[Category:Templates that add a tracking category|{{PAGENAME}}]] | ||
| + | }}</includeonly> | ||
Latest revision as of 15:47, 13 February 2021
| This is a documentation subpage for Template:Infobox anthem. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Script error: No such module "Uses TemplateStyles".
Blank syntax
{{Infobox anthem
| title =
| transcription =
| english_title =
| image =
| image_size =
| alt =
| caption =
| prefix =
| type =
| country =
| alt_title =
| en_alt_title =
| alt_title_2 =
| en_alt_title_2 =
| author =
| lyrics_date =
| composer =
| music_date =
| published =
| adopted =
| readopted =
| until =
| successor =
| predecessor =
| sound =
| sound_title =
}}
Parameters
All parameters are optional.
- title
- Title of the anthem in the native language; defaults to page title
- transcription
- Transcription of the title (if the native language uses a non-Latin alphabet)
- english_title
- Meaning of the title in English
- alt_title
- Alternative title in the native language
- en_alt_title
- Meaning of the alternative title in English
- alt_title_2
- Second alternative title in the native language
- en_alt_title_2
- Meaning of the second alternative title in English
- image
- Name of an image file (e.g. a lyrics sheet or sheet music)
- image_size
- Image width (not greater than 220px); plain integer, no "px"
- alt
- Description of image for those who cannot see it (alt text)
- caption
- Image caption
- prefix
- Additional description of the anthem, such as "National" or "Royal". Defaults to "National" if parameter not used.
- type
- Type of composition (anthem, march, song, etc.). Defaults to "anthem" if parameter not used.
- country
- Country or other entity which uses the anthem
- author
- Author of the lyrics
- lyrics_date
- Date when the lyrics were written
- composer
- Composer of the music
- music_date
- Date when the music was written
- published
- Date when published, if not adopted
- adopted
- Date when the song was adopted as an anthem
- readopted
- Date readopted if previously relinquished
- until
- Date when the song ceased to be an anthem
- predecessor
- Song that preceded it, if applicable
- successor
- If no longer in use, the song that succeeded it, if applicable
- sound
- Name of a sound file
- sound_title
- Title of the sound; required if parameter sound is given
Examples
{{Template:PAGENAMETDOC
| title = God Save the Queen
| image = gstk.png
| image_size =
| alt =
| caption = Publication of an early version in The Gentleman's Magazine, 15 October 1745. The title, on the Contents page, is given as "God save our lord the king: A new song set for two voices".
| prefix = National and Royal
| country =
Australia (royal)
Canada (royal)
Jamaica (royal)
New Zealand (national and royal)
United Kingdom (national and royal)
| alt_title = God Save the King
| author = Author unknown
| lyrics_date =
| composer = Composer unknown
| music_date =
| adopted =
| until =
| sound = United States Navy Band - God Save the Queen.ogg
| sound_title = "God Save the Queen" (instrumental)
}}
{{Infobox anthem
| title = God Save the Queen
| image = gstk.png
| image_size =
| alt =
| caption = Publication of an early version in ''[[The Gentleman's Magazine]]'', 15 October 1745. The title, on the Contents page, is given as "God save our lord the king: A new song set for two voices".
| prefix = National and Royal
| country = <br>[[Australia]] (royal)<br>[[Canada]] (royal)<br>[[Jamaica]] (royal)<br>[[New Zealand]] (national and royal)<br>[[United Kingdom]] (national and royal)
| alt_title = God Save the King
| author = Author unknown
| lyrics_date =
| composer = Composer unknown
| music_date =
| adopted =
| until =
| sound = United States Navy Band - God Save the Queen.ogg
| sound_title = ''God Save the Queen'' (instrumental)
}}
{{Template:PAGENAMETDOC | title = Mazurek Dąbrowskiego | english_title = Dąbrowski's Mazurka | image = Pieśń Legionów 1.jpg | image_size = 180 | alt = | caption = One of a series of postcards, designed by Juliusz Kossak, illustrating the lyrics of Mazurek Dąbrowskiego. | prefix = National | country = Poland | alt_title = Pieśń Legionów Polskich we Włoszech | en_alt_title = Song of the Polish Legions in Italy | alt_title_2 = Jeszcze Polska nie zginęła | en_alt_title_2 = Poland Is Not Yet Lost | author = Józef Wybicki | lyrics_date = 1797 | composer = Composer unknown | music_date = | adopted = 1926 | until = | sound = Mazurek Dabrowskiego.ogg | sound_title = "Mazurek Dąbrowskiego" (instrumental) }}
{{Infobox anthem
| title = Mazurek Dąbrowskiego
| english_title = Dąbrowski's Mazurka
| image = Pieśń Legionów 1.jpg
| image_size = 180
| alt =
| caption = One of a series of postcards, designed by [[Juliusz Kossak]], illustrating the lyrics of ''Mazurek Dąbrowskiego''.
| prefix = National
| country = [[Poland]]
| alt_title = Pieśń Legionów Polskich we Włoszech
| en_alt_title = Song of the Polish Legions in Italy
| alt_title_2 = Jeszcze Polska nie zginęła
| en_alt_title_2 = Poland Is Not Yet Lost
| author = [[Józef Wybicki]]
| lyrics_date = 1797
| composer = Composer unknown
| music_date =
| adopted = 1926
| until =
| sound = Mazurek Dabrowskiego.ogg
| sound_title ="Mazurek Dąbrowskiego" (instrumental)
}}
{{Template:PAGENAMETDOC | title = Мы, беларусы | transcription = My, belarusy | english_title = We, Belarussians | image = | image_size = | alt = | caption = | prefix = National | country = Belarus | alt_title = Dzyarzhawny himn Respubliki Belarus' | en_alt_title = National Anthem of the Republic of Belarus | author = Michael Klimovich | lyrics_date = 1944 | composer = Nestar Sakalowski | music_date = 1944 | adopted = 1955 | until = }}
{{Infobox anthem
| title = Мы, беларусы
| transcription = My, belarusy
| english_title = We, Belarussians
| image =
| image_size =
| alt =
| caption =
| prefix = National
| country = [[Belarus]]
| alt_title = Dzyarzhawny himn Respubliki Belarus'
| en_alt_title = National Anthem of the Republic of Belarus
| author = [[Michael Klimovich]]
| lyrics_date = 1944
| composer = [[Nestar Sakalowski]]
| music_date = 1944
| adopted = 1955
| until =
}}
Tracking category