Difference between revisions of "Template:Infobox Song"
From project-imas.com wiki
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{|class="infobox" style="width:22em; background:#fff6d9; text-align:center; font-size:95%;" cellpadding="3" align="right" | {|class="infobox" style="width:22em; background:#fff6d9; text-align:center; font-size:95%;" cellpadding="3" align="right" | ||
− | ! align="center" bgcolor="#ffc0c0"| {{{title|{{PAGENAME}}}}} | + | ! align="center" bgcolor="#ffc0c0"| {{#tag:nowiki|{{{title|{{PAGENAME}}}}}}} |
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
Line 10: | Line 10: | ||
{| width="100%" border="0" style="text-align:left;" | {| width="100%" border="0" style="text-align:left;" | ||
|- | |- | ||
− | | ''Original title'': || {{{titlejp|}}} | + | | ''Original title'': || {{{titlejp|{{PAGENAME}}}}} |
|- | |- | ||
− | | ''Romanized title'': || {{{titlerom|}}} | + | | ''Romanized title'': || {{{titlerom|{{PAGENAME}}}}} |
|- | |- | ||
− | | ''Translated title'': || {{{titleen|}}} | + | | ''Translated title'': || {{{titleen|{{PAGENAME}}}}} |
|- | |- | ||
| ''Composer'': || {{{composer|}}} | | ''Composer'': || {{{composer|}}} | ||
Line 20: | Line 20: | ||
| ''Lyricist'': || {{{lyricist|}}} | | ''Lyricist'': || {{{lyricist|}}} | ||
|- | |- | ||
+ | {{#if:{{{othercreditname1|}}}| | ||
+ | {{!}} ''{{{othercreditname1}}}'': | ||
+ | {{!}} {{{othercreditdata1|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{othercreditname2|}}}| | ||
+ | {{!}} ''{{{othercreditname2}}}'': | ||
+ | {{!}} {{{othercreditdata2|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{othercreditname3|}}}| | ||
+ | {{!}} ''{{{othercreditname3}}}'': | ||
+ | {{!}} {{{othercreditdata3|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{othercreditname4|}}}| | ||
+ | {{!}} ''{{{othercreditname4}}}'': | ||
+ | {{!}} {{{othercreditdata4|}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{othercreditname5|}}}| | ||
+ | {{!}} ''{{{othercreditname5}}}'': | ||
+ | {{!}} {{{othercreditdata5|}}} | ||
+ | {{!}}-}} | ||
| ''{{#if:{{{originalarranger|{{{origarranger|}}}}}}|Original Arranger|Arranger}}'': || {{{originalarranger|{{{origarranger|{{{arranger|}}}}}}}}} | | ''{{#if:{{{originalarranger|{{{origarranger|}}}}}}|Original Arranger|Arranger}}'': || {{{originalarranger|{{{origarranger|{{{arranger|}}}}}}}}} | ||
|- | |- | ||
Line 39: | Line 59: | ||
{{!}} ''[[Personal songs|Personal song]] of'': | {{!}} ''[[Personal songs|Personal song]] of'': | ||
{{!}} {{{personalsong}}} | {{!}} {{{personalsong}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{sssongtype|}}}| | ||
+ | {{!}} ''Starlight Stage song type'': | ||
+ | {{!}} {{{sssongtype}}} | ||
+ | {{!}}-}} | ||
+ | {{#if:{{{tdsongtype|}}}| | ||
+ | {{!}} ''Theater Days song type'': | ||
+ | {{!}} {{{tdsongtype}}} | ||
{{!}}-}} | {{!}}-}} | ||
|} | |} | ||
Line 62: | Line 90: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{mlsongcard|}}}| | {{#if:{{{mlsongcard|}}}| | ||
− | ! align="center" bgcolor="#ffc0c0" {{!}} '''[[THE iDOLM@STER: Million Live!]] song card''' | + | ! align="center" bgcolor="#ffc0c0" {{!}} '''[[THE iDOLM@STER: Million Live!|Million Live!]] song card''' |
{{!}}- | {{!}}- | ||
{{!}} align="center" {{!}} [[Image:{{{mlsongcard}}}|240px]] | {{!}} align="center" {{!}} [[Image:{{{mlsongcard}}}|240px]] | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{sssongcard|}}}| | {{#if:{{{sssongcard|}}}| | ||
− | ! align="center" bgcolor="#ffc0c0" {{!}} '''[[THE iDOLM@STER Cinderella Girls: Starlight Stage| | + | ! align="center" bgcolor="#ffc0c0" {{!}} '''[[THE iDOLM@STER Cinderella Girls: Starlight Stage|Starlight Stage]] song cards''' |
{{!}}- | {{!}}- | ||
{{!}} align="center" {{!}} [[Image:{{{sssongcard}}}|240px]] | {{!}} align="center" {{!}} [[Image:{{{sssongcard}}}|240px]] | ||
Line 91: | Line 119: | ||
{| style="float: left; background-color: transparent;" | {| style="float: left; background-color: transparent;" | ||
|+ '''Usage''' | |+ '''Usage''' | ||
− | | | + | | Minimal template |
<pre> | <pre> | ||
{{Infobox Song | {{Infobox Song | ||
+ | | image = | ||
+ | | imagesize = | ||
+ | | titlejp = | ||
+ | | titlerom = | ||
+ | | titleen = | ||
+ | | composer = | ||
+ | | lyricist = | ||
+ | | arranger = | ||
+ | | BPM = | ||
+ | }} | ||
+ | </pre> | ||
+ | |- | ||
+ | | If the song title features two or more exclamation marks in a row (i.e. !!) add the title parameter and wrap the title in nowiki tags | ||
+ | |- | ||
+ | | Full template | ||
+ | <pre> | ||
+ | {{Infobox Song | ||
+ | | title = | ||
| image = | | image = | ||
| imagesize = | | imagesize = | ||
Line 106: | Line 152: | ||
| originalarranger = | | originalarranger = | ||
| originalartist = | | originalartist = | ||
+ | | othercreditname1 = | ||
+ | | othercreditdata1 = | ||
+ | | othercreditname2 = | ||
+ | | othercreditdata2 = | ||
+ | | othercreditname3 = | ||
+ | | othercreditdata3 = | ||
+ | | othercreditname4 = | ||
+ | | othercreditdata4 = | ||
+ | | othercreditname5 = | ||
+ | | othercreditdata5 = | ||
| BPM = | | BPM = | ||
| imagestat = | | imagestat = | ||
| imagesong = | | imagesong = | ||
| personalsong = | | personalsong = | ||
+ | | sssongtype = | ||
+ | | tdsongtype = | ||
| coverarranger = | | coverarranger = | ||
| coveridol = | | coveridol = | ||
Line 122: | Line 180: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |} | ||
+ | |||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 04:24, 21 November 2020
Infobox Song | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
General song data | ||||||||||||||
|
Minimal template
{{Infobox Song | image = | imagesize = | titlejp = | titlerom = | titleen = | composer = | lyricist = | arranger = | BPM = }} |
If the song title features two or more exclamation marks in a row (i.e. !!) add the title parameter and wrap the title in nowiki tags |
Full template
{{Infobox Song | title = | image = | imagesize = | alt_txt = | caption = | titlejp = | titlerom = | titleen = | composer = | lyricist = | arranger = | originalarranger = | originalartist = | othercreditname1 = | othercreditdata1 = | othercreditname2 = | othercreditdata2 = | othercreditname3 = | othercreditdata3 = | othercreditname4 = | othercreditdata4 = | othercreditname5 = | othercreditdata5 = | BPM = | imagestat = | imagesong = | personalsong = | sssongtype = | tdsongtype = | coverarranger = | coveridol = | weissschwarz = | weissschwarz2 = | mlsongcard = | sssongcard = | sssongcard2 = | tdsongcard = | tdsongcard2 = | aclogo = }} |