Difference between revisions of "Template:Infobox Fossil"

From Nookipedia, the Animal Crossing wiki
m (Increasing image size)
m (& minor tweaks and hopefully fix page alignment)
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| primarycolor  = 43 74
 
| primarycolor  = 43 74
 
| title          = {{{name|{{PAGENAME}}}}}
 
| title          = {{{name|{{PAGENAME}}}}}
 
 
| image          = [[File:{{{image|Nia.png}}}|{{{imagesize|250px}}}]]
 
| image          = [[File:{{{image|Nia.png}}}|{{{imagesize|250px}}}]]
 
+
| caption        = {{{caption|}}}
 
| widelabel      = Scientific name
 
| widelabel      = Scientific name
 
| widedata      = ''{{{scientific name|Unknown}}}''
 
| widedata      = ''{{{scientific name|Unknown}}}''
 
 
| label          = Sections
 
| label          = Sections
 
| data          = {{{sections|}}}
 
| data          = {{{sections|}}}
Line 16: Line 14:
 
| label4        = Selling price
 
| label4        = Selling price
 
| data4          = {{{price|}}}
 
| data4          = {{{price|}}}
 
 
| appearances    = fossils
 
| appearances    = fossils
 
+
| languages      = Name
| languages      = Name
+
| ja-name        = {{{ja-name|}}}
| ja-name        = {{{ja-name|}}}
+
| ko-name        = {{{ko-name|}}}
| ko-name        = {{{ko-name|}}}
+
| zh-name        = {{{zh-name|}}}
| zh-name        = {{{zh-name|}}}
+
| zht-name      = {{{zht-name|{{{zh-name|}}}}}}
| zht-name      = {{{zht-name|{{{zh-name|}}}}}}
+
| fr-name        = {{{fr-name||}}}
| fr-name        = {{{fr-name||}}}
+
| frq-name      = {{{frq-name|{{{fr-name||}}}}}}
| frq-name      = {{{frq-name|{{{fr-name||}}}}}}
+
| es-name        = {{{es-name|}}}
| es-name        = {{{es-name|}}}
+
| esl-name      = {{{esl-name|{{{es-name|}}}}}}
| esl-name      = {{{esl-name|{{{es-name|}}}}}}
+
| it-name        = {{{it-name|}}}
| it-name        = {{{it-name|}}}
+
| de-name        = {{{de-name|}}}
| de-name        = {{{de-name|}}}
+
| nl-name        = {{{nl-name|}}}
| nl-name        = {{{nl-name|}}}
+
| ru-name        = {{{ru-name|}}}
| ru-name        = {{{ru-name|}}}
+
}}<includeonly>{{#ifeq:{{NAMESPACE}}||{{#if:{{{ja-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:Fossils with missing other language information]]}} {{#if:{{{appearances|}}}| [[Category:Pages with an outdated infobox fossil template]]}}}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox templates]][[Category:Project Museum]]</noinclude>
}}
 
<includeonly>
 
{| style="display:none;"
 
|-
 
|<span id="api-fossil_name" style="display:none;">{{{name|Unknown}}}</span><span id="api-fossil_image" style="display:none;">{{filepath:{{{image|Nia.png}}}|{{{imagesize|200px}}}}}</span><span id="api-fossil_scientific-name" style="display:none;">{{{scientific name|Unknown}}}</span><span id="api-fossil_sections" style="display:none;">{{#incat:Standalone fossils|N/A|{{{sections|Unknown}}}}}</span><span id="api-fossil_period" style="display:none;">{{#incat:Standalone fossils|N/A|{{{period|Unknown}}}}}</span><span id="api-fossil_length" style="display:none;">{{#incat:Standalone fossils|N/A|{{{length|Unknown}}}}}</span><span id="api-fossil_price" style="display:none;">{{{price|Unknown}}}</span><span id="api-fossil_link" style="display:none;">{{fullurl:{{FULLPAGENAME}}}}</span><span id="api-fossil_updated" style="display:none;">{{REVISIONMONTH1}}/{{REVISIONDAY}}/{{REVISIONYEAR}}</span><span id="api-fossil_cached" style="display:none;">{{LOCALMONTH}}/{{LOCALDAY}}/{{LOCALYEAR}} {{LOCALTIME}}</span>
 
|}{{#ifeq:{{NAMESPACE}}||{{#if:{{{ja-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:Fossils with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:Fossils with missing other language information]]}} {{#if:{{{appearances|}}}| [[Category:Pages with an outdated infobox fossil template]]}}}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox templates]][[Category:Project Museum]]</noinclude>
 

Revision as of 01:25, March 4, 2021

Infobox Fossil
Nia.png
Scientific name
Unknown
Main appearances

Name in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown

Template documentation (view)


Usage

{{Infobox Fossil
|name               = 
|ja-name            = 
|ko-name            = 
|zh-name            = 
|fr-name            = 
|it-name            = 
|es-name            = 
|de-name            = 
|nl-name            = 
|ru-name            = 
|image              = 
|imagesize          = 
|scientific name    = 
|sections           = 
|period             = 
|length             = 
|price              = 
}}

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

  • scientific name is the scientific name of the fossil in Latin.
  • sections is the sections of the fossil (not relevant for some standalone fossils).
  • period is the period of the fossil (not relevant for some standalone fossils).
  • length is the length of the fossil (not relevant for some standalone fossils).
  • price is the sell price of the fossil or its sections.

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

Example

T. Rex
NH T. Rex Museum.jpg
Scientific name
Tyrannosaurus rex
Sections T. Rex Skull
T. Rex Tail
T. Rex Torso
Period(s) Late Cretaceous
Length 47.6 feet
Selling price Skull: 6,000 Bells
Tail: 5,000 Bells
Torso: 5,500 Bells
Main appearances

Name in other languages
 Tレックス
 暴龙
 Tyrannosaure
 Tiranosaurio
 Tirannosauro
 Тираннозавр
 티렉스
 暴龙
 Tyrannosaure
 Tiranosaurio
 Tyrannosaurus Rex
 Tyrannosaurus rex


{{Infobox Fossil
|name               = T. Rex
|ja-name            = Tレックス
|ko-name            = 티렉스
|zh-name            = 暴龙
|fr-name            = Tyrannosaure
|it-name            = Tirannosauro
|es-name            = Tiranosaurio
|de-name            = Tyrannosaurus Rex
|nl-name            = Tyrannosaurus rex
|ru-name            = Тираннозавр
|image              = NHMuseumTRex.jpg
|imagesize          = 200px
|scientific name    = Tyrannosaurus rex
|sections           = T. Rex Skull<br>T. Rex Tail<br>T. Rex Torso
|period             = Late Cretaceous
|length             = 47.6 feet
|price              = Skull: 6,000 [[Bells]]<br>Tail: 5,000 Bells<br>Torso: 5,500 Bells
}}