Difference between revisions of "Template:Majsoul/Character images"
From Japanese mahjong wiki
m (id) |
(Saki pink) |
||
Line 1: | Line 1: | ||
− | <includeonly><div style="list-style:none; display:grid; grid-auto-rows:42px; grid-auto-columns:42px; grid-auto-flow:column; grid-gap:5px; width:min-content; margin:0 auto; padding:5px; border-radius:6px; background-color:rgba(32, 60, 125, .2);" id="{{{1|}}}"> | + | <includeonly><div style="list-style:none; display:grid; grid-auto-rows:42px; grid-auto-columns:42px; grid-auto-flow:column; grid-gap:5px; width:min-content; margin:0 auto; padding:5px; border-radius:6px; |
− | <div style="grid-column:span 3; grid-row:span 3; overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;"> | + | background-color: {{#ifeq: {{{cls|}}}|saki | rgba(254, 202, 228, .5)|rgba(32, 60, 125, .2) }};" |
+ | id="{{{1|}}}"> | ||
+ | <div style="grid-column:span 3; grid-row:span 3; overflow:hidden; | ||
+ | background-color: {{#ifeq: {{{cls|}}}|saki | rgba(255, 138, 196, .3)|rgba(48, 48, 48, .2) }}; | ||
+ | border-radius:4px;"> | ||
{{#if: {{{unreleased|}}} | {{#if: {{{unreleased|}}} | ||
| [[File:Majsoul_Character_unreleased_{{{unreleased|female}}}-bighead.png|x136px|none]] | | [[File:Majsoul_Character_unreleased_{{{unreleased|female}}}-bighead.png|x136px|none]] | ||
Line 6: | Line 10: | ||
}} | }} | ||
</div> | </div> | ||
− | <div style="overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;"> | + | <div style="overflow:hidden; |
+ | background-color: {{#ifeq: {{{cls|}}}|saki | rgba(255, 138, 196, .3)|rgba(48, 48, 48, .2) }}; | ||
+ | border-radius:4px;"> | ||
{{#if: {{{unreleased|}}} | {{#if: {{{unreleased|}}} | ||
|| [[File:Majsoul_Character_{{{1}}}_bond-smallhead.png|x42px|none|{{{1}}} bonded]] | || [[File:Majsoul_Character_{{{1}}}_bond-smallhead.png|x42px|none|{{{1}}} bonded]] | ||
Line 12: | Line 18: | ||
</div><!-- | </div><!-- | ||
-->{{#if: {{{cos1|}}} | -->{{#if: {{{cos1|}}} | ||
− | | <div style="overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;"> | + | | <div style="overflow:hidden; |
+ | background-color: {{#ifeq: {{{cls|}}}|saki | rgba(255, 138, 196, .3)|rgba(48, 48, 48, .2) }}; | ||
+ | border-radius:4px;"> | ||
[[File:Majsoul_Character_{{{1}}}_cos1-smallhead.png|x42px|none|{{{1}}} {{{cos1}}}]] | [[File:Majsoul_Character_{{{1}}}_cos1-smallhead.png|x42px|none|{{{1}}} {{{cos1}}}]] | ||
</div> | </div> | ||
|}}<!-- | |}}<!-- | ||
-->{{#if: {{{cos2|}}} | -->{{#if: {{{cos2|}}} | ||
− | | <div style="overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;"> | + | | <div style="overflow:hidden; |
+ | background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3) | rgba(48, 48, 48, .2) }}; | ||
+ | border-radius:4px;"> | ||
[[File:Majsoul_Character_{{{1}}}_cos2-smallhead.png|x42px|none|{{{1}}} {{{cos2}}}]] | [[File:Majsoul_Character_{{{1}}}_cos2-smallhead.png|x42px|none|{{{1}}} {{{cos2}}}]] | ||
</div> | </div> | ||
Line 54: | Line 64: | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
| {{Majsoul/Character images|unreleased=girl}} | | {{Majsoul/Character images|unreleased=girl}} | ||
+ | |- | ||
+ | | max-width="280px;" | <pre><nowiki> | ||
+ | {{Majsoul/Character images | ||
+ | | Saki Miyanaga | ||
+ | | cos1=blossom | ||
+ | | cls=saki | ||
+ | }}</nowiki></pre> | ||
+ | | {{Majsoul/Character images|Saki Miyanaga|cos1=blossom|cls=saki}} | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 11:26, 16 January 2021
Description
Character image card used in character description list.
Example
{{Majsoul/Character images | Ichihime | cos1 = summer | cos2 = spring }} |
|
{{Majsoul/Character images | Xenia | cos1 = halloween }} |
|
{{Majsoul/Character images | Sawako Kitami }} |
|
{{Majsoul/Character images | unreleased = girl }} |
|
{{Majsoul/Character images | Saki Miyanaga | cos1=blossom | cls=saki }} |
|