Difference between revisions of "Template:PCMaterial"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) m (PanchamBro moved page Template:Infobox PC material to Template:PCMaterial without leaving a redirect: Converting to standard infobox template used on other infoboxes and to be used for cargo) |
PanchamBro (talk | contribs) (revamping to utilize a cargo table and the latest infobox technology) |
||
Line 1: | Line 1: | ||
− | {| | + | <noinclude>{{#cargo_declare: |
− | | | + | _table=pc_material |
− | | | + | |identifier = String |
− | |- | + | |en_name = String |
− | | | + | |image = String |
− | | | + | |image_url = String |
− | + | |sell = Integer | |
− | | | + | |event = String |
− | |- | + | |availability = String |
− | + | |availability_note = String | |
− | | | + | |availability2 = String |
− | |} | + | |availability2_note = String |
− | + | |availability3 = String | |
− | {{ | + | |availability3_note = String |
− | |name | + | |availability4 = String |
− | | | + | |availability4_note = String |
− | | | + | |seasonal = Boolean |
− | | | + | |craftable = Boolean |
− | | | + | |version_added = String |
− | | | + | |notes = String |
− | }}</ | + | }}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Horizons|''New Horizons''}}}}}}{{#ifeq:{{NAMESPACE}}|Item|{{#cargo_store:_table=pc_material |
− | [[Category: | + | |identifier = {{{identifier|}}} |
+ | |en_name = {{{name|}}} | ||
+ | |image = {{{name|}}} PC Icon.png | ||
+ | |image_url = {{filepath:{{{name|}}} PC Icon.png}} | ||
+ | |sell = {{{sell|}}} | ||
+ | |event = {{{event|}}} | ||
+ | |availability = {{{availability|}}} | ||
+ | |availability_note = {{{availability-note|}}} | ||
+ | |availability2 = {{{availability2|}}} | ||
+ | |availability2_note = {{{availability2-note|}}} | ||
+ | |availability3 = {{{availability3|}}} | ||
+ | |availability3_note = {{{availability3-note|}}} | ||
+ | |availability4 = {{{availability4|}}} | ||
+ | |availability4_note = {{{availability4-note|}}} | ||
+ | |seasonal = {{#if:{{{seasonal|}}}| Yes | No}} | ||
+ | |craftable = {{#if:{{{craftable|}}}| Yes | No}} | ||
+ | |version_added = {{{version-added|}}} | ||
+ | }}|}}}}</includeonly>{{Infobox 2.0 | ||
+ | | primarycolor = 39 100 | ||
+ | | secondarycolor = 42 73 | ||
+ | | title = {{{name|}}} | ||
+ | | lefticon = [[File:Etc NH Category Icon.png{{!}}Type of material|sub|20px|link=]] | ||
+ | |||
+ | | image = {{#ifexist:File:{{{name|}}} PC Icon.png|[[File:{{{name|}}} PC Icon.png|128px|{{{name|}}}]]|[[File:Nia.png|128px|No image available|link=]]}} | ||
+ | |||
+ | | leftlabel = Buy price | ||
+ | | rightlabel = Sell price | ||
+ | | leftdata = Not for sale | ||
+ | | rightdata = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot sell}} | ||
+ | |||
+ | | label = Obtain via | ||
+ | | data = {{Availability|{{{availability|<includeonly>[[Category:Pocket Camp items without availability]]</includeonly>}}}|note={{{availability-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability4|}}}|{{Availability|{{{availability4|}}}|note={{{availability4-note|}}}}}}} | ||
+ | |||
+ | | label2 = Used in crafting | ||
+ | | data2 = {{{craftable|}}} | ||
+ | |||
+ | | label3 = Seasonal material | ||
+ | | data3 = {{{seasonal|}}} | ||
+ | |||
+ | | widebottomlabel2 = In other games | ||
+ | | widebottomdata2 = {{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_pg=1|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|default=}}{{#cargo_query:tables=nh_identifier|fields=CONCAT("[[Item:", nh_identifier.en_name, " (New Horizons)|''New Horizons'' (", nh_identifier.en_name, ")]]<br />")|where=nh_identifier.identifier="{{{identifier|}}}"|default=}} | ||
+ | |||
+ | | languages = Name | ||
+ | | ja-name = {{{ja-name|}}} | ||
+ | | ko-name = {{{ko-name|}}} | ||
+ | | zh-name = N/A | ||
+ | | zht-name = {{{zht-name|}}} | ||
+ | | fr-name = {{{fr-name||}}} | ||
+ | | frq-name = {{{frq-name|{{{fr-name||}}}}}} | ||
+ | | es-name = {{{es-name|}}} | ||
+ | | esl-name = {{{esl-name|{{{es-name|}}}}}} | ||
+ | | it-name = {{{it-name|}}} | ||
+ | | de-name = {{{de-name|}}} | ||
+ | | nl-name = N/A | ||
+ | | ru-name = N/A | ||
+ | | ja-note = {{#if:{{{ja-name-r|}}}|{{{ja-name-r|}}}|}} | ||
+ | | zh-note = {{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}} | ||
+ | | zht-note = {{#if:{{{zht-name-r|}}}|{{{zht-name-r|}}}|{{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}}}} | ||
+ | | ko-note = {{#if:{{{ko-name-r|}}}|{{{ko-name-r|}}}|}} | ||
+ | | ru-note = {{#if:{{{ru-name-r|}}}|{{{ru-name-r|}}}|}} | ||
+ | }}<includeonly> | ||
+ | {{#ifeq:{{NAMESPACE}}|Item|[[Category:Pocket Camp material]]{{#if: {{{availability1|}}} | [[Category:Acquired from {{#ifeq:{{{availability1|}}}|Crafting|crafting|{{{availability1|}}}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{#ifeq:{{{availability2|}}}|Crafting|crafting|{{{availability2|}}}}}]]}}[[Category:Pocket Camp items introduced in {{{version-added|}}}]]|}}</includeonly><noinclude> | ||
+ | {{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]] | ||
+ | </noinclude> |
Revision as of 21:01, August 7, 2021
This template defines the table "pc_material". View table.
| |||||||
Buy price | Sell price | ||||||
---|---|---|---|---|---|---|---|
Not for sale | Cannot sell | ||||||
Obtain via | |||||||
Name in other languages
Unknown
Unknown Unknown Unknown
N/A
Unknown Unknown N/A
Unknown Unknown Unknown N/A |
No documentation for Template:PCMaterial exists. Create it.