Difference between revisions of "Template:WWItems"

From Nookipedia, the Animal Crossing wiki
m (Making inv icon optional)
(Adding CF to other games section)
 
(One intermediate revision by the same user not shown)
Line 73: Line 73:
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
 
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
 
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
  | lefticon        = {{#ifexist:File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} WW Inv Icon.png}}}|[[File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} WW Inv Icon.png}}}|Type of other item|sub|32px|link=]]|<span style="padding-left:{{{32px}}};"></span>}}
+
  | lefticon        = {{#ifexist:File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} WW Inv Icon.png}}}|[[File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} WW Inv Icon.png}}}|Type of other item|sub|class=sprite|link=]]|<span style="padding-left:{{{32px}}};"></span>}}
 
  | righticon        = &nbsp;
 
  | righticon        = &nbsp;
  
Line 103: Line 103:
  
 
  | widebottomlabel2 = In other games
 
  | widebottomlabel2 = In other games
  | widebottomdata2  = {{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|default=}}{{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_pg=1|default=}}{{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_item.en_name, ")]]<br />")|where=pg_item.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=}}
+
  | widebottomdata2  = {{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|default=}}{{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_pg=1|default=}}{{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|default=}}{{#cargo_query:tables=cf_item|fields=CONCAT("[[Item:", cf_item.en_name, " (City Folk)|''City Folk'' (", cf_item.en_name, ")]]<br />")|where=cf_item.identifier="{{{identifier|}}}"|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        = Names
 
  | languages        = Names

Latest revision as of 02:04, April 27, 2024

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

[[File:|128px|class=sprite|]]
Buy price Sell price
Not for sale Cannot be sold
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 N/A
 N/A
 N/A
Lua Logo.svg
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
  • Module:Items
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    Lua Logo.svg
    This template is using a Lua module
    To change certain features of this template, the following modules will need to be edited:
  • Module:Items
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

    No documentation for Template:WWItems exists. Create it.