Anonymous user
Template:Infobox animanga/Print: Difference between revisions
copy new code from sandbox
mNo edit summary |
(copy new code from sandbox) |
||
Line 1:
|bodystyle = border-spacing:2px;
|subheader = {{
#switch: {{ lc: {{{type}}} }}
| novel = Novel
Line 10 ⟶ 13:
| #default = Manga
}}
|headerstyle = background:#EEF; font-weight:normal;
|labelstyle
|header1 = {{ #if: {{{title<includeonly>|</includeonly>}}} | ''{{{title}}}'' }}
|label2 = Written by
|data2 = {{{author<includeonly>|</includeonly>}}}
|label3 = Illustrated by
|data4 = {{{publisher<includeonly>|</includeonly>}}}
|label5 = English publisher
|data5 = {{{publisher_en<includeonly>|</includeonly>}}}
|label6 = Demographic
|data6 = {{{demographic<includeonly>|</includeonly>}}}
|label6 = Imprint
|data6 = {{{label|{{{imprint<includeonly>|</includeonly>}}}}}}
|data7 = {{
| novel =
| #default = {{ #if: {{{magazine<includeonly>|</includeonly>}}} | ''{{{magazine}}}'' }}
}}
|label8 = English magazine
#switch: {{ lc: {{{type}}} }}
| novel =
| #default = {{ #if: {{{magazine_en<includeonly>|</includeonly>}}} | ''{{{magazine_en}}}'' }}
}}
#switch: {{ lc: {{{type}}} }}
| novel = Published
| #default = {{ #if: {{{published|}}} | Published | Original run }}
}}
|data9 = {{
#switch: {{ lc: {{{type}}} }}
| novel = {{{published|}}}
| #default = {{
#if: {{{published|}}} | {{{published}}} | {{
#if: {{{first<includeonly>|</includeonly>}}} | {{nowrap|{{{first}}}}} – {{
#if: {{{last<includeonly>|</includeonly>}}} | {{nowrap|{{{last}}}}} | ongoing
}}
}}
}}
}}
|data10 = {{
#switch: {{ lc: {{{type}}} }}
| novel =
| #default = {{
#if: {{{volumes<includeonly>|</includeonly>}}} | {{{volumes}}} {{
#if: {{{volume_list<includeonly>|</includeonly>}}}{{{chapter_list|}}} | <span class="noprint">([[{{{volume_list|{{{chapter_list<noinclude>|List of volumes</noinclude>}}}}}}|List of volumes]])</span>
}}
}}
}}
}}<includeonly>{{
#ifeq: {{NAMESPACE}} | {{ns:0}} | {{
#switch: {{ lc: {{{type|manga}}} }}
Line 88 ⟶ 86:
| serial novel = <!-- [[Category:Japanese serial novels]] --> [[Category:Japanese novels]]
| light novel = [[Category:Light novels]]
}}
}}{{ <!-- What a hack -->
#if: {{{first|}}}
#ifexpr: {{{volumes|0}}} <= 1 | {{
#if: {{{last|}}} || [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}
}}
}}
}}
}}{{
#ifeq: {{{title}}} | {{PAGENAME}} | [[Category:Anime and manga articles with redundant infobox parameters]]
}}{{
#if: {{{illustrator|}}} | {{
#ifeq: {{{illustrator}}} | {{{author}}} | [[Category:Anime and manga articles with redundant infobox parameters]]
}}
}}{{
#if: {{{first|}}} | {{
#ifeq: {{{first}}} | {{{last}}} | [[Category:Anime and manga articles with identical first and last infobox parameters]]
}}{{
#switch: {{ lc: {{{last}}} }}
| ongoing | (ongoing)
| on-going | (on-going)
| current | (current)
| present | (present) = [[Category:Anime and manga articles with redundant infobox parameters]]
}} | {{
#if: {{{
}}
}}{{ <!-- Obsolete parameter check -->
Line 128 ⟶ 126:
#ifeq: {{{first|{{{published|¬}}}}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
}}{{ <!-- Flag icon check -->
#ifeq: {{Str find long|{{{publisher}}}|Flag of}} | -1 |
| [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}{{
#ifeq: {{Str find long|{{{magazine}}}|Flag of}} | -1 |
| [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
|