Template:Card: Difference between revisions
Jump to navigation
Jump to search
m (Japanese sentence adjustment) |
(Prevent Japanese text from overflowing over the border of the card; having a scrollbar is a little weird but it's better than text overlaid on whatever is after the card) |
||
Line 2: | Line 2: | ||
| style = "width: 278px; min-height: 385px; vertical-align: top;" |<div style="position: relative; width: 278px;"> | | style = "width: 278px; min-height: 385px; vertical-align: top;" |<div style="position: relative; width: 278px;"> | ||
[[{{#if:{{{image|}}}|{{{image}}}|File:Card Missing.png}}]] | [[{{#if:{{{image|}}}|{{{image}}}|File:Card Missing.png}}]] | ||
<div style="position: absolute; top: 283px; left: 23px; width: 235px; font-size: 11px; line-height: 115%; color: #fff; {{{jatext_extra_styles}}}" lang="ja" xml-lang="ja">{{{japanese_desc}}}</div> | <div style="position: absolute; top: 283px; left: 23px; width: 235px; height: 80px; font-size: 11px; line-height: 115%; color: #fff; overflow-y: scroll; {{{jatext_extra_styles}}}" lang="ja" xml-lang="ja">{{{japanese_desc}}}</div> | ||
</div> | </div> | ||
|style="vertical-align:top;"|<div style="padding:0 5px;"> | |style="vertical-align:top;"|<div style="padding:0 5px;"> |
Revision as of 00:20, 5 April 2022
Usage:
{{Card |name = Yom-ini Kui |runes = YOMINIKUI |runes_variant = musical |image = File:Card Yominikui.png |japanese_desc = 日本語の説明文 |english_desc = English description here. |type = Witch of Illegible |task = Making typos |nature = Typos |witchkiss = File:Witch's Kiss Yominikui.png |griefseed = File:Grief Seed Yominikui.png |episodes = [[Episode 1]], [[Episode 2]] |jatext_extra_styles = extra styling for japanese text |header_extra_styles = extra styling for header label }}