Difference between revisions of "Template:PGItems"

From Nookipedia, the Animal Crossing wiki
m
Line 100: Line 100:
 
| {{#ifeq: {{{availability-pg}}} | {{{availability-e-plus}}}
 
| {{#ifeq: {{{availability-pg}}} | {{{availability-e-plus}}}
 
| Obtain via:<br>(all versions)
 
| Obtain via:<br>(all versions)
| Obtain via:<br>({{DnM|shortest}}/{{DnM+|shortest}}/{{PG|shortest}})
+
| Obtain via:<br>({{DnM|shortest}}/{{DnM+|shortest}}/<br>{{PG|shortest}})
 
}}
 
}}
 
| {{#ifeq: {{{availability-plus}}} | {{{availability-e-plus}}}
 
| {{#ifeq: {{{availability-plus}}} | {{{availability-e-plus}}}
Line 132: Line 132:
 
{{#if: {{{availability-pg|}}}
 
{{#if: {{{availability-pg|}}}
 
| {{#switch: {{{availability-pg}}}
 
| {{#switch: {{{availability-pg}}}
| {{{availability-dnm}}}
+
| {{{availability-dnm}}} = {{#ifeq: {{{availability-pg}}} | {{{availability-plus}}} || Obtain via:<br>({{PG|shortest}})}}
 
| {{{availability-plus}}} =
 
| {{{availability-plus}}} =
 
| {{{availability-e-plus}}} = Obtain via:<br>({{PG|shortest}}/{{DnMe+|shortest}})
 
| {{{availability-e-plus}}} = Obtain via:<br>({{PG|shortest}}/{{DnMe+|shortest}})
Line 141: Line 141:
 
{{#if: {{{availability-pg|}}}
 
{{#if: {{{availability-pg|}}}
 
| {{#switch: {{{availability-pg}}}
 
| {{#switch: {{{availability-pg}}}
| {{{availability-dnm}}}
+
| {{{availability-dnm}}} = {{#ifeq: {{{availability-pg}}} | {{{availability-plus}}}||{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}}}
 
| {{{availability-plus}}} =
 
| {{{availability-plus}}} =
 
| {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}
 
| {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}

Revision as of 02:44, August 25, 2022

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

PGItems  
[[File:|256px|class=sprite|]]
Buy price Sell price
Not for sale Cannot be sold
Appearances
Names in other languages
 Unknown
 N/A
 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:PGItems exists. Create it.