Template:Infobox animanga/Header: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content deleted Content added
automatic category adding
mNo edit summary
 
(152 intermediate revisions by 46 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
#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>}}
|decat = yes
{{ #if: {{{demographic|}}} |
|child = {{{child|<includeonly>yes</includeonly>}}}
{{!}}-
|bodystyle = border-spacing:2px;
! style="background: #e6e9ff;" {{!}} Demographic
|italic title = {{{italic title|}}}
{{!}} }}

{{ #switch: {{{demographic|}}}
|subheader = {{
|Josei | josei = [[Josei]]<includeonly>[[Category:Josei]]</includeonly>
#ifeq: {{NAMESPACE}} | Template
|Kodomo | kodomo = [[Kodomo]]<includeonly>[[Category:Kodomo]]</includeonly>
|Seinen | seinen = [[Seinen]]<includeonly>[[Category:Seinen]]</includeonly>
| {{{name<includeonly>|</includeonly>}}}
| {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|Shōjo | shōjo | Shojo | shojo = [[Shōjo]]<includeonly>[[Category:Shōjo]]</includeonly>
|Shōnen | shōnen | Shonen | shonen = [[Shōnen]]<includeonly>[[Category:Shōnen]]</includeonly>
| #default =
}}
}}
|subheaderstyle = font-size:125%; font-weight:bold; font-style:italic; background:#CCF;
|-

! style="background: #e6e9ff;" {{!}} Genre
|image = {{{image<includeonly>|</includeonly>}}}
{{!}} {{{genre}}}
|caption = {{{caption<includeonly>|</includeonly>}}}
<noinclude>
|captionstyle = font-size:smaller;
|}

<div class="messagebox standard-talk">Please see [[Template:Infobox animanga]] for usage instructions and notes.</div>
|headerstyle = background:#DDF; font-weight:normal;
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]

[[id:Templat:Kotakinfo animanga/Atasan]]
|header1 = {{
[[is:Snið:Infobox animanga/Haus]]
#if: {{{ja_kanji<includeonly>|</includeonly>}}} | {{lang|ja|{{{ja_kanji}}}}}{{
[[ja:Template:Infobox animanga/Header]]
#if: {{{ja_romaji<includeonly>|</includeonly>}}} | <br /><span style="font-size:smaller;">(''{{{ja_romaji}}}'')</span>
[[tr:Şablon:Infobox animanga/Header]]
}}
}}

|label2 = Genre
|data2 = {{{genre<includeonly>|</includeonly>}}}
}}{{
#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]]
}}
}}
}}{{
#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: {{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}}}