Template:Infobox animanga/Print: Difference between revisions
m
80 revisions imported from wikipedia:Template:Infobox_animanga/Print
mNo edit summary |
m (80 revisions imported from wikipedia:Template:Infobox_animanga/Print) |
||
(26 intermediate revisions by 8 users not shown) | |||
Line 2:
|child = {{{child|<includeonly>yes</includeonly>}}}
|bodystyle = border-spacing:2px;
|subheader = {{#switch: {{ lc: {{{type}}} }}▼
▲ #switch: {{ lc: {{{type}}} }}
| novel = Novel
| serial novel =
| novel series = Novel series
| light novel = Light novel
Line 31 ⟶ 29:
|data5 = {{{publisher_en<includeonly>|</includeonly>}}}
|label6 =
|data6 = {{{
|label7 =
|data7 = {{
#switch: {{ lc: {{{type}}} }}
| novel =
Line 44 ⟶ 39:
}}
|
|
#switch: {{ lc: {{{type}}} }}
| novel =
| #default = {{ #if: {{{magazine_en<includeonly>|</includeonly>}}} | ''{{{magazine_en}}}'' }}
}}
|label9 = Demographic
|data9 = {{{demographic<includeonly>|</includeonly>}}}
|label10 = {{
Line 62 ⟶ 60:
#if: {{{published|}}} | {{{published}}} | {{
#if: {{{first<includeonly>|</includeonly>}}} | {{nowrap|{{{first}}}}} – {{
#if: {{{last<includeonly>|</includeonly>}}} | {{nowrap|{{{last}}}}} |
}}
}}
Line 81 ⟶ 79:
#ifeq: {{NAMESPACE}} | {{ns:0}} | {{
#switch: {{ lc: {{{type|manga}}} }}
| manga = [[Category:Manga series]]{{
#
}}
}}
}}{{ <!-- What a hack -->
Line 91 ⟶ 88:
#iferror: {{
#ifexpr: {{{volumes|0}}} <= 1 | {{
#if: {{{last|}}} || {{main other|[[Category:Anime and manga articles using obsolete and incorrect infobox parameters|Volumes]]}}
}}
}}
}}
}}
#ifeq: {{{title}}} | {{PAGENAME}} | [[Category:Anime and manga articles with redundant infobox parameters]]
}}{{
Line 112 ⟶ 109:
| present | (present) = [[Category:Anime and manga articles with redundant infobox parameters]]
}} | {{
#if: {{{published|}}} || {{main other|[[Category:Manga (year of release missing)]]}}
}}
}}{{ <!-- Check for confusion between serial novels and novel series -->
#ifeq: {{ lc: {{{type}}} }} | serial novel | {{
#if: {{{magazine}}} | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters|Magazine]]▼
}}
▲}}{{ <!-- Obsolete parameter check -->
#ifeq: {{{publisher_other|¬}}} | ¬ | | [[Category:Anime and manga articles with obsolete XXX other parameters]]▼
}}{{ <!-- Required parameter check -->
#ifeq: {{{author|¬}}} | ¬ | [[Category:Anime and manga articles with missing
▲ #ifeq: {{{publisher|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
}}{{
#ifeq: {{{
}}{{ <!-- Flag icon check -->▼
▲ | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
▲ #ifeq: {{{
| [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]▼
-->{{#ifeq:{{#invoke:String|find|{{{publisher}}}|Flag of}}|0||[[Category:Anime and manga articles using flag icons]]
}}{{#ifeq:{{#invoke:String|find|{{{publisher_en}}}|Flag of}}|0||[[Category:Anime and manga articles using flag icons]]
▲
}}{{#ifeq:{{#invoke:String|find|{{{magazine_en}}}|Flag of}}|0||[[Category:Anime and manga articles using flag icons]]
}}{{#ifeq:{{#invoke:String|find|{{lc:{{{volumes}}}}}|ongoing}}|0||[[Category:Anime and manga articles using obsolete and incorrect infobox parameters|Ongoing]]
}}<!-- Unknown parameters check
-->{{#invoke:Check for unknown parameters|check
▲ | unknown = [[Category:Anime and manga articles using obsolete and incorrect infobox parameters|_VALUE_{{PAGENAME}}]]
| child
| type | title
| author | illustrator
| publisher | publisher_en | imprint
| magazine | magazine_en
| demographic
| first | last | published
| volumes | volume_list | chapter_list
}}</includeonly><noinclude>
|