Template:Infobox animanga/Print: Difference between revisions
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: | ||
{{Infobox |
|||
|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 |
||
| novel series = Novel series |
| novel series = Novel series |
||
| light novel = Light novel |
| light novel = Light novel |
||
Line 10: | Line 11: | ||
| #default = Manga |
| #default = Manga |
||
}} |
}} |
||
|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 by |
|||
|label2 = Written by |
|||
| labelstyle = background:#EEF; |
|||
|data2 = {{{author<includeonly>|</includeonly>}}} |
|||
}}{{Infobox/row |
|||
|label3 = Illustrated by |
|||
|data3 = {{ #ifeq: {{{illustrator}}} | {{{author}}} || {{{illustrator<includeonly>|</includeonly>}}} }} |
|||
| labelstyle = background:#EEF; |
|||
| data = {{ #ifeq: {{{illustrator}}} | {{{author}}} || {{{illustrator|}}} }} |
|||
|label4 = Published by |
|||
}}{{Infobox/row |
|||
|data4 = {{{publisher<includeonly>|</includeonly>}}} |
|||
| label = Published by |
|||
| labelstyle = background:#EEF; |
|||
|label5 = English publisher |
|||
|data5 = {{{publisher_en<includeonly>|</includeonly>}}} |
|||
}}{{Infobox/row |
|||
| label = English publisher |
|||
|label6 = Imprint |
|||
| labelstyle = background:#EEF; |
|||
|data6 = {{{imprint<includeonly>|</includeonly>}}} |
|||
}}{{Infobox/row |
|||
|label7 = Magazine |
|||
|data7 = {{ |
|||
| labelstyle = background:#EEF; |
|||
#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}}}}} | |
#if: {{{last<includeonly>|</includeonly>}}} | {{nowrap|{{{last}}}}} | present |
||
}} |
}} |
||
}} |
}} |
||
}} |
}} |
||
}} |
}} |
||
}}{{Infobox/row |
|||
|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 --> |
|||
#if: {{{magazine|}}} | | {{ |
|||
#if: {{{first|}}} | {{ |
|||
#iferror: {{ |
|||
#ifexpr: {{{volumes|0}}} <= 1 | {{ |
|||
#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: {{{ |
#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: {{ |
#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}}} |
Please see Template:Infobox animanga for documentation on the other components of the infobox. |
Manga
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}}} |
{{Infobox animanga/Print | type = manga | title = | author = | illustrator = | publisher = | publisher_en = | demographic = | imprint = | magazine = | magazine_en = | published = (single volume) | first = (multiple volumes) | last = | volumes = | volume_list = }}
Novel
Novel | |
{{{title}}} | |
---|---|
Written by | {{{author}}} |
Illustrated by | {{{illustrator}}} |
Published by | {{{publisher}}} |
English publisher | {{{publisher_en}}} |
Imprint | {{{imprint}}} |
Demographic | {{{demographic}}} |
Published | {{{published}}} |
{{Infobox animanga/Print | type = novel | title = | author = | illustrator = | publisher = | publisher_en = | demographic = | imprint = | published = }}
Novel series
Novel series | |
{{{title}}} | |
---|---|
Written by | {{{author}}} |
Illustrated by | {{{illustrator}}} |
Published by | {{{publisher}}} |
English publisher | {{{publisher_en}}} |
Imprint | {{{imprint}}} |
Demographic | {{{demographic}}} |
Original run | {{{first}}} – {{{last}}} |
Volumes | {{{volumes}}} |
{{Infobox animanga/Print | type = novel series | title = | author = | illustrator = | publisher = | publisher_en = | demographic = | imprint = | first = | last = | volumes = | volume_list = }}
Serial novel
Serial novel | |
{{{title}}} | |
---|---|
Written by | {{{author}}} |
Illustrated by | {{{illustrator}}} |
Published by | {{{publisher}}} |
English publisher | {{{publisher_en}}} |
Imprint | {{{imprint}}} |
Magazine | {{{magazine}}} |
English magazine | {{{magazine_en}}} |
Demographic | {{{demographic}}} |
Published | {{{published}}} |
Volumes | {{{volumes}}} |
{{Infobox animanga/Print | type = serial novel | title = | author = | illustrator = | publisher = | publisher_en = | demographic = | imprint = | magazine = | magazine_en = | published = (single volume) | first = (multiple volumes) | last = | volumes = | volume_list = }}
Light novel
Light novel | |
{{{title}}} | |
---|---|
Written by | {{{author}}} |
Illustrated by | {{{illustrator}}} |
Published by | {{{publisher}}} |
English publisher | {{{publisher_en}}} |
Imprint | {{{imprint}}} |
Magazine | {{{magazine}}} |
English magazine | {{{magazine_en}}} |
Demographic | {{{demographic}}} |
Published | {{{published}}} |
Volumes | {{{volumes}}} |
{{Infobox animanga/Print | type = light novel | title = | author = | illustrator = | publisher = | publisher_en = | demographic = | imprint = | magazine = | magazine_en = | published = (single volume) | first = (multiple volumes) | last = | volumes = | volume_list = }}
Parameter | Explanation |
---|---|
type | Enter one of the following: novel for a single novel, serial novel for a novel series, light novel for a light novel or light novel series, film comic for film comics, mook for a "magazine book", or other. Leave blank for manga. |
title | Title of the work, if different from the name field in header. |
author | Author of the work. |
illustrator | Illustrator of the work, if different from the work's author. |
publisher | Japanese publisher of the work. |
publisher_en | Any English language publishers of the work. See {{English manga publisher}} |
demographic | Target demographic of the work. (ex. Children, Shōjo, Shōnen, Seinen, Josei, Salaryman, or General Interest). This is established by the Japanese magazine in which the work was originally published. |
imprint | Publisher's label or imprint the work was released under |
magazine | Magazine or anthology in which the work was serialized in. |
magazine_en | Any English language magazines or anthologies in which the work was serialized in. See {{English manga magazine}} |
published | If only a single release, use this field instead of first and last. Include full date if available. |
first | Date the first chapter (preferably) or volume of the work was originally published. Include month and year at a minimum. |
last | Date the last chapter (preferably) or volume of the work was originally published. Include month and year at a minimum. Leave empty if ongoing. |
volumes | The number of volumes |
volume_list | Links the number of volumes or chapters to the respective "List of" page. |
bn:টেমপ্লেট:Infobox animanga/Print el:Πρότυπο:Πλαίσιο πληροφοριών ανιμάνγκα/Έντυπα fr:Modèle:Infobox Animation et bande dessinée asiatiques/Livre