Difference between revisions of "Template:Infobox Bug"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - " | languages = Name" to " | languages = Names")
(creating cargo table)
Line 1: Line 1:
{{Infobox 2.0
+
<noinclude>{{#cargo_declare:
 +
_table=bug
 +
|url = String
 +
|name = String
 +
|image = String
 +
|image_url = String
 +
|icon = String
 +
|icon_url = String
 +
|dnm = Boolean
 +
|ac = Boolean
 +
|e_plus = Boolean
 +
|ww = Boolean
 +
|cf = Boolean
 +
|nl = Boolean
 +
|nh = Boolean
 +
|film = Boolean
 +
|hhd = Boolean
 +
|pc = Boolean
 +
}}</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}||{{#cargo_store:
 +
_table=bug
 +
|url = {{canonicalurl:{{PAGENAME}}}}
 +
|name = {{{name|{{PAGENAME}}}}}
 +
|image = {{{image|}}}
 +
|image_url = {{filepath:{{{image|}}}}}
 +
|icon = {{{icon|}}}
 +
|icon_url = {{filepath:{{{icon|}}}}}
 +
|dnm = {{#incat:Doubutsu no Mori bugs|Yes|No}}
 +
|ac =  {{#incat:Animal Crossing bugs|Yes|No}}
 +
|e_plus =  {{#incat:Doubutsu no Mori e+ bugs|Yes|No}}
 +
|ww =  {{#incat:Wild World bugs|Yes|No}}
 +
|cf =  {{#incat:City Folk bugs|Yes|No}}
 +
|nl =  {{#incat:New Leaf bugs|Yes|No}}
 +
|nh =  {{#incat:New Horizons bugs|Yes|No}}
 +
|film =  {{#incat:Doubutsu no Mori (film) bugs|Yes|No}}
 +
|hhd =  {{#incat:Happy Home Designer bugs|Yes|No}}
 +
|pc =  {{#incat:Pocket Camp bugs|Yes|No}}
 +
}}}}</includeonly>{{Infobox 2.0
 
  | title          = {{{name|Bug}}}
 
  | title          = {{{name|Bug}}}
 
  | primarycolor  = 78 76
 
  | primarycolor  = 78 76

Revision as of 12:39, May 13, 2022

This template defines the table "bug". View table.

Bug
Artwork of
Real-world info
Name: Unknown
Family: Unknown
Main appearances

Other appearances
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown

Template documentation (view)


Usage

{{Infobox Bug
|name               = 
|ja-name            = 
|ko-name            = 
|zh-name            = 
|fr-name            = 
|it-name            = 
|es-name            = 
|de-name            = 
|nl-name            = 
|ru-name            = 
|image              = 
|imagesize          = 
|scientific name    = 
|family             = 
}}

This infobox is for articles about bugs in the series. Many of the parameters are straightforward, but the below ones require special consideration:

  • scientific name is the scientific name of the bug in Latin.
  • family is the family of the bug in Latin.

The appearances are auto-assigned depending on category using Template:Infobox Appearance and PageInCat extension.

Example

Common Butterfly
Artwork of Common Butterfly
Real-world info
Name: Pieris rapae
Family: Pieridae
Main appearances

Other appearances
Names in other languages
 モンシロチョウ
 白粉蝶
 Piéride de la rave
 Mariposa común
 Farfalla comune
 Белянка
 배추흰나비
 白粉蝶
 Piéride de la rave
 Mariposa común
 Kohlweißling
 Koolwitje
{{Infobox Bug
|name               = Common Butterfly
|ja-name            = モンシロチョウ
|ko-name            = 배추흰나비
|zh-name            = 白粉蝶
|fr-name            = Piéride de la rave
|it-name            = Farfalla comune
|es-name            = Mariposa común
|de-name            = Kohlweißling
|nl-name            = Koolwitje
|ru-name            = Белянка
|image              = Common Butterfly NH.png
|imagesize          = 200px
|scientific name    = Pieris rapae
|family             = Pieridae
}}