Template:Riichi City/Character images: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
mNo edit summary
m (better indent)
Line 5: Line 5:
         |[[File:Riichi_City_Character_{{{1}}}-role.png|150px|none|{{{1}}}]]
         |[[File:Riichi_City_Character_{{{1}}}-role.png|150px|none|{{{1}}}]]
     }}
     }}
     <div style="position:absolute; top:0; height:100%; width:125px;
     <div style="position:absolute;
        top:0; height:100%; width:125px;
         background:{{#switch:{{{collab|}}}
         background:{{#switch:{{{collab|}}}
             | lyco-reco = rgba(210,71,82,40%)
             | lyco-reco = rgba(210,71,82,40%)
Line 11: Line 12:
         }};
         }};
         transform-origin: bottom left; transform:skew(-5.9deg); z-index:-1;"></div>
         transform-origin: bottom left; transform:skew(-5.9deg); z-index:-1;"></div>
     <div style="position:absolute; bottom:0; left:{{#if:{{{bas|}}}|calc(.102792*{{{bas}}})|0}}; width:125px; height:{{#if:{{{haut|}}}|{{{haut}}}|23px}};">
     <div style="position:absolute;
         <div style="position:absolute; bottom:{{#if:{{{bas|}}}|{{{bas}}}|0}}; height:100%; width:100%;
        bottom:0; left:{{#if:{{{bas|}}}|calc(.102792*{{{bas}}})|0}};
        width:125px; height:{{#if:{{{haut|}}}|{{{haut}}}|23px}};">
         <div style="position:absolute;
            bottom:{{#if:{{{bas|}}}|{{{bas}}}|0}}; height:100%; width:100%;
             background:{{#switch:{{{collab|}}}
             background:{{#switch:{{{collab|}}}
                 | lyco-reco = rgba(210,71,82,90%)
                 | lyco-reco = rgba(210,71,82,90%)
                 | rgba(60,50,100,90%)
                 | rgba(60,50,100,90%)
             }};
             }};
             transform-origin: bottom left; transform:skew(-5.9deg);"></div>
             transform-origin: bottom left; transform:skew(-5.9deg);
         <div style="position:absolute; bottom:{{#if:{{{bas|}}}|{{{bas}}}|0}}; width:100%; text-align:center; color:#fff;">{{{1}}}</div>
        "></div>
         <div style="position:absolute;
            bottom:{{#if:{{{bas|}}}|{{{bas}}}|0}};
            width:100%; text-align:center; color:#fff;
        ">{{{1}}}</div>
     </div>
     </div>
</div>
</div>

Revision as of 03:41, 4 October 2023

Description

Character image card used in character description list.

Example

Isshiki Seibi
Isshiki Seibi
Isshiki Seibi
Igarashi Saeko
Igarashi Saeko
Igarashi Saeko
Akabane Athena
Akabane Athena
Akabane Athena
Unreleased
Nishikigi Chisato