Template:Majsoul/Character images: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
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
}}
Ichihime regular
Ichihime regular
Ichihime bonded
Ichihime bonded
Ichihime summer
Ichihime summer
Ichihime spring
Ichihime spring
{{Majsoul/Character images
  | Xenia
  | cos1 = halloween
}}
Xenia regular
Xenia regular
Xenia bonded
Xenia bonded
Xenia halloween
Xenia halloween
{{Majsoul/Character images
  | Sawako Kitami
}}
Sawako Kitami regular
Sawako Kitami regular
Sawako Kitami bonded
Sawako Kitami bonded
{{Majsoul/Character images
  | unreleased = girl
}}
{{Majsoul/Character images
  | Saki Miyanaga
  | cos1=blossom
  | cls=saki
}}
Saki Miyanaga regular
Saki Miyanaga regular
Saki Miyanaga bonded
Saki Miyanaga bonded
Saki Miyanaga blossom
Saki Miyanaga blossom