Template:Infobox animanga/Header: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(31 intermediate revisions by 6 users not shown)
Line 1:
}}{{
<includeonly><table class="infobox" style="width:22em; font-size:88%; text-align:left;">
#ifeq: {{{child<includeonly>|yes</includeonly>}}} | yes
{{Infobox/row
<includeonly> | <table class="infobox" style="width: 22em; font-size:88%; text-align:left;">
| header = {{
}}{{Infobox/row
#ifeq: {{NAMESPACE}} | Template
|decat | {{{name|}}} = yes
|child = {{{child|<includeonly>yes</includeonly>}}}
| {{ifempty|{{{name|}}}|{{PAGENAME}}}}
|bodystyle = border-spacing:2px;
|italic title = {{{italic title|}}}
 
| headersubheader = {{
#ifeq: {{NAMESPACE}} | Template
| {{{name<includeonly>|</includeonly>}}}
| {{ifempty#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
}}{{
| headerstylesubheaderstyle = font-size:120125%; 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 /><smallspan style="font-size:smaller;">(''{{{ja_romaji}}}'')</smallspan>
}}
}}{{
| 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}} | {{
Line 26 ⟶ 38:
}}
}}{{
#ifeqif: {{NAMESPACE}} | Template | | {{ifparadef|{{{image|¬}}} ||[[Category:Anime and{{ manga#if: articles with missing infobox parameters]]}}{{ifparadef|{{{caption|¬}}} || [[Category:Anime and manga articles with a missing infoboximage parameterscaption]]}}{{ifparadef|{{{genre|¬}}}||[[Category:Anime and manga articles with missing infobox parameters]]}}
}}{{
#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: {{StrStrfind findshort|{{lc:{{{genre}}}}}|ecchi}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shōnen}} | -10 | | {{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shōnen-ai}} | -10 | [[Category:Anime and manga articles withusing obsolete and redundantincorrect infobox parameters]]
}}
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shonen}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shounen}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shōjo}} | -10 | | {{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shōjo-ai}} | -10 | [[Category:Anime and manga articles withusing obsolete and redundantincorrect infobox parameters]]
}}
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shojo}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|shoujo}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|seinen}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|josei}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|kodomo}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{StrStrfind findshort|{{lc:{{{genre}}}}}|children}} | -10 | | [[Category:Anime and manga articles withusing redundantobsolete and incorrect infobox parameters]]
}}</includeonly><noinclude>
 
{{documentation}}
{{Documentation}}
</noinclude>
Anonymous user