Template:Riichi City/Character images: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly><div id="{{{1}}}">
<includeonly><div id="{{{1}}}">
<div style="position:relative; overflow:hidden; width:fit-content; margin:0 auto;">
<div style="position:relative; overflow:hidden; width:fit-content; margin:0 auto;">
     [[File:Riichi_City_Character_{{{1}}}-role.png|150px|none|{{{1}}}]]
     {{#if:{{{unreleased|}}}
        |<div style="width:150px; height:244px;"></div>
        |[[File:Riichi_City_Character_{{{1}}}-role.png|150px|none|{{{1}}}]]
    }}
     <div style="position:absolute; top:0; height:100%; width:125px; background:rgba(155,155,250,60%); transform-origin: bottom left; transform:skew(-5.9deg); z-index:-1;"></div>
     <div style="position:absolute; top:0; height:100%; width:125px; background:rgba(155,155,250,60%); 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; bottom:0; left:{{#if:{{{bas|}}}|calc(.102792*{{{bas}}})|0}}; width:125px; height:{{#if:{{{haut|}}}|{{{haut}}}|23px}};">
Line 17: Line 20:
{{Riichi City/Character images|Igarashi Saeko|haut=80px}}
{{Riichi City/Character images|Igarashi Saeko|haut=80px}}
{{Riichi City/Character images|Akabane Athena|haut=60px|bas=55px}}
{{Riichi City/Character images|Akabane Athena|haut=60px|bas=55px}}
{{Riichi City/Character images|Unreleased|unreleased=true}}
</div>
</div>
</noinclude>
</noinclude>