Template:Infobox animanga/Header: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
doesn't make sense moving table elements within the <noinclude> |
mNo edit summary |
||
(168 intermediate revisions by 53 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox bordered" style="width: 20em; font-size: 82%; text-align: left;" |
|||
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{title_name}}}'' |
|||
{{ |
{{ |
||
#ifeq: {{{child<includeonly>|yes</includeonly>}}} | yes |
|||
#if: {{{image|}}} | <tr><td colspan="2" style="background: #fff; text-align: center;">[[Image:{{{image}}}|{{#if: {{{size|}}} | {{{size}}} | 250px}}|{{{caption|}}}]]</td></tr> |
|||
| <table class="infobox" style="width: 22em"> |
|||
}}{{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: {{{ja_name|}}} | <tr><td colspan="2" style="background: #ccf; text-align: center;"><span lang="ja">{{{ja_name}}}</span>{{#if: {{{ja_name_trans|}}} | <br /><small>(''{{{ja_name_trans}}}'')</small>}}</td></tr>}} |
|||
#if: {{{image|}}} || [[Category:Wikipedia requested photographs of anime and manga]] |
|||
|- |
|||
}}{{ |
|||
! style="background: #e6e9ff;" | Genre |
|||
#if: {{{ja_romaji|}}} | {{ |
|||
#ifeq: {{{name|{{PAGENAME}}}}} | {{{ja_romaji}}} | [[Category:Anime and manga articles with redundant infobox parameters]] |
|||
⚫ | |||
}} |
|||
⚫ | |||
}} |
|||
<div class="messagebox standard-talk">Please see [[Template:Infobox animanga]] for usage instructions and notes.</div> |
|||
}}{{ |
|||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
|||
#if: {{{image|}}} | {{ #if: {{{caption|}}} || [[Category:Anime and manga articles with a missing image caption]] }} |
|||
[[ja:Template:Infobox animanga/Header]] |
|||
}}{{ |
|||
[[tr:Şablon:Infobox animanga/Header]] |
|||
#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]] |
|||
⚫ | |||
{{Documentation}} |
|||
</noinclude> |
</noinclude> |