Template:Infobox animanga/Header: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
m (Reverted edits by 70.73.56.108 (talk) to last version by Collectonian)
mNo edit summary
 
(47 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{
<includeonly>{| class="infobox" style="width: 22em; font-size: 88%; text-align: left;"
#ifeq: {{{child<includeonly>|yes</includeonly>}}} | yes
<tr><th colspan="2" style="font-size: 120%; background: #ccf; text-align: center;"> ''{{ifempty|{{{name|}}}|{{PAGENAME}}}}''</th></tr>{{
#if: {{{image|}}} | <tr><td colspan="2" style="text-align: center;">{{{image}}}{{
| <table class="infobox" style="width: 22em">
}}{{Infobox
#if: {{{caption|}}} | <br /> <small>{{{caption}}}</small>
|decat = yes
}}</td></tr>
|child = {{{child|<includeonly>yes</includeonly>}}}
}}{{
|bodystyle = border-spacing:2px;
#if: {{{ja_kanji|}}} | <tr><td colspan="2" style="background: #ddf; text-align: center;">{{lang|ja|{{{ja_kanji}}}}}{{
|italic title = {{{italic title|}}}
#if: {{{ja_romaji|}}} | <br /><small>(''{{{ja_romaji}}}'')</small>

}}</td></tr>
|subheader = {{
}}{{
#ifeq: {{NAMESPACE}} | Template
#if: {{{genre|}}} | <tr><th style="background: #eef;">Genre</th><td>{{{genre}}}</td></tr>
| {{{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}} | {{
#ifeq: {{NAMESPACE}} | {{ns:0}} | {{
#if: {{{image|}}} || [[Category:Wikipedia requested photographs of anime and manga]]
#if: {{{image|}}} || [[Category:Wikipedia requested photographs of anime and manga]]
}}{{
}}{{
#if: {{{ja_name_trans|{{{ja_romaji|}}}}}} | {{
#if: {{{ja_romaji|}}} | {{
#ifeq: {{{name|{{PAGENAME}}}}} | {{{ja_name_trans|{{{ja_romaji}}}}}} | [[Category:Animanga infoboxes with duplicate parameters]]
#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]]
}}{{
}}{{
#if: {{{ja_name_trans|}}}{{{ja_name|}}} | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
#ifeq: {{{caption|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
}}{{
#ifeq: {{{genre|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
}}
}}
}}{{
}}</includeonly><noinclude>
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|ecchi}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
{{documentation}}
}}{{
#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>

Latest revision as of 20:40, 7 August 2011

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