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) |
||
(30 intermediate revisions by 9 users not shown) | |||
Line 1:
|bodystyle = border-spacing:2px;
|subheader = {{#switch: {{ lc: {{{type}}} }}
| novel = Novel
| serial novel =
| novel series = Novel series
| light novel = Light novel
Line 10 ⟶ 11:
| #default = Manga
}}
|headerstyle = background:#EEF; font-weight:normal;
|header1 = {{ #if: {{{title<includeonly>|</includeonly>}}} | ''{{{title}}}'' }}
|label2 = Written by
|data3 = {{ #ifeq: {{{illustrator}}} | {{{author}}} || {{{illustrator<includeonly>|</includeonly>}}} }}
|label4 = Published by
|data4 = {{{publisher<includeonly>|</includeonly>}}}
|data5 = {{{publisher_en<includeonly>|</includeonly>}}}
|label6 = Imprint
|data7 = {{
| 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}}}}} |
}}
}}
}}
}}
|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}}} }}
| manga = [[Category:Manga series]]{{
#if: {{{first|}}} | {{ #iferror: {{ #time: "[[Category:"Y "manga]]" | {{{first|}}} }} | [[Category:Anime and manga articles with malformed first and last infobox parameters]] }}
}}
}}
}}
}}
}}
}}
}}{{ <!--
#ifeq: {{{
}}{{
#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: {{{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: {{{
}}{{
#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>
{{Documentation}}
</noinclude>
|