Template:Infobox animanga/Print: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(see if this works)
m (80 revisions imported from wikipedia:Template:Infobox_animanga/Print)
 
(42 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox/row
{{Infobox
| data = {{
|child = {{{child|<includeonly>yes</includeonly>}}}
|bodystyle = border-spacing:2px;
#switch: {{ lc: {{{type}}} }}
|subheader = {{#switch: {{ lc: {{{type}}} }}
| novel = Novel
| novel = Novel
| serial novel = <!-- Serial --> Novel
| serial novel = Serial novel
| novel series = Novel series
| novel series = Novel series
| light novel = Light novel
| light novel = Light novel
Line 10: Line 11:
| #default = Manga
| #default = Manga
}}
}}
| datastyle = background:#CCF; font-weight:bold;
|subheaderstyle = background:#CCF; font-weight:bold;

}}{{Infobox/row
|headerstyle = background:#EEF; font-weight:normal;
| data = {{ #if: {{{title|}}} | ''{{{title}}}'' }}

| datastyle = background:#EEF;
|header1 = {{ #if: {{{title<includeonly>|</includeonly>}}} | ''{{{title}}}'' }}
}}{{Infobox/row

| label = Written&nbsp;by
|label2 = Written&nbsp;by
| labelstyle = background:#EEF;
| data = {{{author|}}}
|data2 = {{{author<includeonly>|</includeonly>}}}

}}{{Infobox/row
| label = Illustrated&nbsp;by
|label3 = Illustrated&nbsp;by
|data3 = {{ #ifeq: {{{illustrator}}} | {{{author}}} || {{{illustrator<includeonly>|</includeonly>}}} }}
| labelstyle = background:#EEF;

| data = {{ #ifeq: {{{illustrator}}} | {{{author}}} || {{{illustrator|}}} }}
|label4 = Published&nbsp;by
}}{{Infobox/row
|data4 = {{{publisher<includeonly>|</includeonly>}}}
| label = Published&nbsp;by

| labelstyle = background:#EEF;
| data = {{{publisher|}}}
|label5 = English publisher
|data5 = {{{publisher_en<includeonly>|</includeonly>}}}
}}{{Infobox/row

| label = English publisher
|label6 = Imprint
| labelstyle = background:#EEF;
| data = {{{publisher_en|}}}
|data6 = {{{imprint<includeonly>|</includeonly>}}}

}}{{Infobox/row
| label = Demographic
|label7 = Magazine
|data7 = {{
| labelstyle = background:#EEF;
| data = {{{demographic|}}}
#switch: {{ lc: {{{type}}} }}
| novel =
}}{{Infobox/row
| #default = {{ #if: {{{magazine<includeonly>|</includeonly>}}} | ''{{{magazine}}}'' }}
| label = Imprint
| labelstyle = background:#EEF;
| data = {{{label|{{{imprint|}}}}}}
}}{{
#switch: {{ lc: {{{type}}} }}
| novel =
| #default =
{{Infobox/row
| label = Magazine
| labelstyle = background:#EEF;
| data = {{ #if: {{{magazine|}}} | ''{{{magazine}}}'' }}
}}{{Infobox/row
| label = English magazine
| labelstyle = background:#EEF;
| data = {{ #if: {{{magazine_en|}}} | ''{{{magazine_en|}}}'' }}
}}
}}

}}{{Infobox/row
|label8 = English magazine
| label = {{
|data8 = {{
#switch: {{ lc: {{{type}}} }}
| novel =
| #default = {{ #if: {{{magazine_en<includeonly>|</includeonly>}}} | ''{{{magazine_en}}}'' }}
}}

|label9 = Demographic
|data9 = {{{demographic<includeonly>|</includeonly>}}}

|label10 = {{
#switch: {{ lc: {{{type}}} }}
#switch: {{ lc: {{{type}}} }}
| novel = Published
| novel = Published
| #default = {{ #if: {{{published|}}} | Published | Original run }}
| #default = {{ #if: {{{published|}}} | Published | Original run }}
}}
}}
|data10 = {{
| labelstyle = background:#EEF;
| data = {{
#switch: {{ lc: {{{type}}} }}
#switch: {{ lc: {{{type}}} }}
| novel = {{{published|}}}
| novel = {{{published|}}}
| #default = {{
| #default = {{
#if: {{{published|}}} | {{{published}}} | {{
#if: {{{published|}}} | {{{published}}} | {{
#if: {{{first|}}} | {{nowrap|{{{first}}}}} – {{
#if: {{{first<includeonly>|</includeonly>}}} | {{nowrap|{{{first}}}}} – {{
#if: {{{last|}}} | {{nowrap|{{{last}}}}} | ongoing
#if: {{{last<includeonly>|</includeonly>}}} | {{nowrap|{{{last}}}}} | present
}}
}}
}}
}}
}}
}}
}}
}}

}}{{Infobox/row
| label = Volumes
|label11 = Volumes
|data11 = {{
| labelstyle = background:#EEF;
| data = {{
#switch: {{ lc: {{{type}}} }}
#switch: {{ lc: {{{type}}} }}
| novel =
| novel =
| #default = {{
| #default = {{
#if: {{{volumes|}}} | {{{volumes}}} {{
#if: {{{volumes<includeonly>|</includeonly>}}} | {{{volumes}}} {{
#if: {{{volume_list|}}}{{{chapter_list|}}} | <span class="noprint">([[{{{volume_list|{{{chapter_list}}}}}}|List of volumes]])</span>
#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}} | {{
#ifeq: {{NAMESPACE}} | {{ns:0}} | {{
#switch: {{ lc: {{{type|manga}}} }}
#switch: {{ lc: {{{type|manga}}} }}
| manga = [[Category:Manga series]]
| manga = [[Category:Manga series]]{{
#if: {{{first|}}} | {{ #iferror: {{ #time: "[[Category:"Y "manga]]" | {{{first|}}} }} | [[Category:Anime and manga articles with malformed first and last infobox parameters]] }}
| novel = [[Category:Japanese novels]]
}}
| serial novel = <!-- [[Category:Japanese serial novels]] --> [[Category:Japanese novels]]
}}
| light novel = [[Category:Light novels]]
}}{{ <!-- What a hack -->
}}{{ <!-- What a hack -->
#if: {{{magazine|}}} | | {{
#if: {{{magazine|}}} | | {{
#if: {{{first|}}} | {{
#if: {{{first|}}} | {{
#iferror: {{
#iferror: {{
#ifexpr: {{{volumes|0}}} <= 1 | {{
#ifexpr: {{{volumes|0}}} <= 1 | {{
#if: {{{last|}}} || [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
#if: {{{last|}}} || {{main other|[[Category:Anime and manga articles using obsolete and incorrect infobox parameters|Volumes]]}}
}}
}}
}}
}}
}}
}}
}}
}}
}}{{ <!-- Redundant parameter check -->
#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}}} }}
#ifeq: {{{title}}} | {{PAGENAME}} | [[Category:Anime and manga articles with redundant infobox parameters]]
| ongoing | (ongoing)
}}{{
| on-going | (on-going)
#if: {{{illustrator|}}} | {{
| current | (current)
#ifeq: {{{illustrator}}} | {{{author}}} | [[Category:Anime and manga articles with redundant infobox parameters]]
| present | (present) = [[Category:Anime and manga articles with redundant infobox parameters]]
}}
}}{{
}} | {{
#if: {{{first|}}} | {{
#if: {{{published|}}} || {{main other|[[Category:Manga (year of release missing)]]}}
#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: {{{published|}}} || [[Category:Manga (year of release missing)]]
}}
}}
}}
}}{{ <!-- Check for confusion between serial novels and novel series -->
}}{{ifparadef|{{{publisher_other|¬}}}|[[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]|}}{{ifparadef|{{{magazine_other|¬}}}|[[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]|}}{{ifparadef|{{{author|¬}}}||[[Category:Anime and manga articles with missing infobox parameters]]}}{{ifparadef|{{{publisher|¬}}}||[[Category:Anime and manga articles with missing infobox parameters]]}}{{ifparadef|{{{first|{{{published|¬}}}}}}||[[Category:Anime and manga articles with missing infobox parameters]]}}{{
#ifeq: {{Str find|{{lc:{{{publisher}}}}}|flagicon}} | -1 | | [[Category:Anime and manga articles with redundant infobox parameters]]
#ifeq: {{ lc: {{{type}}} }} | serial novel | {{
#if: {{{magazine}}} | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters|Magazine]]
}}
}}{{ <!-- Required parameter check -->
#ifeq: {{{author|¬}}} | ¬ | [[Category:Anime and manga articles with missing author parameters]]
}}{{
#ifeq: {{{publisher|¬}}} | ¬ | [[Category:Anime and manga articles with missing publisher parameters]]
}}{{
#ifeq: {{{first|{{{published|¬}}}}}} | ¬ | [[Category:Anime and manga articles with missing publication parameters]]
}}<!-- Flag icon check
-->{{#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}}}|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>
}}</includeonly><noinclude>

{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 19:32, 24 January 2022

Manga
{{{title}}}
Written by{{{author}}}
Illustrated by{{{illustrator}}}
Published by{{{publisher}}}
English publisher{{{publisher_en}}}
Imprint{{{imprint}}}
Magazine{{{magazine}}}
English magazine{{{magazine_en}}}
Demographic{{{demographic}}}
Original run{{{first}}}{{{last}}}
Volumes{{{volumes}}} (List of volumes)