Difference between revisions of "Template:Infobox animanga/Print/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(copy of current template)
imported>Paine Ellsworth
(test)
 
Line 35: Line 35:
  
 
|label7  = Imprint
 
|label7  = Imprint
|data7    = {{{label|{{{imprint<includeonly>|</includeonly>}}}}}}
+
|data7    = {{{imprint<includeonly>|</includeonly>}}}
  
 
|label8  = Magazine
 
|label8  = Magazine
Line 62: Line 62:
 
       #if: {{{published|}}} | {{{published}}} | {{
 
       #if: {{{published|}}} | {{{published}}} | {{
 
         #if: {{{first<includeonly>|</includeonly>}}} | {{nowrap|{{{first}}}}} – {{
 
         #if: {{{first<includeonly>|</includeonly>}}} | {{nowrap|{{{first}}}}} – {{
           #if: {{{last<includeonly>|</includeonly>}}} | {{nowrap|{{{last}}}}} | ongoing
+
           #if: {{{last<includeonly>|</includeonly>}}} | {{nowrap|{{{last}}}}} | present
 
         }}
 
         }}
 
       }}
 
       }}
Line 90: Line 90:
 
       #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|}}} || [[Category:Anime and manga articles using obsolete and incorrect infobox parameters|Volumes]]
 
         }}
 
         }}
 
       }}
 
       }}
Line 115: Line 115:
 
}}{{ <!-- Check for confusion between serial novels and novel series -->
 
}}{{ <!-- Check for confusion between serial novels and novel series -->
 
   #ifeq: {{ lc: {{{type}}} }} | serial novel | {{
 
   #ifeq: {{ lc: {{{type}}} }} | serial novel | {{
     #if: {{{magazine}}} | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
+
     #if: {{{magazine}}} | | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters|Magazine]]
 
   }}
 
   }}
}}{{ <!-- Obsolete parameter check -->
 
  #ifeq: {{{publisher_other|¬}}} | ¬ | | [[Category:Anime and manga articles with obsolete XXX other parameters]]
 
}}{{
 
  #ifeq: {{{magazine_other|¬}}} | ¬ | | [[Category:Anime and manga articles with obsolete XXX other parameters]]|
 
 
}}{{ <!-- Required parameter check -->
 
}}{{ <!-- Required parameter check -->
   #ifeq: {{{author|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
+
   #ifeq: {{{author|¬}}} | ¬ | [[Category:Anime and manga articles with missing author parameters]]
 
}}{{
 
}}{{
   #ifeq: {{{publisher|¬}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
+
   #ifeq: {{{publisher|¬}}} | ¬ | [[Category:Anime and manga articles with missing publisher parameters]]
 
}}{{
 
}}{{
   #ifeq: {{{first|{{{published|¬}}}}}} | ¬ | [[Category:Anime and manga articles with missing infobox parameters]]
+
   #ifeq: {{{first|{{{published|¬}}}}}} | ¬ | [[Category:Anime and manga articles with missing publication parameters]]
 
}}{{ <!-- Flag icon check -->
 
}}{{ <!-- Flag icon check -->
 
   #ifeq: {{Str find long|{{{publisher}}}|Flag of}} | -1 |
 
   #ifeq: {{Str find long|{{{publisher}}}|Flag of}} | -1 |
   | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
+
   | [[Category:Anime and manga articles using flag icons]]
 +
}}{{
 +
  #ifeq: {{Str find long|{{{publisher_en}}}|Flag of}} | -1 |
 +
  | [[Category:Anime and manga articles using flag icons]]
 
}}{{
 
}}{{
 
   #ifeq: {{Str find long|{{{magazine}}}|Flag of}} | -1 |
 
   #ifeq: {{Str find long|{{{magazine}}}|Flag of}} | -1 |
   | [[Category:Anime and manga articles using obsolete and incorrect infobox parameters]]
+
   | [[Category:Anime and manga articles using flag icons]]
 +
}}{{
 +
  #ifeq: {{Str find long|{{{magazine_en}}}|Flag of}} | -1 |
 +
  | [[Category:Anime and manga articles using flag icons]]
 +
}}{{
 +
  #ifeq: {{Str find long|{{lc:{{{volumes}}}}}|ongoing}} | -1 | | [[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 12:16, 14 May 2020

Manga
{{{title}}}
Written by{{{author}}}
Illustrated by{{{illustrator}}}
Published by{{{publisher}}}
English publisher{{{publisher_en}}}
Demographic{{{demographic}}}
Imprint{{{imprint}}}
Magazine{{{magazine}}}
English magazine{{{magazine_en}}}
Original run{{{first}}}{{{last}}}
Volumes{{{volumes}}} (List of volumes)
Template documentation[view] [edit] [history] [purge]

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}}} (List of volumes)
{{Infobox animanga/Print
| type            = manga
| title           = 
| author          = 
| illustrator     = 
| supervisor      =
| 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}}} (List of 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}}} (List of 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}}} (List of 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. Only insert the last date after it has been published. Leave empty if the work is ongoing.
volumes The number of volumes
volume_list Links the number of volumes or chapters to the respective "List of" page.

Tracking categories