Difference between revisions of "Template:Infobox Fish"

From Nookipedia, the Animal Crossing wiki
(Removing legacy API spans)
(Template will now add pages to an administrative category. This functionality will be removed once all critter articles have properly implemented the Blathers template.)
Line 58: Line 58:
 
  | nl-name        = {{{nl-name|}}}
 
  | nl-name        = {{{nl-name|}}}
 
  | ru-name        = {{{ru-name|}}}
 
  | ru-name        = {{{ru-name|}}}
}}<includeonly>{{#ifeq:{{NAMESPACE}}||{{#if:{{{ja-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:Critters with missing other language information]]}} {{#if:{{{appearances|}}}{{{appearance|}}}| [[Category:Pages with an outdated infobox critter template]]}}}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox templates]][[Category:Project Museum]]</noinclude>
+
}}<includeonly>{{#ifeq:{{NAMESPACE}}||{{#if:{{{ja-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:Critters with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:Critters with missing other language information]]}} {{#if:{{{appearances|}}}{{{appearance|}}}| [[Category:Pages with an outdated infobox critter template]]}}}} {{#incat:Articles with Blathers template implementation||[[Category:Articles requiring Blathers template]]}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox templates]][[Category:Project Museum]]</noinclude>

Revision as of 14:01, September 8, 2021

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

Nia.png
Real-world info
Name: Unknown
Family: Unknown
Main appearances

Other appearances
Name in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown

Template documentation (view)


Usage

{{Infobox Fish
|name               = 
|ja-name            = 
|ko-name            = 
|zh-name            = 
|fr-name            = 
|it-name            = 
|es-name            = 
|de-name            = 
|nl-name            = 
|ru-name            = 
|image              = 
|imagesize          = 
|scientific name    = 
|family             = 
|timeyear           = 
|timeday            = 
|found              = 
|size               = 
|shadow             = 
|rarity             = 
|price              = 
}}

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

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

The following parameters should not be removed because it still using in API, even if information moved to separate info templates:

  • timeyear is the months that the fish is available.
  • timeday is the time of the day that the fish is available.
  • found is the where the fish can be found.
  • size is the size of the fish (legacy games).
  • shadow is the shadow size of the fish.
  • rarity is the rarity of the fish.
  • price is the sell price of the fish.

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

Example

Sea Bass NH.png
Real-world info
Name: Lateolabrax japonicus
Family: Lateolabracidae
Main appearances

Other appearances
Name in other languages
 スズキ
 농어
 Spigola
 Seebarsch
 鲈鱼
 Bar commun
 Lubina
 Zeebaars
 鲈鱼
 Bar commun
 Lubina
 Морской судак
{{Infobox Fish
|name               = Sea Bass
|ja-name            = スズキ
|ko-name            = 농어
|zh-name            = 鲈鱼
|fr-name            = Bar commun
|it-name            = Spigola
|es-name            = Lubina
|de-name            = Seebarsch
|nl-name            = Zeebaars
|ru-name            = Морской судак
|image              = Sea Bass NH.png
|imagesize          = 200px
|scientific name    = Lateolabrax japonicus
|family             = Lateolabracidae
|timeyear           = Mid-September to Mid-August (''Animal Crossing'')<br> All year (other games)
|timeday            = All day
|found              = [[Sea]]
|size               = 0.99 m
|shadow             = Large <small>({{PG|nolink}})</small> <br> Very large <small>({{WW|short|nolink}}, {{CF|short|nolink}}, {{NL|short|nolink}}, {{NH|short|nolink}})</small>
|rarity             = Common
|price              = 120 Bells <small>(''Animal Crossing'')</small><br>160 Bells <small>({{WW|short|nolink}})</small><br>140 Bells <small>(PAL {{WW|short|nolink}})</small><br>200 Bells <small>({{CF|short|nolink}}, {{NL|short|nolink}}, {{aF|short|nolink}})</small><br>400 Bells <small>({{NH|short|nolink}})</small>
}}