Difference between revisions of "Template:VOCARAN/bricks"
4O74Y74L74J7 (talk | contribs) |
4O74Y74L74J7 (talk | contribs) m (localization) |
||
Line 1: | Line 1: | ||
− | <includeonly><div class="vc-rank" style="display:flex;justify-content:center;align-items:center;flex-wrap:wrap;background:#FCFCFC; color:#455670; padding:0.5em; margin-bottom:6px; border-left:solid 5px {{#if:{{{ | + | <includeonly><div class="vc-rank" style="display:flex;justify-content:center;align-items:center;flex-wrap:wrap;background:#FCFCFC; color:#455670; padding:0.5em; margin-bottom:6px; border-left:solid 5px {{#if:{{{vocal|}}}|{{VOCARAN/bricks/color|{{{vocal|}}}}}|#006666}};max-width:53.5em;box-sizing:content-box;" {{#if:{{{vocal|}}}|title="{{{vocal|}}}|}}"> |
<div style="display: inline-block; width: 7.5em; text-align:center;"> | <div style="display: inline-block; width: 7.5em; text-align:center;"> | ||
− | <div style="font-size:300%; color:{{{color|#006666}}};">{{{ | + | <div style="font-size:300%; color:{{{color|#006666}}};">{{{rank}}}</div> |
− | <div>{{{bottom-column|{{#ifeq:{{{ | + | <div>{{{bottom-column|{{#ifeq:{{{LW|}}}|NEW|{{color|#EECC00|N E W ! !}}|{{#if:{{{LW|}}}|LW:{{{LW}}}|{{color|#EECC00|N E W ! !}}}} {{#switch: {{#if:{{{trend|}}}|{{{trend|}}}|{{#ifeq:{{{LW|}}}|--|1|{{#switch:{{#expr: {{{rank}}} > {{{LW|}}} }}|0 = {{#ifeq:{{#expr: {{{rank}}} = {{{LW|}}} }} | 1 | 2 | 1 }}|1 = 3}}}}}} |1={{color|#CC0000|▲}}|2=<span style="color:#999999;font-size:120%;">◆</span>|3={{color|#0000CC|▼}}}}}}}}}</div> |
</div> | </div> | ||
− | <div style="display:inline-block;width:12.5em;text-align:center"><img style="margin-right: 4px; border: gray 2px solid; vertical-align: baseline;" src="{{#if:{{{image|}}}|{{filepath:{{{image|}}}|144px}}|{{#if:{{{image link|}}}|{{{image link}}}|https://tn-skr.smilevideo.jp/smile?i={{{id}}}{{#ifexpr:{{{id}}}>23648995|.M|}}}}" height="81" width="144" alt=" | + | <div style="display:inline-block;width:12.5em;text-align:center"><img style="margin-right: 4px; border: gray 2px solid; vertical-align: baseline;" src="{{#if:{{{image|}}}|{{filepath:{{{image|}}}|144px}}|{{#if:{{{image link|}}}|{{{image link}}}|https://tn-skr.smilevideo.jp/smile?i={{{id}}}{{#ifexpr:{{{id}}}>23648995|.M|}}}}" height="81" width="144" alt="no image"}} /></div> |
<div style="display:inline-block;width:32.64em;max-width:100%;vertical-align:center"> | <div style="display:inline-block;width:32.64em;max-width:100%;vertical-align:center"> | ||
<div style="font-size:16px; border-bottom: solid 1px {{{color|#006666}}}; margin-bottom: 5px;"> | <div style="font-size:16px; border-bottom: solid 1px {{{color|#006666}}}; margin-bottom: 5px;"> | ||
− | <div style="display: inline-block; ">{{{ | + | <div style="display: inline-block; ">{{{song}}}{{#if:{{{cover|}}}|*|}}</div> |
− | <div style="font-size:50%; display: inline-block; ">[[[{{{ | + | <div style="font-size:50%; display: inline-block; ">[[[{{{page|{{{song}}}{{#if:{{{dab|}}}|{{{dab}}}|}}}}}|Page]]{{!}}<span class="plainlinks ranking">[https://www.nicovideo.jp/watch/sm{{{id}}} Link]]</span></div> |
</div> | </div> | ||
<div> | <div> | ||
− | {{#if:{{{ | + | {{#if:{{{producer|}}}|<div style="display: inline-block; margin-bottom: 3px;"> |
<div style="width:4.5em; display: inline-block; ">'''Producer'''</div> | <div style="width:4.5em; display: inline-block; ">'''Producer'''</div> | ||
− | <div style="width:11em; display: inline-block; ">[[{{{ | + | <div style="width:11em; display: inline-block; ">[[{{{producer page|{{{producer}}}{{#if:{{{producer dab|}}}|{{{producer dab}}}|}}}}}|{{{producer}}}]]</div> |
<div style="display: inline-block;"></div> | <div style="display: inline-block;"></div> | ||
</div>|}} | </div>|}} | ||
<div style="display: inline-block; margin-bottom: 3px;"> | <div style="display: inline-block; margin-bottom: 3px;"> | ||
<div style="width:4.5em; display: inline-block; ">'''Date'''</div> | <div style="width:4.5em; display: inline-block; ">'''Date'''</div> | ||
− | <div style="width:11em; display: inline-block; ">{{{ | + | <div style="width:11em; display: inline-block; ">{{{date}}}</div> |
</div> | </div> | ||
</div> | </div> | ||
<div> | <div> | ||
− | {{#if:{{{ | + | {{#if:{{{point|}}}|<div style="display: inline-block; margin-bottom: 3px;"> |
<div style="width:4.5em; display: inline-block; >'''Points'''</div> | <div style="width:4.5em; display: inline-block; >'''Points'''</div> | ||
− | <div style="width:11em; display: inline-block; ">{{formatnum:{{{ | + | <div style="width:11em; display: inline-block; ">{{formatnum:{{{point|}}}}}</div> |
<div style="display: inline-block;"></div> | <div style="display: inline-block;"></div> | ||
</div>|}} | </div>|}} | ||
Line 40: | Line 40: | ||
<div> | <div> | ||
− | {{#if:{{{ | + | {{#if:{{{view|}}}|<div style="display: inline-block; margin-bottom: 3px;"> |
<div style="width:4.5em; display: inline-block; ">'''View'''</div> | <div style="width:4.5em; display: inline-block; ">'''View'''</div> | ||
− | <div style="width:5.5em; display: inline-block; ">{{formatnum:{{{ | + | <div style="width:5.5em; display: inline-block; ">{{formatnum:{{{view|}}}}}</div> |
− | <div style="width:5.5em; display: inline-block; ">{{#if:{{{ | + | <div style="width:5.5em; display: inline-block; ">{{#if:{{{correct view|}}}|{{#ifexpr:{{{correct view|}}}=1.00||×{{{correct view}}}}}|}}</div> |
</div>|}} | </div>|}} | ||
− | {{#if:{{{ | + | {{#if:{{{comment|}}}|<div style="display: inline-block; margin-bottom: 3px;"> |
<div style="width:4.5em; display: inline-block; ">'''Comment'''</div> | <div style="width:4.5em; display: inline-block; ">'''Comment'''</div> | ||
− | <div style="width:5.5em; display: inline-block;">{{formatnum:{{{ | + | <div style="width:5.5em; display: inline-block;">{{formatnum:{{{comment|}}}}}</div> |
− | <div style="width:5.5em; display: inline-block; ">{{#if:{{{ | + | <div style="width:5.5em; display: inline-block; ">{{#if:{{{correct a|}}}|×{{{correct a}}}|}}</div> |
</div>|}} | </div>|}} | ||
</div> | </div> | ||
<div> | <div> | ||
− | {{#if:{{{ | + | {{#if:{{{mylist|}}}|<div style="display: inline-block; margin-bottom: 3px;"> |
<div style="width:4.5em; display: inline-block; ">'''Mylist'''</div> | <div style="width:4.5em; display: inline-block; ">'''Mylist'''</div> | ||
− | <div style="width:5.5em; display: inline-block;">{{formatnum:{{{ | + | <div style="width:5.5em; display: inline-block;">{{formatnum:{{{mylist|}}}}}</div> |
− | <div style="width:5.5em; display: inline-block; ">{{#if:{{{ | + | <div style="width:5.5em; display: inline-block; ">{{#if:{{{correct b|}}}|{{#if:{{{5limit|}}}|{{#ifexpr:{{{correct b|}}}>31.62|×{{color|red|{{{correct b}}}}}|×{{{correct b}}}}}|{{#if:{{{4limit|}}}|{{#ifexpr:{{{correct b|}}}>28.28|×{{color|red|{{{correct b}}}}}|×{{{correct b}}}}}|×{{{correct b}}}}}}}|}}</div> |
</div>|}} | </div>|}} | ||
− | {{#if:{{{ | + | {{#if:{{{like|}}}|<div style="display: inline-block; margin-bottom: 3px;"> |
<div style="width:4.5em; display: inline-block; ">'''Like'''</div> | <div style="width:4.5em; display: inline-block; ">'''Like'''</div> | ||
− | <div style="width:5.5em; display: inline-block;">{{formatnum:{{{ | + | <div style="width:5.5em; display: inline-block;">{{formatnum:{{{like|}}}}}</div> |
− | <div style="width:5.5em; display: inline-block; ">{{#if:{{{ | + | <div style="width:5.5em; display: inline-block; ">{{#if:{{{correct like|}}}|{{#if:{{{4limit|}}}|{{#ifexpr:{{{correct like|}}}>28.28|×{{color|red|{{{correct like}}}}}|×{{{correct like}}}}}|×{{{correct like}}}}}|}}</div> |
</div>|}} | </div>|}} | ||
</div> | </div> |