Template:Majsoul/Character images: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
(darker background for main image)
(more wrappers)
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);">
<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);">
<div style="grid-column:1 / span 3; grid-row:1 / span 3; overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;">
<div style="grid-column:span 3; grid-row:span 3; overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;">
[[File:Majsoul_Character_{{{1}}}-bighead.png|x136px|none|{{{1}}} regular]]
    [[File:Majsoul_Character_{{{1}}}-bighead.png|x136px|none|{{{1}}} regular]]
</div>
</div>
[[File:Majsoul_Character_{{{1}}}_bond-smallhead.png|x42px|none|{{{1}}} bonded]]
<div style="overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;">
{{#if:{{{cos1|}}} | [[File:Majsoul_Character_{{{1}}}_cos1-smallhead.png|x42px|none|{{{1}}} {{{cos1}}}]] | }}
    [[File:Majsoul_Character_{{{1}}}_bond-smallhead.png|x42px|none|{{{1}}} bonded]]
{{#if:{{{cos2|}}} | [[File:Majsoul_Character_{{{1}}}_cos2-smallhead.png|x42px|none|{{{1}}} {{{cos2}}}]] | }}
</div>
{{#if:{{{cos1|}}}
| <div style="overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;">
    [[File:Majsoul_Character_{{{1}}}_cos1-smallhead.png|x42px|none|{{{1}}} {{{cos1}}}]]
</div> | }}
{{#if:{{{cos2|}}}
| <div style="overflow:hidden; background-color:rgba(48, 48, 48, .2); border-radius:4px;">
    [[File:Majsoul_Character_{{{1}}}_cos2-smallhead.png|x42px|none|{{{1}}} {{{cos2}}}]]
| }}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Description ==
== Description ==

Revision as of 09:26, 12 June 2020

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