Difference between revisions of "Template:Music"
Jump to navigation
Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title1|{{PAGENAME}}}}}</div> {{#if:{{{image1|}}}|<div class="infobox-image">[[File:{{{image1}}}|300px]]</div>}}{{#if:{{{cap...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title1|{{PAGENAME}}}}}</div> | <div class="infobox-title">{{{title1|{{PAGENAME}}}}}</div> | ||
− | {{#if:{{{image1|}}}|<div class="infobox-image">[[File:{{{image1}}}|300px]] | + | {{#if:{{{image1|}}}|<div class="infobox-image"><figure>[[File:{{{image1}}}|300px]]{{#if:{{{caption1|}}}|<figcaption class="infobox-caption">{{{caption1}}}</figcaption>}}</figure></div>}} |
<table> | <table> | ||
{{#if:{{{composer|}}}|<tr> | {{#if:{{{composer|}}}|<tr> | ||
Line 19: | Line 19: | ||
<noinclude> | <noinclude> | ||
Example usage:<pre> | Example usage:<pre> | ||
− | {{Music | + | {{Music |
|title1=Example | |title1=Example | ||
|image1=Example | |image1=Example |
Latest revision as of 06:21, 7 April 2021
Music
Example usage:
{{Music |title1=Example |image1=Example |caption1=Example |composer=Example |appears_in=Example |type=Example }}
Usage notes: The template does include a spot for images and captions, but most articles using this template do not need it.