Template:Card: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
m (allow custom styles)
m (allow extra styles)
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;">{{{japanese_desc}}}</div>
<div style="position:absolute;top:283px;left:23px;width:235px;font-size:11px;line-height:115%;color:#fff;{{{jatext_extra_styles}}}">{{{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;{{{extra_styles}}}">
<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>

Revision as of 22:49, 23 February 2011

Usage:

{{Card
|name          = Yom-ini Kui
|runes         = YOMINIKUI
|image         = File:Card Yominikui.png
|japanese_desc = 日本語の説明文
|english_desc  = English description here.
|type          = Witch of Illegible
|task          = Making typos
|nature        = Typos
|episodes      = [[Episode 1]], [[Episode 2]]
}}