Template:Majsoul/Character images: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
(Linovel green)
(kakegurui)
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;
<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: {{#ifeq: {{{cls|}}} | saki | rgba(254, 202, 228, .5)
background-color: {{#switch: {{{cls|}}}
| {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .22)
| saki = rgba(254, 202, 228, .5)
| rgba(32, 60, 125, .2) }} }};"
| linovel = rgba(32, 163, 131, .22)
| kakegurui = rgba(187, 23, 47, .22)
| rgba(32, 60, 125, .2) }};"
id="{{{1|}}}">
id="{{{1|}}}">
<div style="grid-column:span 3; grid-row:span 3; overflow:hidden;
<div style="grid-column:span 3; grid-row:span 3; overflow:hidden;
background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
background-color: {{#switch: {{{cls|}}}
| {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .4)
| saki = rgba(255, 138, 196, .3)
| rgba(48, 48, 48, .2) }} }};
| linovel = rgba(32, 163, 131, .4)
| kakegurui = rgba(187, 23, 47, .4)
| rgba(48, 48, 48, .2) }};
border-radius:4px;">
border-radius:4px;">
{{#if: {{{unreleased|}}}
{{#if: {{{unreleased|}}}
Line 15: Line 19:
</div>
</div>
<div style="overflow:hidden;
<div style="overflow:hidden;
background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
background-color: {{#switch: {{{cls|}}}
| {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .4)
| saki = rgba(255, 138, 196, .3)
| rgba(48, 48, 48, .2) }} }};
| linovel = rgba(32, 163, 131, .4)
| kakegurui = rgba(187, 23, 47, .4)
| rgba(48, 48, 48, .2) }};
border-radius:4px;">
border-radius:4px;">
{{#if: {{{unreleased|}}}
{{#if: {{{unreleased|}}}
Line 25: Line 31:
-->{{#if: {{{cos1|}}}
-->{{#if: {{{cos1|}}}
   | <div style="overflow:hidden;
   | <div style="overflow:hidden;
     background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
     background-color: {{#switch: {{{cls|}}}
     | {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .4)
    | saki = rgba(255, 138, 196, .3)
     | rgba(48, 48, 48, .2) }} }};
     | linovel = rgba(32, 163, 131, .4)
    | kakegurui = rgba(187, 23, 47, .4)
     | rgba(48, 48, 48, .2) }};
     border-radius:4px;">
     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}}}]]
Line 34: Line 42:
-->{{#if: {{{cos2|}}}
-->{{#if: {{{cos2|}}}
   | <div style="overflow:hidden;
   | <div style="overflow:hidden;
     background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
     background-color: {{#switch: {{{cls|}}}
     | {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .4)
    | saki = rgba(255, 138, 196, .3)
     | rgba(48, 48, 48, .2) }} }};
     | linovel = rgba(32, 163, 131, .4)
    | kakegurui = rgba(187, 23, 47, .4)
     | rgba(48, 48, 48, .2) }};
     border-radius:4px;">
     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}}}]]
Line 90: Line 100:
}}</nowiki></pre>
}}</nowiki></pre>
| {{Majsoul/Character images|Saki Miyanaga|cos1=blossom|cls=saki}}
| {{Majsoul/Character images|Saki Miyanaga|cos1=blossom|cls=saki}}
|-
| max-width="280px;" | <pre><nowiki>
{{Majsoul/Character images
  | unreleased=female
  | cls=kakegurui
}}</nowiki></pre>
| style="background-color:white;" | {{Majsoul/Character images|unreleased=female|cls=kakegurui}}
|}
|}
</noinclude>
</noinclude>

Revision as of 07:16, 7 April 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
  | Keikumusume
  | cos1=swimsuit
  | cls=linovel
}}
Keikumusume regular
Keikumusume regular
Keikumusume bonded
Keikumusume bonded
Keikumusume swimsuit
Keikumusume swimsuit
{{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
{{Majsoul/Character images
  | unreleased=female
  | cls=kakegurui
}}