Template:Infobox animanga/Header: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
m (make caption optional)
mNo edit summary
 
(215 intermediate revisions by 65 users not shown)
Line 1: Line 1:
{{
<noinclude>
#ifeq: {{{child<includeonly>|yes</includeonly>}}} | yes
{| class="messagebox standard-talk"
| <table class="infobox" style="width: 22em">
||Please see [[Template:Infobox animanga]] for usage instructions and notes.
}}{{Infobox
|}
|decat = yes
|child = {{{child|<includeonly>yes</includeonly>}}}
|bodystyle = border-spacing:2px;
|italic title = {{{italic title|}}}

|subheader = {{
#ifeq: {{NAMESPACE}} | Template
| {{{name<includeonly>|</includeonly>}}}
| {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
}}
|subheaderstyle = font-size:125%; font-weight:bold; font-style:italic; background:#CCF;

|image = {{{image<includeonly>|</includeonly>}}}
|caption = {{{caption<includeonly>|</includeonly>}}}
|captionstyle = font-size:smaller;

|headerstyle = background:#DDF; font-weight:normal;

|header1 = {{
#if: {{{ja_kanji<includeonly>|</includeonly>}}} | {{lang|ja|{{{ja_kanji}}}}}{{
#if: {{{ja_romaji<includeonly>|</includeonly>}}} | <br /><span style="font-size:smaller;">(''{{{ja_romaji}}}'')</span>
}}
}}

|label2 = Genre
|data2 = {{{genre<includeonly>|</includeonly>}}}
}}{{
#ifeq: {{NAMESPACE}} | {{ns:0}} | {{
#if: {{{image|}}} || [[Category:Wikipedia requested photographs of anime and manga]]
}}{{
#if: {{{ja_romaji|}}} | {{
#ifeq: {{{name|{{PAGENAME}}}}} | {{{ja_romaji}}} | [[Category:Anime and manga articles with redundant infobox parameters]]
}}
}}
}}{{
#if: {{{image|}}} | {{ #if: {{{caption|}}} || [[Category:Anime and manga articles with a missing image caption]] }}
}}{{
#switch: {{NAMESPACE}}
| Talk
| Template
| Template talk
| Wikipedia
| Wikipedia talk =
| {{
#ifeq: {{{image|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
}}{{
#ifeq: {{{caption|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
}}{{
#ifeq: {{{genre|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
}}
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|ecchi}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōnen}} | 0 | | {{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōnen-ai}} | 0 | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shonen}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shounen}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōjo}} | 0 | | {{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōjo-ai}} | 0 | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shojo}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shoujo}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|seinen}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|josei}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|kodomo}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|children}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}<noinclude>

{{Documentation}}
</noinclude>
</noinclude>
{| class="infobox bordered" style="width: 300px; font-size: smaller;"
| align="center" colspan="2" bgcolor="#ccccff" style="font-size: 110%;" | '''''{{{title_name}}}'''''
{{qif|test={{{image|}}}|then=<tr style="text-align: center; background: #ffffff;"><td colspan="2">[[Image:{{{image}}}|{{{size|300px}}}|{{{caption|}}}]]</td></tr>}}<!--
-->{{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>}}
|-
| bgcolor="#e6e9ff" | '''Genre''' || {{{genre}}}
<noinclude>
|}</noinclude>

Latest revision as of 20:40, 7 August 2011

{{{name}}}
{{{image}}}
{{{caption}}}
{{{ja_kanji}}}
({{{ja_romaji}}})
Genre{{{genre}}}