Difference between revisions of "Template:Majsoul/Character images"

From Japanese mahjong wiki
Jump to: navigation, search
(Saki pink)
(Linovel green)
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)|rgba(32, 60, 125, .2) }};"
+
background-color: {{#ifeq: {{{cls|}}} | saki | rgba(254, 202, 228, .5)
 +
| {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .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)|rgba(48, 48, 48, .2) }};
+
background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
 +
| {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .4)
 +
| rgba(48, 48, 48, .2) }} }};
 
border-radius:4px;">
 
border-radius:4px;">
 
{{#if: {{{unreleased|}}}
 
{{#if: {{{unreleased|}}}
Line 11: Line 15:
 
</div>
 
</div>
 
<div style="overflow:hidden;
 
<div style="overflow:hidden;
background-color: {{#ifeq: {{{cls|}}}|saki | rgba(255, 138, 196, .3)|rgba(48, 48, 48, .2) }};
+
background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
 +
| {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .4)
 +
| rgba(48, 48, 48, .2) }} }};
 
border-radius:4px;">
 
border-radius:4px;">
 
{{#if: {{{unreleased|}}}
 
{{#if: {{{unreleased|}}}
Line 19: Line 25:
 
-->{{#if: {{{cos1|}}}
 
-->{{#if: {{{cos1|}}}
 
   | <div style="overflow:hidden;
 
   | <div style="overflow:hidden;
     background-color: {{#ifeq: {{{cls|}}}|saki | rgba(255, 138, 196, .3)|rgba(48, 48, 48, .2) }};
+
     background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
 +
    | {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .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 26: Line 34:
 
-->{{#if: {{{cos2|}}}
 
-->{{#if: {{{cos2|}}}
 
   | <div style="overflow:hidden;
 
   | <div style="overflow:hidden;
     background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3) | rgba(48, 48, 48, .2) }};
+
     background-color: {{#ifeq: {{{cls|}}} | saki | rgba(255, 138, 196, .3)
 +
    | {{#ifeq: {{{cls|}}} | linovel | rgba(32, 163, 131, .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 64: Line 74:
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
| {{Majsoul/Character images|unreleased=girl}}
 
| {{Majsoul/Character images|unreleased=girl}}
 +
|-
 +
| max-width="280px;" | <pre><nowiki>
 +
{{Majsoul/Character images
 +
  | Keikumusume
 +
  | cos1=swimsuit
 +
  | cls=linovel
 +
}}</nowiki></pre>
 +
| {{Majsoul/Character images|Keikumusume|cos1=swimsuit|cls=linovel}}
 
|-
 
|-
 
| max-width="280px;" | <pre><nowiki>
 
| max-width="280px;" | <pre><nowiki>

Revision as of 15:13, 16 January 2021

Description

Character image card used in character description list.

Example

{{Majsoul/Character images
  | Ichihime
  | cos1 = summer
  | cos2 = spring
}}
Ichihime regular
Ichihime bonded
Ichihime summer
Ichihime spring
{{Majsoul/Character images
  | Xenia
  | cos1 = halloween
}}
Xenia regular
Xenia bonded
Xenia halloween
{{Majsoul/Character images
  | Sawako Kitami
}}
Sawako Kitami regular
Sawako Kitami bonded
{{Majsoul/Character images
  | unreleased = girl
}}
Majsoul Character unreleased girl-bighead.png
{{Majsoul/Character images
  | Keikumusume
  | cos1=swimsuit
  | cls=linovel
}}
Keikumusume regular
Keikumusume bonded
Keikumusume swimsuit
{{Majsoul/Character images
  | Saki Miyanaga
  | cos1=blossom
  | cls=saki
}}
Saki Miyanaga regular
Saki Miyanaga bonded
Saki Miyanaga blossom