Difference between revisions of "Template:Infobox Sea Creature"
From Nookipedia, the Animal Crossing wiki
(Removing legacy API spans) |
Dorsal Axe (talk | contribs) (Switching to CSS colour class) |
||
(14 intermediate revisions by 6 users not shown) | |||
Line 5: | Line 5: | ||
|image = String | |image = String | ||
|image_url = String | |image_url = String | ||
+ | |icon = String | ||
+ | |icon_url = String | ||
+ | |sea_sort = Integer | ||
|nl = Boolean | |nl = Boolean | ||
|nh = Boolean | |nh = Boolean | ||
Line 13: | Line 16: | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
|image_url = {{filepath:{{{image|}}}}} | |image_url = {{filepath:{{{image|}}}}} | ||
+ | |icon = {{{icon|}}} | ||
+ | |icon_url = {{filepath:{{{icon|}}}}} | ||
+ | |sea_sort = {{#incat:New Leaf sea creatures|1|{{#incat:New Horizons sea creatures|2}}}} | ||
|nl = {{#incat:New Leaf sea creatures|Yes|No}} | |nl = {{#incat:New Leaf sea creatures|Yes|No}} | ||
+ | |hhd = {{#incat:Happy Home Designer sea creatures|Yes|No}} | ||
|nh = {{#incat:New Horizons sea creatures|Yes|No}} | |nh = {{#incat:New Horizons sea creatures|Yes|No}} | ||
}}<!-- Cargo Store for former fishes --> {{#incat:Removed fish| | }}<!-- Cargo Store for former fishes --> {{#incat:Removed fish| | ||
Line 19: | Line 26: | ||
_table=fish | _table=fish | ||
|url = {{canonicalurl:{{PAGENAME}}}} | |url = {{canonicalurl:{{PAGENAME}}}} | ||
− | |name = {{{name|{{PAGENAME}}}}} | + | |name = {{{fish-name|{{{name|{{PAGENAME}}}}}}}} |
− | |image = {{{image|}}} | + | |image = {{{fish-image|}}} |
− | |image_url = {{filepath:{{{image|}}}}} | + | |image_url = {{filepath:{{{fish-image|}}}}} |
+ | |icon = {{{fish-icon|}}} | ||
+ | |icon_url = {{filepath:{{{fish-icon|}}}}} | ||
+ | |fish_sort = {{#incat:Doubutsu no Mori fish|1|{{#incat:Animal Crossing fish|2|{{#incat:Doubutsu no Mori e+ fish|3|{{#incat:Wild World fish|4|{{#incat:City Folk fish|5}}}}}}}}}} | ||
+ | |sea_creature = Yes | ||
|dnm = {{#incat:Doubutsu no Mori fish|Yes|No}} | |dnm = {{#incat:Doubutsu no Mori fish|Yes|No}} | ||
|ac = {{#incat:Animal Crossing fish|Yes|No}} | |ac = {{#incat:Animal Crossing fish|Yes|No}} | ||
Line 32: | Line 43: | ||
|film = No | |film = No | ||
|hhd = No | |hhd = No | ||
− | }} | }} }}</includeonly>{{Infobox 2.0 | + | }} | }} }}{{#incat:Removed sea creatures|<metakeywords>sea creature,deep sea creature,critter,animal crossing, acnl, new leaf</metakeywords>|<metakeywords>sea creature,deep sea creature,critter,animal crossing, acnh, new horizons</metakeywords>}}{{#seo:|image={{{image|}}}}}</includeonly>{{Infobox 2.0 |
− | | title | + | | colorclass = color-seacreature |
− | | primarycolor | + | | title = {{#invoke:SentenceCase|main|{{{name|Sea Creature}}}}} |
+ | | primarycolor = 215 100 | ||
+ | | lefticon = {{#if:{{{icon|}}}|[[File:{{{icon|}}}|sub|32px|link=|class=sprite]]}} | ||
+ | | righticon = {{#if:{{{icon|}}}| }} | ||
− | | image | + | | image = [[File:{{{image|Nia.png}}}|{{{imagesize|150px}}}|alt=Artwork of {{{name|}}}]] |
− | | subtitlebelow | + | | subtitlebelow = gallery |
− | | widelabel | + | | widelabel = Real-world info |
− | | widedata | + | | widedata = Name: ''{{{scientific name|Unknown}}}''<br>Family: ''{{{family|Unknown}}}'' |
− | | appearances = sea creatures | + | | appearances = sea creatures |
− | | customcat-eplus= {{#if:{{{customcat-eplus|}}}|{{{customcat-eplus}}}|sea creatures}} | + | | customcat-dnm+ = {{#if:{{{customcat-dnm+|}}}|{{{customcat-dnm+}}}|sea creatures}} |
− | | customcat-ww | + | | customcat-pg = {{#if:{{{customcat-pg|}}}|{{{customcat-pg}}}|sea creatures}} |
− | | customcat-cf | + | | customcat-eplus = {{#if:{{{customcat-eplus|}}}|{{{customcat-eplus}}}|sea creatures}} |
− | | o-appearances | + | | customcat-ww = {{#if:{{{customcat-ww|}}}|{{{customcat-ww}}}|sea creatures}} |
− | | customcat-pc | + | | customcat-cf = {{#if:{{{customcat-cf|}}}|{{{customcat-cf}}}|sea creatures}} |
+ | | o-appearances = sea creatures | ||
+ | | customcat-pc = {{#if:{{{customcat-pc|}}}|{{{customcat-pc}}}|sea creatures}} | ||
− | | languages | + | | languages = Names |
− | | ja-name | + | | ja-name = {{{ja-name|}}} |
− | | ko-name | + | | ko-name = {{{ko-name|}}} |
− | | zh-name | + | | zh-name = {{{zh-name|}}} |
− | | zht-name | + | | zht-name = {{{zht-name|{{{zh-name|}}}}}} |
− | | fr-name | + | | fr-name = {{{fr-name||}}} |
− | | frq-name | + | | frq-name = {{{frq-name|{{{fr-name||}}}}}} |
− | | es-name | + | | es-name = {{{es-name|}}} |
− | | esl-name | + | | esl-name = {{{esl-name|{{{es-name|}}}}}} |
− | | it-name | + | | it-name = {{{it-name|}}} |
− | | de-name | + | | de-name = {{{de-name|}}} |
− | | nl-name | + | | nl-name = {{{nl-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|}}}| [[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:{{{icon|}}}||[[Category:Pages missing critter icon in infobox]]}} {{#if:{{{appearances|}}}| [[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> |
Latest revision as of 18:48, May 17, 2024
This template defines the table "sea_creature". View table.
Template documentation (view)
Usage
{{Infobox Sea Creature |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 = |movement = |shadow = |rarity = |price = }}
This infobox is for articles about sea creatures in the series. Many of the parameters are straightforward, but the below ones require special consideration:
scientific name
is the scientific name of the sea creature in Latin.family
is the family of the sea creature 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 sea creature is available.timeday
is the time of the day that the sea creature is available.found
is the where the sea creature can be found.size
is the size of the sea creature (legacy games).shadow
is the shadow size of the sea creature.movement
is the movement speed of the sea creature.rarity
is the rarity of the sea creature.price
is the sell price of the sea creature.
The appearances are auto-assigned depending on category using Template:Infobox Appearance and PageInCat extension.
Example
| ||||||
Real-world info | ||||||
---|---|---|---|---|---|---|
Name: Unknown Family: Pectinidae | ||||||
Main appearances | ||||||
| ||||||
Other appearances | ||||||
Names in other languages
ホタテ
虾夷扇贝 Pétoncle Vieira Capasanta Гребешок
가리비 虾夷扇贝 Pétoncle Vieira Kammmuschel Mantelschelp |
{{Infobox Sea Creature |name = Scallop |ja-name = ホタテ |ko-name = 가리비 |zh-name = 虾夷扇贝 |fr-name = Pétoncle |it-name = Capasanta |es-name = Vieira |de-name = Kammmuschel |nl-name = Mantelschelp |ru-name = Гребешок |image = Scallop NH.png |imagesize = 200px |family = Pectinidae |timeyear = All year |timeday = All day |found = [[Sea]] and [[Tortimer Island|Island]] |size = 14 cm |shadow = Medium |movement = Erratic |rarity = Uncommon |price = 1,000 [[Bells]] }}