Template:Card: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
(Force witch cards into the expected dimensions) |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{|style="width:100%;" | <includeonly>{| style = "width: 100%;" | ||
|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}}|278x385px]] | ||
<div style="position:absolute;top:283px;left:23px;width:235px;font-size:11px;line-height:115%;color:#fff;">{{{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: auto; {{{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;"> | ||
<table class="wikitable" style="width:100%;"> | <table class="wikitable" style="width:100%;"> | ||
<!-- HEADER --> | <!-- HEADER --> | ||
<tr><td colspan="2" style="text-align:center;background:#933;"> | <tr><td colspan="2" style="text-align:center;background:#933;{{{header_extra_styles}}}"> | ||
<h3 style="color:#fff;">{{{name}}}</h3> | <h3 style="color:#fff;">{{{name}}}</h3> | ||
</td></tr> | </td></tr> | ||
<!-- INFO --> | <!-- INFO --> | ||
<tr><td style="width:100px;">'''Runes'''</td><td>{{Runes|{{{runes}}}}}</td></tr> | {{#if:{{{runes|}}}|<tr><td style="width:100px;">'''Runes'''</td><td>{{Runes|{{{runes}}}|variant={{{runes_variant|}}}}}</td></tr>|}}{{#if:{{{type|}}}|<tr><td>'''Type'''</td><td>{{{type}}}</td></tr>|}}{{#if:{{{nature|}}}|<tr><td>'''Nature'''</td><td>{{{nature}}}</td></tr>|}}{{#if:{{{task|}}}|<tr><td>'''Duty'''</td><td>{{{task}}}</td></tr>|}}<tr><td>'''Episodes'''</td><td>{{{episodes}}}</td></tr>{{#if:{{{witchkiss|}}}|<tr><td>'''Witch's Kiss'''</td><td>[[{{{witchkiss|}}}]]</td></tr>|}}{{#if:{{{griefseed|}}}|<tr><td>'''Grief Seed'''</td><td>{{{griefseed|}}}</td></tr>|}} | ||
{{#if:{{{type|}}}|<tr><td>'''Type'''</td><td>{{{type}}}</td></tr>|}} | |||
{{#if:{{{nature|}}}|<tr><td>'''Nature'''</td><td>{{{nature}}}</td></tr>|}} | |||
{{#if:{{{task|}}}|<tr><td>''' | |||
<tr><td>'''Episodes'''</td><td>{{{episodes}}}</td></tr> | |||
</table> | </table> | ||
{{{english_desc}}} | {{{english_desc}}} | ||
Line 24: | Line 20: | ||
|name = Yom-ini Kui | |name = Yom-ini Kui | ||
|runes = YOMINIKUI | |runes = YOMINIKUI | ||
|image = Yominikui. | |runes_variant = musical | ||
|image = File:Card Yominikui.png | |||
|japanese_desc = 日本語の説明文 | |japanese_desc = 日本語の説明文 | ||
|english_desc = English description here. | |english_desc = English description here. | ||
Line 30: | Line 27: | ||
|task = Making typos | |task = Making typos | ||
|nature = Typos | |nature = Typos | ||
|witchkiss = File:Witch's Kiss Yominikui.png | |||
|griefseed = File:Grief Seed Yominikui.png | |||
|episodes = [[Episode 1]], [[Episode 2]] | |episodes = [[Episode 1]], [[Episode 2]] | ||
|} | |jatext_extra_styles = extra styling for japanese text | ||
|header_extra_styles = extra styling for header label | |||
}} | |||
</pre> | </pre> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 13:06, 27 April 2023
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 }}