Difference between revisions of "Template:Infobox Fossil"
From Nookipedia, the Animal Crossing wiki
(moving doc to separate page and added missing other language info cat) |
m |
||
Line 46: | Line 46: | ||
|- | |- | ||
|<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> | |<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 | + | |}{{#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 02:03, July 17, 2020
| ||||||||||||||
| ||||||||||||||
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
| ||||||||||||||
| ||||||||||||||
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 |
{{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 }}