Difference between revisions of "Template:WWTools"

From Nookipedia, the Animal Crossing wiki
m (+HRA points)
m (Text replacement - "color-class" to "colorclass")
 
(9 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
|en_name = String
 
|en_name = String
 
|type = String
 
|type = String
 +
|catalog_num = Integer
 
|image = String
 
|image = String
 
|inv_icon = String
 
|inv_icon = String
Line 16: Line 17:
 
|availability_other_note = String
 
|availability_other_note = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{WWLang/CargoAttach}}{{#cargo_store:
+
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{WWLang/CargoAttach}}{{WWIdentifier/CargoAttach}}{{#cargo_store:
 
_table=ww_tool
 
_table=ww_tool
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}
+
|identifier = {{{identifier|}}}
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}}}}
+
|en_name = {{{name|}}}
 
|type = {{{type|}}}
 
|type = {{{type|}}}
 +
|catalog_num = {{{num|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|inv_icon = {{{inv-icon|}}}
 
|inv_icon = {{{inv-icon|}}}
Line 35: Line 37:
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
_table=ww_language_name
 
_table=ww_language_name
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}
+
|identifier = {{{identifier|}}}
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}}}}
+
|en_name = {{{name|}}}
 
|de_name = {{{de-name|}}}
 
|de_name = {{{de-name|}}}
 
|es_name = {{{es-name|}}}
 
|es_name = {{{es-name|}}}
Line 43: Line 45:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|ko_name = {{{ko-name|}}}
 
|ko_name = {{{ko-name|}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=ww_identifier
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|category = {{#switch: {{{type|}}} | Umbrella = Umbrella | Party popper | Roman candle | Sparkler = Handheld item | #default = Tool}}
 
}}}}</includeonly>{{Infobox 2.0
 
}}}}</includeonly>{{Infobox 2.0
 +
| colorclass      = color-series
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
  | title            = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}}}}
+
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
 
  | lefticon        = [[File:{{#switch: {{{type|}}}
 
  | lefticon        = [[File:{{#switch: {{{type|}}}
 
  | Umbrella = Umbrella WW Inv Icon.png{{!}}Type of umbrella
 
  | Umbrella = Umbrella WW Inv Icon.png{{!}}Type of umbrella
  | Party Popper = Party Popper WW Inv Icon.png{{!}}Type of handheld item
+
  | Party popper = Party Popper WW Inv Icon.png{{!}}Type of handheld item
  | Roman Candle
+
  | Roman candle
 
  | Sparkler = Roman Candle WW Inv Icon.png{{!}}Type of handheld item
 
  | Sparkler = Roman Candle WW Inv Icon.png{{!}}Type of handheld item
 
  | Axe = {{{inv-icon|}}}{{!}}Type of tool
 
  | Axe = {{{inv-icon|}}}{{!}}Type of tool
  | Fishing Rod = {{{inv-icon|}}}{{!}}Type of tool
+
  | Fishing rod = {{{inv-icon|}}}{{!}}Type of tool
 
  | Net = {{{inv-icon|}}}{{!}}Type of tool
 
  | Net = {{{inv-icon|}}}{{!}}Type of tool
 
  | Shovel = {{{inv-icon|}}}{{!}}Type of tool
 
  | Shovel = {{{inv-icon|}}}{{!}}Type of tool
 
  | Slingshot = {{{inv-icon|}}}{{!}}Type of tool
 
  | Slingshot = {{{inv-icon|}}}{{!}}Type of tool
  | Watering Can = {{{inv-icon|}}}{{!}}Type of tool
+
  | Watering can = {{{inv-icon|}}}{{!}}Type of tool
 
  | Timer = Timer WW Inv Icon.png{{!}}Type of tool}}|sub|class=sprite|link=]]
 
  | Timer = Timer WW Inv Icon.png{{!}}Type of tool}}|sub|class=sprite|link=]]
  | righticon        = &nbsp;
+
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''|&nbsp;}}
  
  | image            = [[File:{{{image|}}}|200px|{{{name|}}}]]
+
  | image            = [[File:{{{image|}}}|200px|class=sprite|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 
  | caption          =  
 
  | caption          =  
  
Line 81: Line 89:
  
 
  | widebottomlabel2 = In other games
 
  | widebottomlabel2 = In other games
  | widebottomdata2  = {{#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=}}
+
  | widebottomdata2  = {{#cargo_query:tables=pg_identifier|fields=CONCAT("[[Item:", pg_identifier.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_identifier.en_name, ")]]<br />")|where=pg_identifier.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=cf_identifier|fields=CONCAT("[[Item:", cf_identifier.en_name, " (City Folk)|''City Folk'' (", cf_identifier.en_name, ")]]<br />")|where=cf_identifier.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nl_identifier|fields=CONCAT("[[Item:", nl_identifier.en_name, " (New Leaf)|''New Leaf'' (", nl_identifier.en_name, ")]]<br />")|where=nl_identifier.identifier="{{{identifier|}}}"|delimiter=|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|}}}"|delimiter=|default=}}
  
 
  | languages        = Names
 
  | languages        = Names
Line 97: Line 105:
 
  | ru-name          = N/A
 
  | ru-name          = N/A
 
}}<includeonly>[[Category:Wild World {{#switch: {{ucfirst:{{{type|}}}}}
 
}}<includeonly>[[Category:Wild World {{#switch: {{ucfirst:{{{type|}}}}}
| Roman Candle
+
| Roman candle
 
| Sparkler
 
| Sparkler
| Party Popper = handheld items
+
| Party popper = handheld items
 
| Umbrella = umbrellas
 
| Umbrella = umbrellas
 
| Axe
 
| Axe
| Fishing Rod
+
| Fishing rod
 
| Net
 
| Net
 
| Shovel
 
| Shovel
 
| Slingshot
 
| Slingshot
| Watering Can
+
| Watering can
 
| Timer = tools
 
| Timer = tools
 
}}]]{{#if: {{{availability1|}}} | [[Category:Acquired from {{{availability1|}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{{availability2|}}}]]}}{{#if: {{{availability3|}}} | [[Category:Acquired from {{{availability3|}}}]]}}{{#if: {{{availability-other|}}} | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}</includeonly><noinclude>{{clear}}
 
}}]]{{#if: {{{availability1|}}} | [[Category:Acquired from {{{availability1|}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{{availability2|}}}]]}}{{#if: {{{availability3|}}} | [[Category:Acquired from {{{availability3|}}}]]}}{{#if: {{{availability-other|}}} | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}</includeonly><noinclude>{{clear}}

Latest revision as of 01:02, May 19, 2024

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

[[File:|200px|class=sprite|]]
Buy price Sell price
Not for sale Cannot be sold
Type [[]]
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 N/A
 N/A
 N/A

Notes



No documentation for Template:WWTools exists. Create it.