Template:Infobox animanga/Header: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
tweak for compatibility
replace deprecated HTML attributes with CSS, add language code for ja_name, format code for easier readability
Line 1: Line 1:
<noinclude>
<noinclude>
{| class="messagebox standard-talk"
<div class="messagebox standard-talk">Please see [[Template:Infobox animanga]] for usage instructions and notes.</div>
||Please see [[Template:Infobox animanga]] for usage instructions and notes.
|}
</noinclude>
</noinclude>
{| class="infobox bordered" style="width: 300px; font-size: smaller;"
{| class="infobox bordered" style="width: 300px; font-size: smaller;"
| align="center" colspan="2" bgcolor="#ccccff" style="font-size: 110%;" | '''''{{{title_name}}}'''''
! colspan="2" style="font-size: 110%; background: #ccf;" | ''{{{title_name}}}''
{{qif
{{qif|test={{{image|}}}|then=<tr style="text-align: center; background: #ffffff;"><td colspan="2">[[Image:{{{image}}}|300px|{{{size|}}}|{{{caption|}}}]]</td></tr>}}<!--
|test={{{image|}}}
-->{{qif|test={{{ja_name|}}}|then=<tr style="text-align: center; background: #e6e9ff;"><td colspan="2">''{{{ja_name}}}''<br /><small>( ''{{{ja_name_trans}}}'' )</small></td></tr>}}
|then=<tr><td colspan="2" style="background: #fff;">[[Image:{{{image}}}|center|300px|{{{size|}}}|{{{caption|}}}]]</td></tr>
}}{{qif
|test={{{ja_name|}}}
|then=<tr style="text-align: center; background: #e6e9ff;"><td colspan="2"><span lang="ja">''{{{ja_name}}}''</span> <br /> <small>( ''{{{ja_name_trans}}}'' )</small></td></tr>
}}
|-
|-
| bgcolor="#e6e9ff" | '''Genre''' || {{{genre}}}
| style="background: #e6e9ff;" | '''Genre''' || {{{genre}}}
<noinclude>
<noinclude>
|}
|}</noinclude>
</noinclude>