Template:Infobox song: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 15: Line 15:
| header1    = {{Infobox song/link|{{{type|}}} }} {{#if:{{{artist|}}}|by {{{artist}}}}}
| header1    = {{Infobox song/link|{{{type|}}} }} {{#if:{{{artist|}}}|by {{{artist}}}}}
| rowclass2  = description
| rowclass2  = description
| header2    = {{#if:{{{album|}}}{{{from_album|}}}|from the album '' {{If empty|{{{album|}}}|{{{from_album|}}}|}} ''|{{#if:{{{EP|}}}|from the EP '' {{{EP|}}} ''}}}}
| header2    = {{#if:{{{album|}}}{{{from_album|}}}|from the album '' {{#if:{{{album|}}}|{{{album|}}}|{{{from_album|}}}|}} ''|{{#if:{{{EP|}}}|from the EP '' {{{EP|}}} ''}}}}


| label3      = Language
| label3      = Language
Line 62: Line 62:
| label17    = [[wikipedia:Record label|Label]]
| label17    = [[wikipedia:Record label|Label]]
| data17      = {{{label|}}}
| data17      = {{{label|}}}
| class17    = hlist
| label39    = Original singer(s)
| data39      = {{{original_singer|}}}
| class17    = hlist
| class17    = hlist


Line 86: Line 90:
{{!}}- style="line-height: 1.4em;"
{{!}}- style="line-height: 1.4em;"
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0;" {{!}} {{#if:{{{prev_title|}}}|"{{{prev_title|}}}" {{#if:{{{prev_title2|}}}| / "{{{prev_title2|}}}"}}{{#if:{{{prev_year|}}}|<br />({{{prev_year|}}})}} }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0;" {{!}} {{#if:{{{prev_title|}}}|"{{{prev_title|}}}" {{#if:{{{prev_title2|}}}| / "{{{prev_title2|}}}"}}{{#if:{{{prev_year|}}}|<br />({{{prev_year|}}})}} }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} {{#if:{{{title2|}}}|"{{if empty|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title}}}'''|{{{title|}}}}}|'''{{if empty|{{{name|}}}|{{PAGENAME}}}}'''}}" / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{if empty|{{{name|}}}|{{{title|}}}|{{PAGENAME}}}}'''"}} {{#if:{{{prev_year|}}}{{{next_year|}}}|<br />({{{year|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|{{{released|}}}|%d%d%d+}}}}})}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding:.2em .1em;" {{!}} {{#if:{{{title2|}}}|"{{#if:{{{title|}}}|{{#switch:{{{title|}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title}}}'''|{{{title|}}}}}|'''{{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}'''}}" / "{{#switch:{{{title2}}}|{{BASEPAGENAME}}|{{PAGENAME}}='''{{{title2}}}'''|{{{title2}}}}}"|"'''{{#if:{{{name|}}}|{{{name|}}}|{{{title|}}}|{{PAGENAME}}}}'''"}} {{#if:{{{prev_year|}}}{{{next_year|}}}|<br />({{{year|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}C|{{{released|}}}|%d%d%d+}}}}})}}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em;" {{!}} {{#if:{{{next_title|}}}|"{{{next_title|}}}" {{#if:{{{next_title2|}}}| / "{{{next_title2|}}}"}}{{#if:{{{next_year|}}}|<br />({{{next_year|}}})}} }}
{{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em;" {{!}} {{#if:{{{next_title|}}}|"{{{next_title|}}}" {{#if:{{{next_title2|}}}| / "{{{next_title2|}}}"}}{{#if:{{{next_year|}}}|<br />({{{next_year|}}})}} }}
{{!)}}
{{!)}}
Line 98: Line 102:
| below = {{{misc|}}}
| below = {{{misc|}}}
}}<noinclude>
}}<noinclude>
<!-- please place language and category links on the /doc page and not here -->
[[Category:Infobox templates]]
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>[[Category:Music]]

Latest revision as of 16:47, 18 May 2023

"Infobox song"
Song
[create] Template documentation