Template:Infobox animanga/Header: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
No edit summary
mNo edit summary
 
(33 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{
<includeonly><table class="infobox" style="width:22em; font-size:88%; text-align:left;">
#ifeq: {{{child<includeonly>|yes</includeonly>}}} | yes
{{Infobox/row
| <table class="infobox" style="width: 22em">
| header = {{
}}{{Infobox
#ifeq: {{NAMESPACE}} | Template
| {{{name|}}}
|decat = yes
|child = {{{child|<includeonly>yes</includeonly>}}}
| {{ifempty|{{{name|}}}|{{PAGENAME}}}}
|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>
}}
}}
}}
| headerstyle = font-size:120%; font-weight:bold; font-style:italic; background:#CCF;

}}{{
|label2 = Genre
#if: {{{image|}}} | <tr><td colspan="2" style="text-align: center;">{{{image}}}{{
|data2 = {{{genre<includeonly>|</includeonly>}}}
#if: {{{caption|}}} | <br /> <small>{{{caption}}}</small>
}}</td></tr>
}}{{
#if: {{{ja_kanji|}}} | <tr><td colspan="2" style="background: #ddf; text-align: center;">{{lang|ja|{{{ja_kanji}}}}}{{
#if: {{{ja_romaji|}}} | <br /><small>(''{{{ja_romaji}}}'')</small>
}}</td></tr>
}}{{
#if: {{{genre|}}} | <tr><th style="background: #eef;">Genre</th><td>{{{genre}}}</td></tr>
}}{{
}}{{
#ifeq: {{NAMESPACE}} | {{ns:0}} | {{
#ifeq: {{NAMESPACE}} | {{ns:0}} | {{
Line 26: Line 38:
}}
}}
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|ecchi}} | -1 | | [[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: {{Str find|{{lc:{{{genre}}}}}|shōnen}} | -1 | | {{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōnen}} | 0 | | {{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|shōnen-ai}} | -1 | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōnen-ai}} | 0 | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}
}}
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|shonen}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shonen}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|shounen}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shounen}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|shōjo}} | -1 | | {{
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōjo}} | 0 | | {{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|shōjo-ai}} | -1 | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shōjo-ai}} | 0 | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}
}}
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|shojo}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shojo}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|shoujo}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|shoujo}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|seinen}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|seinen}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|josei}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|josei}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|kodomo}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|kodomo}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
}}{{
#ifeq: {{Str find|{{lc:{{{genre}}}}}|children}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{Strfind short|{{lc:{{{genre}}}}}|children}} | 0 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}</includeonly><noinclude>
}}<noinclude>

{{documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 20:40, 7 August 2011

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