Difference between revisions of "Template:Music"

From Hyperdimension Neptunia Wiki
Jump to navigation Jump to search
 
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]]</div>}}{{#if:{{{caption1|}}}{{{image1|}}}|<div class="infobox-caption">{{{caption1}}}</div>}}
+
{{#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>

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.