Template:Infobox song: Difference between revisions

From WikiLemon 2000
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by 4 users not shown)
Line 7: Line 7:
|colspan="2" |<span id="heading_bigger">[[:Category:Song|Song]]</span>
|colspan="2" |<span id="heading_bigger">[[:Category:Song|Song]]</span>
|-
|-
!valign="top" |Artist:
!valign="top" |Artist
|{{{artist}}}
|{{#ifexist: {{{artist}}} | [[{{{artist}}}]] | {{{artist}}} }}
|-
|-
!width="70" valign="top" |Written by
{{#if: {{{year|}}} | !valign="top" {{!}}Released
|{{#ifexist: {{{writer}}} | [[{{{writer}}}]] | {{{writer}}} }}
{{!}}{{{year}}} }}
|-
|-
!valign="top" |Appears on
{{#if: {{{recorded|}}} | !valign="top" {{!}}Recorded
|{{{album}}}
{{!}}{{{recorded}}} }}
|-
|-
!valign="top" |Sung by
{{#if: {{{writer|}}} | !valign="top" {{!}}Written by
|{{{singer}}}
{{!}}{{#ifexist: {{{writer}}} | [[{{{writer}}}]] | {{{writer}}} }} }}
|-
{{#if: {{{album|}}} | !valign="top" {{!}}Appears on
{{!}}{{{album}}} }}
|-
{{#if: {{{singer|}}} | !valign="top" {{!}}Sung by
{{!}}{{#ifexist: {{{singer}}} | [[{{{singer}}}]] | {{{singer}}} }} }}
|-
|-
{{#if: {{{duration|}}} | !valign="top" {{!}}Duration
{{#if: {{{duration|}}} | !valign="top" {{!}}Duration
{{!}}{{{duration}}} }}
{{!}}{{{duration}}} }}
|-
|-
!valign="top" |Genre
{{#if: {{{tempo|}}} | !valign="top" {{!}}Tempo
|{{{genre}}}
{{!}}{{{tempo}}} }}
|-
{{#if: {{{genre|}}} | !valign="top" {{!}}Genre
{{!}}{{{genre}}} }}
|-
|-
!valign="top" |Language
{{#if: {{{language|}}} | !valign="top" {{!}}Language
|{{{language}}}
{{!}}{{{language}}} }}
|-
|-
{{#if: {{{externalLinks|}}} | !valign="top" {{!}}Links:
{{#if: {{{externalLinks|}}} | !valign="top" {{!}}Links:
Line 35: Line 44:
|}
|}
<includeonly>[[Category:Song]]</includeonly>
<includeonly>[[Category:Song]]</includeonly>
<includeonly>{{#ifexist: Category:Songs written by {{{writer}}} | [[Category:Songs written by {{{writer}}}]]}}</includeonly>
<includeonly>{{#ifexist: {{{writer}}}}}</includeonly>
<includeonly>{{#ifexist: {{{writer}}}}}</includeonly>
<noinclude>
<noinclude>
Line 48: Line 58:
<p>&nbsp;</p>
<p>&nbsp;</p>
'''How to use:'''
'''How to use:'''
Put this block of code in an artist's main page.  Fill out the information between the brackets and then remove the  '''<nowiki><!--</nowiki>''' and '''<nowiki>--></nowiki>'''  
Put this block of code in an song's main page.  Fill out the information between the brackets and then remove the  '''<nowiki><!--</nowiki>''' and '''<nowiki>--></nowiki>'''  
<pre>
<pre>
{{Infobox_song
{{Infobox_song
  |title = <!-- Song Name -->
  |title = <!-- Song Name -->
  |artist = <!-- Song artist -->
  |artist = <!-- Song artist -->
  |albumart = <!-- The filename of the photo, such as hello.jpg (optional) -->
|year = <!-- Release date -->
  |writer = <!-- Example: Neil Cicierega (DO NOT BRACKET/LINK THIS. IT DOES IT ON ITS OWN) -->
|recorded = <!-- Time and/or place where it was recorded -->
  |albumart = <!-- The filename of the photo, such as hello.jpg -->
  |writer = <!-- Example: Neil Cicierega -->
  |singer = <!-- Lead singer(s) on this song.  Bracket/link it. -->
  |singer = <!-- Lead singer(s) on this song.  Bracket/link it. -->
  |album = <!-- Album(s) this song appears on. Bracket/link it. -->
  |album = <!-- Album(s) this song appears on. Bracket/link it. -->
  |duration = <!-- Length of song (optional) -->
  |duration = <!-- Length of song -->
|tempo = <!-- Tempo of song (BPM) -->
  |genre = <!-- The genre(s) of the song -->
  |genre = <!-- The genre(s) of the song -->
  |language = <!-- EXAMPLE: English -->
  |language = <!-- EXAMPLE: English -->
Line 64: Line 77:
}}
}}
</pre>
</pre>
'''DO NOT BRACKET/LINK TO ARTISTS, WRITERS, SINGERS, ALBUMS, ETC. IT DOES IT ON ITS OWN.'''

Latest revision as of 00:09, 5 August 2023

{{{title}}}
Song
Artist {{{artist}}}



 

 

 

 

 

 

 

 

 

 

How to use: Put this block of code in an song's main page. Fill out the information between the brackets and then remove the <!-- and -->

{{Infobox_song
 |title = <!-- Song Name -->
 |artist = <!-- Song artist -->
 |year = <!-- Release date -->
 |recorded = <!-- Time and/or place where it was recorded -->
 |albumart = <!-- The filename of the photo, such as hello.jpg -->
 |writer = <!-- Example: Neil Cicierega -->
 |singer = <!-- Lead singer(s) on this song.  Bracket/link it. -->
 |album = <!-- Album(s) this song appears on. Bracket/link it. -->
 |duration = <!-- Length of song -->
 |tempo = <!-- Tempo of song (BPM) -->
 |genre = <!-- The genre(s) of the song -->
 |language = <!-- EXAMPLE: English -->
 |externalLinks = <!-- links to spotify, youtube, bandcamp, etc. -->
 |addtlInfo = <!-- Any additional Info.-->
}}

DO NOT BRACKET/LINK TO ARTISTS, WRITERS, SINGERS, ALBUMS, ETC. IT DOES IT ON ITS OWN.