Difference between revisions of "Template:Infobox music"

From Bronies.wiki
Jump to navigation Jump to search
m (Add chronology class.)
(Automatically add some categories.)
Line 20: Line 20:
 
   | <table class="chronology"><tr>{{#if: {{{prev_title|}}}
 
   | <table class="chronology"><tr>{{#if: {{{prev_title|}}}
 
     | <td>''{{{prev_title}}}''{{#if: {{{prev_year|}}} | <br>({{{prev_year}}}) }}</td>
 
     | <td>''{{{prev_title}}}''{{#if: {{{prev_year|}}} | <br>({{{prev_year}}}) }}</td>
   }}<td>'''''{{{name|{{ROOTPAGENAME}}}}}'''''<br>({{#time: Y | 2012-01-07 }})</td>{{#if: {{{next_title|}}}
+
   }}<td>'''''{{{name|{{ROOTPAGENAME}}}}}'''''<br>({{#time: Y | {{{released}}} }})</td>{{#if: {{{next_title|}}}
 
     | <td>''{{{next_title}}}''{{#if: {{{next_year|}}} | <br>({{{next_year}}}) }}</td>
 
     | <td>''{{{next_title}}}''{{#if: {{{next_year|}}} | <br>({{{next_year}}}) }}</td>
 
   }}</tr></table>  
 
   }}</tr></table>  
 
}}
 
}}
}}</includeonly><noinclude>
+
}}[[Category:Albums]]{{#if: {{{released|}}} | [[Category:{{#time: Y | {{{released}}} }} releases]] }}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
[[Category:Infobox templates|Album]]
 
[[Category:Infobox templates|Album]]
 
</noinclude>
 
</noinclude>

Revision as of 19:41, 6 October 2020

This documentation is transcluded from Template:Infobox music/doc and needs to be edited separately.

Template:Infobox music/doc