Template:Infobox animanga/Print: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(←Created page with '<includeonly><tr><th colspan="2" style="background: #CCF; text-align: center;">{{ #switch: {{ lc: {{{type|manga}}} }} | manga = Manga | novel = …') |
m (80 revisions imported from wikipedia:Template:Infobox_animanga/Print) |
||
(79 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox |
|||
<includeonly><tr><th colspan="2" style="background: #CCF; text-align: center;">{{ |
|||
|child = {{{child|<includeonly>yes</includeonly>}}} |
|||
#switch: {{ lc: {{{type|manga}}} }} |
|||
|bodystyle = border-spacing:2px; |
|||
|subheader = {{#switch: {{ lc: {{{type}}} }} |
|||
| novel = Novel |
|||
| novel = Novel |
|||
| serial novel = Serial novel |
|||
}}</th></tr>{{ |
|||
| novel series = Novel series |
|||
#if: {{{title|}}} | <tr><td colspan="2" style="background: #EEF; text-align: center;">''{{{title}}}''</td></tr> |
|||
| light novel = Light novel |
|||
}}{{ |
|||
| film comic = Film comic |
|||
#if: {{{author|}}} | <tr><th style="background: #EEF;">Author</th><td>{{{author}}} |
|||
| other = Other book |
|||
}} {{ |
|||
| #default = Manga |
|||
#if: {{{illustrator|}}} | <tr><th style="background: #EEF;">Illustrator</th><td>{{{illustrator}}}</td></tr> |
|||
}}{{ |
|||
#if: {{{publisher|}}} | <tr><th style="background: #EEF;">Publisher</th><td>{{{publisher}}}</td></tr> |
|||
}}{{ |
|||
#if: {{{publisher_other|}}} | <tr><td colspan="2" style="padding: 0;"> |
|||
<table class="collapsible collapsed" style="background: transparent; width: 100%;" cellspacing="0"> |
|||
<tr><th style="background: #EEF">Other publishers:</th></tr> |
|||
<tr><td style="background: transparent;">{{{publisher_en}}}<br>{{{publisher_other}}}</td></tr> |
|||
</table> |
|||
</td></tr> |
|||
}}{{ |
|||
#switch: {{ lc: {{{type|manga}}} }} |
|||
| manga | serial novel = {{ |
|||
#if: {{{demographic|}}} | <tr><th style="background: #EEF;">Demographic</th><td>{{{demographic}}}</td></tr> |
|||
}}{{ |
|||
#if: {{{magazine|}}} | <tr><th style="background: #EEF;">Magazine</th><td>''{{{magazine}}}''</td></tr> |
|||
}}{{ |
|||
#if: {{{magazine_en|}}}{{{magazine_other|}}} | <tr><td colspan="2" style="padding: 0;"> |
|||
<table class="collapsible collapsed" style="background: transparent; width: 100%;" cellspacing="0"> |
|||
<tr><th style="background: #EEF">Other magazines:</th></tr> |
|||
<tr><td style="background: transparent;">''{{{magazine_en}}}''<br> |
|||
''{{{magazine_other}}}''</td></tr> |
|||
</table> |
|||
</td></tr> |
|||
}} |
}} |
||
|subheaderstyle = background:#CCF; font-weight:bold; |
|||
}}{{ |
|||
#if: {{{published|}}} |
|||
|headerstyle = background:#EEF; font-weight:normal; |
|||
| {{ |
|||
|header1 = {{ #if: {{{title<includeonly>|</includeonly>}}} | ''{{{title}}}'' }} |
|||
|label2 = Written by |
|||
|data2 = {{{author<includeonly>|</includeonly>}}} |
|||
|label3 = Illustrated by |
|||
|data3 = {{ #ifeq: {{{illustrator}}} | {{{author}}} || {{{illustrator<includeonly>|</includeonly>}}} }} |
|||
|label4 = Published by |
|||
|data4 = {{{publisher<includeonly>|</includeonly>}}} |
|||
|label5 = English publisher |
|||
|data5 = {{{publisher_en<includeonly>|</includeonly>}}} |
|||
|label6 = Imprint |
|||
|data6 = {{{imprint<includeonly>|</includeonly>}}} |
|||
|label7 = Magazine |
|||
|data7 = {{ |
|||
#switch: {{ lc: {{{type}}} }} |
|||
| novel = |
|||
| #default = {{ #if: {{{magazine<includeonly>|</includeonly>}}} | ''{{{magazine}}}'' }} |
|||
}} |
|||
|label8 = English magazine |
|||
|data8 = {{ |
|||
#switch: {{ lc: {{{type}}} }} |
|||
| novel = |
|||
| #default = {{ #if: {{{magazine_en<includeonly>|</includeonly>}}} | ''{{{magazine_en}}}'' }} |
|||
}} |
|||
|label9 = Demographic |
|||
|data9 = {{{demographic<includeonly>|</includeonly>}}} |
|||
|label10 = {{ |
|||
#switch: {{ lc: {{{type}}} }} |
|||
| novel = Published |
|||
| #default = {{ #if: {{{published|}}} | Published | Original run }} |
|||
}} |
|||
|data10 = {{ |
|||
#switch: {{ lc: {{{type}}} }} |
|||
| novel = {{{published|}}} |
|||
| #default = {{ |
|||
#if: {{{published|}}} | {{{published}}} | {{ |
|||
#if: {{{first<includeonly>|</includeonly>}}} | {{nowrap|{{{first}}}}} – {{ |
|||
#if: {{{last<includeonly>|</includeonly>}}} | {{nowrap|{{{last}}}}} | present |
|||
}} |
|||
}} |
|||
}} |
|||
}} |
|||
|label11 = Volumes |
|||
|data11 = {{ |
|||
#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}}} }} |
#switch: {{ lc: {{{type|manga}}} }} |
||
| manga |
| manga = [[Category:Manga series]]{{ |
||
#if: {{{first|}}} | |
#if: {{{first|}}} | {{ #iferror: {{ #time: "[[Category:"Y "manga]]" | {{{first|}}} }} | [[Category:Anime and manga articles with malformed first and last infobox parameters]] }} |
||
#if: {{{last|}}} | {{nowrap|{{{last}}}}} | ongoing |
|||
}}</td></tr> |
|||
}} |
}} |
||
}} |
}} |
||
}}{{ <!-- 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]] |
|||
| manga | serial novel = {{ |
|||
#if: {{{volumes|}}} | <tr><th style="background: #EEF;">[[tankōbon|Volumes]]</th><td>{{{volumes}}}</td></tr> |
|||
}}{{ |
|||
#if: {{{volume_list|}}}{{{chapter_list|}}} | <tr><td colspan="2" style="text-align: center; background: #EEF;">{{{volume_list|{{{chapter_list}}}}}}</td></tr> |
|||
}} |
}} |
||
}}{{ |
}}{{ |
||
# |
#if: {{{first|}}} | {{ |
||
#ifeq: {{{first}}} | {{{last}}} | [[Category:Anime and manga articles with identical first and last infobox parameters]] |
|||
#switch: {{ lc: {{{type|manga}}} }} |
|||
}}{{ |
|||
| manga = [[Category:Manga series]] |
|||
#switch: {{ lc: {{{last}}} }} |
|||
| serial novel = <!-- [[Category:Serial novels]] --> |
|||
| ongoing | (ongoing) |
|||
| novel = [[Category:Japanese novels]] |
|||
| on-going | (on-going) |
|||
| current | (current) |
|||
| 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]] |
|||
}} |
|||
}}{{ <!-- 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