Template:Infobox franchise/Header: Difference between revisions

Content added Content deleted
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 8: Line 8:
| italic title = {{{italic title|}}}
| italic title = {{{italic title|}}}


| subheaderclass = patterned-header
| subheaderstyle = background:#CCF; font-size:125%; font-style:italic; font-weight:bold;
| subheaderstyle = {{{subheaderstyle|}}}font-size:125%; font-style:italic; font-weight:bold;
| subheader = {{
| subheader = {{
#ifeq: {{NAMESPACE}} | Template
#ifeq: {{NAMESPACE}} | Template
Line 19: Line 20:
| caption = {{{caption|}}}
| caption = {{{caption|}}}


| headerstyle = background:#DDF; padding:0.3em; line-height:1.3em; font-weight:normal;
| headerstyle = {{{headerstyle|}}}padding:0.3em; line-height:1.3em; font-weight:normal;


| class1 = patterned
| header1 = {{
| header1 = {{
#if: {{{ja_kanji|}}} | {{Nihongo2|{{bigger|{{{ja_kanji}}}}}}}{{
#if: {{{ja_kanji|}}} | {{Nihongo2|{{{ja_kanji}}}}}{{
#if: {{{ja_romaji|}}} | <br />(''{{{ja_romaji}}}'')
#if: {{{ja_romaji|}}} | <br />(''{{{ja_romaji}}}'')
}}
}}
Line 29: Line 31:
| label2 = Genre
| label2 = Genre
| data2 = {{{genre|}}}
| data2 = {{{genre|}}}
}}{{
#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]]
}}
}}
}}{{
#switch: {{NAMESPACE}}
| Talk
| Template
| Template talk
| Wikipedia
| Wikipedia talk =
| {{
#ifeq: {{{image|¬}}} | ¬ | [[Category:Anime and manga articles with missing image parameters]]
}}{{
#ifeq: {{{caption|¬}}} | ¬ | [[Category:Anime and manga articles with missing image parameters]]
}}{{
#ifeq: {{{genre|¬}}} | ¬ | [[Category:Anime and manga articles with missing genre parameters]]
}}
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|ecchi}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shōnen}} | -1 | | {{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shōnen-ai}} | -1 | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shonen}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shounen}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shōjo}} | -1 | | {{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shōjo-ai}} | -1 | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shojo}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|shoujo}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|seinen}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|josei}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|kodomo}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{genre}}}}}|children}} | -1 | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{lc:{{{image}}}}}|logo}} | -1 | | [[Category:Wikipedia requested images of anime and manga]]
}}{{
#ifeq: {{Str find long|{{lc:{{{image}}}}}|title}} | -1 | | [[Category:Wikipedia requested images of anime and manga]]
}}{{
#ifeq: {{Str find long|{{lc:{{{caption}}}}}|logo}} | -1 | | [[Category:Wikipedia requested images of anime and manga]]
}}{{
#ifeq: {{Str find long|{{lc:{{{caption}}}}}|title}} | -1 | | [[Category:Wikipedia requested images of anime and manga]]
}}{{
#invoke:Check for unknown parameters|check
| unknown = [[Category:Anime and manga articles using obsolete and incorrect infobox parameters|_VALUE_{{PAGENAME}}]]
| child | italic title
| name
| image | caption | imagesize | image_size | alt
| ja_kanji | ja_romaji| genre
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}

Latest revision as of 17:09, 7 September 2023