Template:Infobox anthem: Difference between revisions
Content deleted Content added
Johnrdorazio (talk | contribs) m 1 revision imported |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
| data10 = {{{successor|}}} |
| data10 = {{{successor|}}} |
||
| data11 = {{#if:{{{sound|}}}|{{Audio sample|type=song|file={{{sound}}}|description={{{sound_title|{{PAGENAMEBASE}}}}}}}}} |
| data11 = {{#if:{{{sound|}}}|{{Audio sample|type=song|file={{{sound}}}|description={{{sound_title|{{PAGENAMEBASE}}}}}}}}} |
||
}}}}{{ {{{|safesubst:}}}ifsubst||{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox anthem with unknown parameters]]|preview=Page using [[Template:Infobox anthem]] with unknown parameter "_VALUE_"|ignoreblank=Y|title|transcription|english_title|image|image_size|image_upright|alt|caption|country|prefix|type|country|alt_title|en_alt_title|alt_title_2|en_alt_title_2|author|lyrics_date|composer|music_date|adopted|readopted|published|until|sound|sound_title|predecessor|successor}}}}<noinclude> |
}}}}{{ {{{|safesubst:}}}ifsubst||{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox anthem with unknown parameters]]|preview=Page using [[Template:Infobox anthem]] with unknown parameter "_VALUE_"|ignoreblank=Y|title|transcription|english_title|image|image_size|image_upright|alt|caption|country|prefix|type|country|alt_title|en_alt_title|alt_title_2|en_alt_title_2|author|lyrics_date|composer|music_date|adopted|readopted|published|until|sound|sound_title|predecessor|successor}}}}<onlyinclude>[[Category:Music]]</onlyinclude><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> |
Revision as of 14:43, October 9, 2021
This template uses Lua: |
This template 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"
- type
- Type of composition (anthem, march, song, etc.); defaults to "anthem"
- 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; defaults to page title